[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100321.203744.43021126.davem@davemloft.net>
Date: Sun, 21 Mar 2010 20:37:44 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: robert@...julf.net
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] pktgen node allocation
From: robert@...julf.net
Date: Fri, 19 Mar 2010 14:35:22 +0100
>
> 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.
I think it's a useful feature and by default the netdev alloc
is still used, so... applied to net-next-2.6
--
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