netdev
[Top] [All Lists]

Re: RFC: NAPI packet weighting patch

To: Martin Josefsson <gandalf@xxxxxxxxxxxxxx>
Subject: Re: RFC: NAPI packet weighting patch
From: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>
Date: Tue, 7 Jun 2005 18:34:21 +0200
Cc: jamal <hadi@xxxxxxxxxx>, Stephen Hemminger <shemminger@xxxxxxxx>, Mitch Williams <mitch.a.williams@xxxxxxxxx>, "Ronciak, John" <john.ronciak@xxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, mchan@xxxxxxxxxxxx, buytenh@xxxxxxxxxxxxxx, jdmason@xxxxxxxxxx, netdev@xxxxxxxxxxx, Robert.Olsson@xxxxxxxxxxx, "Venkatesan, Ganesh" <ganesh.venkatesan@xxxxxxxxx>, "Brandeburg, Jesse" <jesse.brandeburg@xxxxxxxxx>
In-reply-to: <Pine.LNX.4.58.0506071432570.16594@xxxxxxxxxxxxxx>
References: <468F3FDA28AA87429AD807992E22D07E0450C00B@orsmsx408> <Pine.CYG.4.58.0506061647340.128@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <42A5284C.3060808@xxxxxxxx> <1118147904.6320.108.camel@xxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.58.0506071351080.16594@xxxxxxxxxxxxxx> <1118150948.6320.152.camel@xxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.58.0506071432570.16594@xxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Martin Josefsson writes:

 > > So it is possible that the e1000 is doing more than necessary share of
 > > IO on the receive side as well.
 > 
 > Yes, that's what I mean. Same thing but for RX but the question is how
 > much we would gain from it, we still need to touch the rx-descriptor
 > sooner or later. Would be worth a test.
 > My testsetup isn't in a working condition right now, Robert?

 Next week possibly... but really now idea what's to test or whats going on.

 We have dual TCP server with one NIC. How is setup now? I don't know even
 how it should be setup for maximum TCP performance? 

 How is irq affinity setup?  Is irq's jumping between the CPU:s etc?
 Does ksoftirq(s) use CPU?   If so it can be adjusted tuned too.
 How is packets processes by CPU's. /proc/net/softnet_stat. Do we see 
 drops w. one CPU too etc
 It might be intricate question of balance between softirq and userland.

 Cheers.
                                                --ro

 BTW, Can netperf be used for tests like this? (Rick?)
 
 

<Prev in Thread] Current Thread [Next in Thread>