* jamal <1108996313.1090.178.camel@xxxxxxxxxxxxxxxx> 2005-02-21 09:31
> I have done the experiments and even posted the patches on netdev last
> year to batch on enqueue.
Right, I slightly remember. I have a head like a sieve. Can you
remmeber the subject of the post? I can't find it in the archive.
> Despite Andis assertion that theres value in amortizing the locks, the
> benefits are highly missing on a generic level unfortunately.
> Locking overhead is like the 50th item on things you have to worry about
> - so i wouldnt even start worrying about this.
> Infact performance goes down when you batch in some cases depending on
> the hardware used. My investigation shows that if you have a fast CPU
> and a fast bus, theres always only one packet in flight within the
> stack. Batching by definition requires more than one packet.
Make sense but we probably have multiple packets in the stack if qdiscs are
involved. What bottlenecks remain in that case? One is probably
transmission not being able to keep up because receiving is using too much
resources The transmitter dropping packets making the bottleneck
even worse. Can we reduce the dropping by pushing multiple skbs to the nic
by for example have dequeue return a batch of skbs?