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 09:26:50 -0600
Cc: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, Stephen Hemminger <shemminger@xxxxxxxx>
In-reply-to: <16860.19615.251360.169722@xxxxxxxxxxxx>
Organization: Berbee Information Networks
References: <200501031455.26980.jeremy.guthrie@xxxxxxxxxx> <200501051325.40616.jeremy.guthrie@xxxxxxxxxx> <16860.19615.251360.169722@xxxxxxxxxxxx>
Reply-to: jeremy.guthrie@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.7.2
On Wednesday 05 January 2005 02:22 pm, Robert Olsson wrote:
> Jeremy M. Guthrie writes:
>  > After smp_affinity adjustments and turning off IRQ balancing.
>  >
>  > eth3      Link encap:Ethernet  HWaddr 00:02:B3:D5:7E:30
>  >
>  >           RX packets:537271635 errors:2377048 dropped:2377048
>  > overruns:1849169
>
>  Worse?
>
>  Yes. I'll remember Hararld moved rt_cache_stat /proc/net/stats/ and wrote
> a new utility for it. Should be in iproute2 package.  Stephen knows the
> details. Otherwise change path in rtstat. You need this to relate and
> verify the load.
I still don't see the rt_cache_stat file even under 2.4.28 stock.  See below.

>  Check throughtput and how packet load is used with 2.4.
> /proc/net/softnet_stat and rtstat. Also meditate how the comparison can be
> fair wrt taffic patterns. Do smame with 2.6.
wc -l /proc/net/rt_cache
Segmentation fault
cat /proc/net/rt_cache > /tmp/rt_cache ; wc -l /tmp/rt_cache
cat: write error: Bad address
57664 /tmp/rt_cache

ls -la /proc/net/
total 0
dr-xr-xr-x   6 root root 0 Jan  6 09:22 .
dr-xr-xr-x  55 root root 0 Jan  5 15:23 ..
-r--r--r--   1 root root 0 Jan  6 09:22 arp
dr-xr-xr-x   2 root root 0 Jan  6 09:22 atm
-r--r--r--   1 root root 0 Jan  6 09:22 dev
-r--r--r--   1 root root 0 Jan  6 09:22 dev_mcast
dr-xr-xr-x   2 root root 0 Jan  6 09:22 drivers
-r--r--r--   1 root root 0 Jan  6 09:22 igmp
-r--r--r--   1 root root 0 Jan  6 09:22 ip_mr_cache
-r--r--r--   1 root root 0 Jan  6 09:22 ip_mr_vif
-r--r--r--   1 root root 0 Jan  6 09:22 ip_queue
-r--r--r--   1 root root 0 Jan  6 09:22 ip_tables_matches
-r--r--r--   1 root root 0 Jan  6 09:22 ip_tables_names
-r--r--r--   1 root root 0 Jan  6 09:22 ip_tables_targets
-r--r--r--   1 root root 0 Jan  6 09:22 mcfilter
-r--r--r--   1 root root 0 Jan  6 09:22 netlink
-r--r--r--   1 root root 0 Jan  6 09:22 netstat
-r--r--r--   1 root root 0 Jan  6 09:22 pnp
-r--r--r--   1 root root 0 Jan  6 09:22 psched
-r--r--r--   1 root root 0 Jan  6 09:22 raw
-r--r--r--   1 root root 0 Jan  6 09:22 route
dr-xr-xr-x   2 root root 0 Jan  6 09:22 rpc
-r--r--r--   1 root root 0 Jan  6 09:22 rt_acct
-r--r--r--   1 root root 0 Jan  6 09:22 rt_cache
-r--r--r--   1 root root 0 Jan  6 09:22 snmp
-r--r--r--   1 root root 0 Jan  6 09:22 sockstat
-r--r--r--   1 root root 0 Jan  6 09:22 softnet_stat
dr-xr-xr-x   2 root root 0 Jan  6 09:22 stat
-r--r--r--   1 root root 0 Jan  6 09:22 tcp
-r--r--r--   1 root root 0 Jan  6 09:22 udp
-r--r--r--   1 root root 0 Jan  6 09:22 unix
-r--r--r--   1 root root 0 Jan  6 09:22 wireless
ls -la /proc/net/stat/
total 0
dr-xr-xr-x  2 root root 0 Jan  6 09:22 .
dr-xr-xr-x  6 root root 0 Jan  6 09:22 ..
-r--r--r--  1 root root 0 Jan  6 09:22 arp_cache
-r--r--r--  1 root root 0 Jan  6 09:22 clip_arp_cache
-r--r--r--  1 root root 0 Jan  6 09:22 rt_cache
cat /proc/net/softnet_stat
96deb140 0032844e 00012bbb 00000fd8 00000000 00000000 00000000 00000000 
00000dd4
00013dda 00000000 00000000 00000000 00000000 00000000 00000000 00000000 
0000041f
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
 28:       2718       8097   IO-APIC-level  aic7xxx
 30:          0          0   IO-APIC-level  acpi
NMI:          0          0
LOC:    6487240    6487239
ERR:          0
MIS:          0


-- 

--------------------------------------------------
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: pgpzu91WjoeS5.pgp
Description: PGP signature

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