netdev
[Top] [All Lists]

Re: V2.4 policy router operates faster/better than V2.6

To: netdev@xxxxxxxxxxx
Subject: Re: V2.4 policy router operates faster/better than V2.6
From: "Jeremy M. Guthrie" <jeremy.guthrie@xxxxxxxxxx>
Date: Thu, 6 Jan 2005 13:35:52 -0600
Cc: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, Stephen Hemminger <shemminger@xxxxxxxx>
In-reply-to: <16861.32852.11187.131058@xxxxxxxxxxxx>
Organization: Berbee Information Networks
References: <200501031455.26980.jeremy.guthrie@xxxxxxxxxx> <200501060926.54588.jeremy.guthrie@xxxxxxxxxx> <16861.32852.11187.131058@xxxxxxxxxxxx>
Reply-to: jeremy.guthrie@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.7.2
On Thursday 06 January 2005 12:15 pm, Robert Olsson wrote:
> Jeremy M. Guthrie writes:
>  > I still don't see the rt_cache_stat file even under 2.4.28 stock.  See
>  > below.
>  >
>  > ls -la /proc/net/stat/
>  > total 0
>  > -r--r--r--  1 root root 0 Jan  6 09:22 rt_cache
>
>  rtstat is replaced by lnstat which is in iproute2 package:
>  http://developer.osdl.org/dev/iproute2/download/
>
>  (Old version 
> ftp://robur.slu.se/pub/Linux/net-development/rt_cache_stat/rtstat.c)
Please see the attachment.

>  > cat /proc/net/softnet_stat
>  > 96deb140 0032844e 00012bbb 00000fd8 00000000 00000000 00000000 00000000
>  > 00000dd4
>  > 00013dda 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>  > 0000041f
>
>  You only use CPU0 for packet processing. Also it seems you use  the
> non-NAPI version of e1000.
The E1000 driver is the stock driver in 2.4.28.

>
>  > cat /proc/interrupts
>  >            CPU0       CPU1
>  >   0:     821852    5664906    IO-APIC-edge  timer
>  >   1:        484       1247    IO-APIC-edge  keyboard
>  >   8:          0          2    IO-APIC-edge  rtc
>  >  14:          5         16    IO-APIC-edge  ide0
>  >  18: 1928608529       1374   IO-APIC-level  eth3
>  >  20:          1  226113098   IO-APIC-level  eth2
>  >  27:       7950      34312   IO-APIC-level  eth0
>
>  Traffic is flowing from eth3->eth2 Why all the interrupts on eth2/CPU1?
>  Is traffic most unidirectional?
eth2 is TX only.  We don't receive anything on it.  This system should only 
ever RX on eth3 and TX on eth2 as part of its function.  Eth0 is the 
management interface on the host.

-- 

--------------------------------------------------
Jeremy M. Guthrie        jeremy.guthrie@xxxxxxxxxx
Senior Network Engineer        Phone: 608-298-1061
Berbee                           Fax: 608-288-3007
5520 Research Park Drive         NOC: 608-298-1102
Madison, WI 53711

Attachment: results-2.4.28.txt
Description: Text document

Attachment: pgpWimTnXy6el.pgp
Description: PGP signature

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