[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19363.32154.39665.185451@gargle.gargle.HOWL>
Date: Fri, 19 Mar 2010 14:35:22 +0100
From: robert@...julf.net
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Robert Olsson <robert@...julf.net>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH] pktgen node allocation
Eric Dumazet writes:
> Le vendredi 19 mars 2010 à 09:44 +0100, Robert Olsson a écrit :
>
> I cannot understand how this can help.
>
> __netdev_alloc_skb() is supposed to already take into account NUMA
> properties :
>
> int node = dev->dev.parent ? dev_to_node(dev->dev.parent) : -1;
>
> If this doesnt work, we should correct core stack, not only pktgen :)
>
> Are you allocating memory in the node where pktgen CPU is running or the
> node close to the NIC ?
I didn't say it should help the idea was to give some hooks to
experiment and see effects with different node memory allocations.
There are many degrees of freedom wrt buses(device)/CPU/menory.
Cheers
--ro
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists