From: "Jeremy M. Guthrie" <jeremy.guthrie@berbee.com>
To: netdev@oss.sgi.com
Cc: Robert Olsson <Robert.Olsson@data.slu.se>,
Stephen Hemminger <shemminger@osdl.org>,
Jesse Brandeburg <jesse.brandeburg@intel.com>
Subject: Re: V2.4 policy router operates faster/better than V2.6
Date: Wed, 12 Jan 2005 14:45:48 -0600 [thread overview]
Message-ID: <200501121445.51780.jeremy.guthrie@berbee.com> (raw)
In-Reply-To: <16869.34519.31321.977100@robur.slu.se>
[-- Attachment #1: Type: text/plain, Size: 5110 bytes --]
My throughput dropped from 500 mbps to 8mbps. 8(
On Wednesday 12 January 2005 02:21 pm, Robert Olsson wrote:
> Jeremy M. Guthrie writes:
> > Latest numbers after your patch Robert.
>
> Did the RX interrupts go down?
>
> --ro
>
> > Wed Jan 12 14:05:36 CST 2005
> > eth3 Link encap:Ethernet HWaddr 00:02:B3:D5:7E:30
> > inet addr:10.253.0.1 Bcast:10.255.255.255 Mask:255.255.255.0
> > inet6 addr: fe80::202:b3ff:fed5:7e30/64 Scope:Link
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:21951496 errors:2412189 dropped:2412189
> > overruns:377090 frame:0
> > TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:3455362966 (3295.2 Mb) TX bytes:398 (398.0 b)
> > Base address:0x22a0 Memory:eff80000-effa0000
> >
> > 95b83157 150dc67c 00c734a1 000d2659 00000000 00000000 00000000 00000000
> > 0073cee4
> > 00044494 00000000 00000075 00000000 00000000 00000000 00000000 00000000
> > 00097c77
> > entries in_hit in_slow_tot in_no_route in_brd in_martian_dst
> > in_martian_src out_hit out_slow_tot out_slow_mc gc_total gc_ignored
> > gc_goal_miss gc_dst_overflow in_hlist_search out_hlist_search
> > 0000f8cd 41403122 34c30e49 00000000 00000000 0000b0dd 00006a38 00000002
> > 0027279d 0004147b 00000000 2f528a5f 2f42efcf 0000104f 00000000 81d262df
> > 00c5d75c
> > 0000f8cd 0000e332 0003238f 00000000 00000000 00004263 00000000 00000000
> > 0000001e 000000c0 00000002 00004650 00004626 00000000 00000000 0016b879
> > 0000024c
> >
> >
> >
> >
> >
> > Wed Jan 12 14:06:36 CST 2005
> > eth3 Link encap:Ethernet HWaddr 00:02:B3:D5:7E:30
> > inet addr:10.253.0.1 Bcast:10.255.255.255 Mask:255.255.255.0
> > inet6 addr: fe80::202:b3ff:fed5:7e30/64 Scope:Link
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:28053281 errors:2899869 dropped:2899869
> > overruns:427243 frame:0
> > TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:2607094069 (2486.3 Mb) TX bytes:398 (398.0 b)
> > Base address:0x22a0 Memory:eff80000-effa0000
> >
> > 96154d20 150dc67c 00c78bc2 000d2659 00000000 00000000 00000000 00000000
> > 0073d31d
> > 00044499 00000000 00000075 00000000 00000000 00000000 00000000 00000000
> > 00097d2d
> > entries in_hit in_slow_tot in_no_route in_brd in_martian_dst
> > in_martian_src out_hit out_slow_tot out_slow_mc gc_total gc_ignored
> > gc_goal_miss gc_dst_overflow in_hlist_search out_hlist_search
> > 0000fc6a 419ad196 34c586ba 00000000 00000000 0000b0e0 00006a40 00000002
> > 002729c5 000414cb 00000000 2f5502ff 2f4567f7 0000104f 00000000 83790467
> > 00c5e33c
> > 0000fc6a 0000e333 00032393 00000000 00000000 00004263 00000000 00000000
> > 0000001e 000000c0 00000002 00004650 00004626 00000000 00000000 0016b898
> > 0000024c
> >
> > On Wednesday 12 January 2005 01:27 pm, Robert Olsson wrote:
> > > Jeremy M. Guthrie writes:
> > > > > > ETH3 Interrupts(calc'd from below): 1479968
> > > > >
> > > > > Very strange...
> > > > >
> > > > > eth3 is bound to CPU0 which in turn has all packet load... If we
> > > > > were to believe your CPU0 was saturated (due to the drops). We
> > > > > should see no (RX) interrupts on eth3. But there is a lot... one
> > > > > irq per every three packet. Why?
> > > >
> > > > I have no idea why it would be doing this.
> > >
> > > Huh seems you didn't add the patch I sent. Below is diff from my
> > > editor to your e1000_main.c
> > >
> > > --ro
> > >
> > >
> > > --- e1000_main.c.jmg 2005-01-12 20:14:08.324168072 +0100
> > > +++ e1000_main.c 2005-01-12 20:17:24.777302656 +0100
> > > @@ -2264,14 +2264,13 @@
> > > netdev->quota -= work_done;
> > >
> > > /* if no Rx and Tx cleanup work was done, exit the polling mode */
> > > - if(!tx_cleaned || (work_done < work_to_do) ||
> > > - !netif_running(netdev)) {
> > > + if( (!tx_cleaned && (work_done == 0)) || !netif_running(netdev)) {
> > > quit_polling: netif_rx_complete(netdev);
> > > e1000_irq_enable(adapter);
> > > return 0;
> > > }
> > >
> > > - return (work_done >= work_to_do);
> > > + return 1;
> > > }
> > >
> > > #endif
> >
> > --
> >
> > --------------------------------------------------
> > Jeremy M. Guthrie jeremy.guthrie@berbee.com
> > Senior Network Engineer Phone: 608-298-1061
> > Berbee Fax: 608-288-3007
> > 5520 Research Park Drive NOC: 608-298-1102
> > Madison, WI 53711
--
--------------------------------------------------
Jeremy M. Guthrie jeremy.guthrie@berbee.com
Senior Network Engineer Phone: 608-298-1061
Berbee Fax: 608-288-3007
5520 Research Park Drive NOC: 608-298-1102
Madison, WI 53711
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-01-12 20:45 UTC|newest]
Thread overview: 88+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-03 20:55 V2.4 policy router operates faster/better than V2.6 Jeremy M. Guthrie
2005-01-03 22:51 ` Stephen Hemminger
2005-01-03 22:56 ` Jeremy M. Guthrie
2005-01-05 13:18 ` Robert Olsson
2005-01-05 15:18 ` Jeremy M. Guthrie
2005-01-05 16:30 ` Robert Olsson
2005-01-05 17:35 ` Jeremy M. Guthrie
2005-01-05 19:25 ` Jeremy M. Guthrie
2005-01-05 20:22 ` Robert Olsson
2005-01-05 20:52 ` Jeremy M. Guthrie
2005-01-06 15:26 ` Jeremy M. Guthrie
2005-01-06 18:15 ` Robert Olsson
2005-01-06 19:35 ` Jeremy M. Guthrie
2005-01-06 20:29 ` Robert Olsson
2005-01-06 20:54 ` Jeremy M. Guthrie
2005-01-06 20:55 ` Jeremy M. Guthrie
2005-01-06 21:19 ` Jeremy M. Guthrie
2005-01-06 21:36 ` Robert Olsson
2005-01-06 21:46 ` Jeremy M. Guthrie
2005-01-06 22:11 ` Robert Olsson
2005-01-06 22:18 ` Jeremy M. Guthrie
2005-01-06 22:35 ` Robert Olsson
2005-01-07 16:17 ` Jeremy M. Guthrie
2005-01-07 19:18 ` Robert Olsson
2005-01-07 19:38 ` Jeremy M. Guthrie
2005-01-07 20:07 ` Robert Olsson
2005-01-07 20:14 ` Jeremy M. Guthrie
2005-01-07 20:40 ` Robert Olsson
2005-01-07 21:06 ` Jeremy M. Guthrie
2005-01-07 21:30 ` Robert Olsson
2005-01-11 15:11 ` Jeremy M. Guthrie
2005-01-07 22:28 ` Jesse Brandeburg
2005-01-07 22:50 ` Jeremy M. Guthrie
2005-01-07 22:57 ` Stephen Hemminger
2005-01-11 15:17 ` Jeremy M. Guthrie
2005-01-11 16:40 ` Robert Olsson
2005-01-12 1:27 ` Jeremy M. Guthrie
2005-01-12 15:11 ` Robert Olsson
2005-01-12 16:24 ` Jeremy M. Guthrie
2005-01-12 19:27 ` Robert Olsson
2005-01-12 20:11 ` Jeremy M. Guthrie
2005-01-12 20:21 ` Robert Olsson
2005-01-12 20:30 ` Jeremy M. Guthrie
2005-01-12 20:45 ` Jeremy M. Guthrie [this message]
2005-01-12 22:02 ` Robert Olsson
2005-01-12 22:21 ` Jeremy M. Guthrie
[not found] ` <16869.42247.126428.508479@robur.slu.se>
2005-01-12 22:42 ` Jeremy M. Guthrie
2005-01-12 22:47 ` Jeremy M. Guthrie
2005-01-12 23:19 ` Robert Olsson
2005-01-12 23:23 ` Jeremy M. Guthrie
2005-01-13 8:56 ` Robert Olsson
2005-01-13 19:28 ` Jeremy M. Guthrie
2005-01-13 20:00 ` David S. Miller
2005-01-13 20:43 ` Jeremy M. Guthrie
2005-01-13 23:13 ` David S. Miller
2005-01-13 21:12 ` Robert Olsson
2005-01-13 22:27 ` Jeremy M. Guthrie
2005-01-14 15:44 ` Robert Olsson
2005-01-14 14:59 ` Jeremy M. Guthrie
2005-01-14 16:05 ` Robert Olsson
2005-01-14 19:00 ` Jeremy M. Guthrie
2005-01-14 19:26 ` Jeremy M. Guthrie
2005-01-16 12:32 ` Robert Olsson
2005-01-16 16:22 ` Jeremy M. Guthrie
2005-01-19 15:03 ` Jeremy M. Guthrie
2005-01-19 22:18 ` Robert Olsson
2005-01-20 1:50 ` Jeremy M. Guthrie
2005-01-20 11:30 ` Robert Olsson
2005-01-20 14:37 ` Jeremy M. Guthrie
2005-01-20 17:01 ` Robert Olsson
2005-01-20 17:14 ` Jeremy M. Guthrie
2005-01-20 21:53 ` Robert Olsson
2005-01-21 21:20 ` Jeremy M. Guthrie
2005-01-21 15:23 ` Robert Olsson
2005-01-21 21:24 ` Jeremy M. Guthrie
2005-01-31 15:37 ` Jeremy M. Guthrie
2005-01-31 18:06 ` Robert Olsson
2005-01-12 22:05 ` Jeremy M. Guthrie
2005-01-12 22:22 ` Robert Olsson
2005-01-12 22:30 ` Jeremy M. Guthrie
2005-01-11 17:17 ` Jeremy M. Guthrie
2005-01-11 18:46 ` Robert Olsson
2005-01-12 1:30 ` Jeremy M. Guthrie
2005-01-12 16:02 ` Robert Olsson
2005-01-04 15:07 ` Jeremy M. Guthrie
[not found] <200501071619.54566.jeremy.guthrie@berbee.com>
2005-01-07 23:23 ` Jesse Brandeburg
2005-01-10 21:11 ` Jeremy M. Guthrie
[not found] <C925F8B43D79CC49ACD0601FB68FF50C02D39006@orsmsx408>
2005-01-13 22:55 ` Jeremy M. Guthrie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200501121445.51780.jeremy.guthrie@berbee.com \
--to=jeremy.guthrie@berbee.com \
--cc=Robert.Olsson@data.slu.se \
--cc=jesse.brandeburg@intel.com \
--cc=netdev@oss.sgi.com \
--cc=shemminger@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).