Re: Generic rx-recycling and emergency skb pool

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sebastian Andrzej Siewior
Date: Thursday, August 26, 2010 - 10:31 am

* Eric Dumazet | 2010-07-03 08:23:25 [+0200]:

Eric,

True. gianfar uses multiqueue howver in its napi poll one CPU grabs a
locks and inspects every queue one by one.

Well, we could add rx recycling per queue if you prefer it that way.


The memory for the skbs is comming from slab. slab's latency is getting
quite high on memory pressure. Therefore I try to avoid talking to slab
while I'm allocating a new skb. So I created a pool of pre-allocated.


And where are you allocating the memory from? Remember, SLAB could be
slow :)

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Generic rx-recycling and emergency skb pool, Sebastian Andrzej Si ..., (Fri Jul 2, 12:20 pm)
[PATCH 2/8] net/gianfar: use generic recycling infrasstructure, Sebastian Andrzej Si ..., (Fri Jul 2, 12:20 pm)
[PATCH 4/8] net/stmmac: use generic recycling infrastructure, Sebastian Andrzej Si ..., (Fri Jul 2, 12:20 pm)
[PATCH 5/8] net/ucc_geth: use generic recycling infrastructure, Sebastian Andrzej Si ..., (Fri Jul 2, 12:20 pm)
[PATCH 6/8] net: implement emergency pools, Sebastian Andrzej Si ..., (Fri Jul 2, 12:20 pm)
[PATCH 7/8] net/emergency_skb: create a deep copy on clone, Sebastian Andrzej Si ..., (Fri Jul 2, 12:20 pm)
[PATCH 8/8] net/emergency: remove locking from reycling po ..., Sebastian Andrzej Si ..., (Fri Jul 2, 12:20 pm)
Re: Generic rx-recycling and emergency skb pool, Eric Dumazet, (Fri Jul 2, 11:23 pm)
Re: Generic rx-recycling and emergency skb pool, David Miller, (Fri Jul 2, 11:46 pm)
Re: Generic rx-recycling and emergency skb pool, Eric Dumazet, (Sat Jul 3, 12:31 am)
Re: Generic rx-recycling and emergency skb pool, Sebastian Andrzej Si ..., (Thu Aug 26, 10:31 am)