netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jeremy M. Guthrie" <jeremy.guthrie@berbee.com>
To: netdev@oss.sgi.com
Cc: "Brandeburg, Jesse" <jesse.brandeburg@intel.com>,
	"Robert Olsson" <Robert.Olsson@data.slu.se>
Subject: Re: V2.4 policy router operates faster/better than V2.6
Date: Thu, 13 Jan 2005 16:55:52 -0600	[thread overview]
Message-ID: <200501131655.55407.jeremy.guthrie@berbee.com> (raw)
In-Reply-To: <C925F8B43D79CC49ACD0601FB68FF50C02D39006@orsmsx408>

[-- Attachment #1: Type: text/plain, Size: 5387 bytes --]

Thu Jan 13 16:50:06 CST 2005 entries:  0000cc39  Packets:  1127110  Errors:  
264136  PPS:  75140  Percentage:  23.43%
Thu Jan 13 16:50:22 CST 2005 entries:  000142c0  Packets:  1148930  Errors:  
743  PPS:  76595  Percentage:  0.6%
Thu Jan 13 16:50:37 CST 2005 entries:  0001aa91  Packets:  1158591  Errors:  
116  PPS:  77239  Percentage:  0.1%
Thu Jan 13 16:50:52 CST 2005 entries:  00021146  Packets:  1192241  Errors:  
11648  PPS:  79482  Percentage:  0.97%
Thu Jan 13 16:51:07 CST 2005 entries:  00025c42  Packets:  1227489  Errors:  
1056  PPS:  81832  Percentage:  0.8%
Thu Jan 13 16:51:22 CST 2005 entries:  00029ca0  Packets:  1217954  Errors:  
365  PPS:  81196  Percentage:  0.2%


ethtool -S eth3
NIC statistics:
     rx_packets: 8778549
     tx_packets: 5
     rx_bytes: 327267728
     tx_bytes: 398
     rx_errors: 575319
     tx_errors: 0
     rx_dropped: 360028
     tx_dropped: 0
     multicast: 0
     collisions: 0
     rx_length_errors: 0
     rx_over_errors: 0
     rx_crc_errors: 0
     rx_frame_errors: 0
     rx_fifo_errors: 215291
     rx_missed_errors: 215291
     tx_aborted_errors: 0
     tx_carrier_errors: 0
     tx_fifo_errors: 0
     tx_heartbeat_errors: 0
     tx_window_errors: 0
     tx_abort_late_coll: 0
     tx_deferred_ok: 0
     tx_single_coll_ok: 0
     tx_multi_coll_ok: 0
     rx_long_length_errors: 0
     rx_short_length_errors: 0
     rx_align_errors: 0
     tx_tcp_seg_good: 0
     tx_tcp_seg_failed: 0
     rx_flow_control_xon: 0
     rx_flow_control_xoff: 0
     tx_flow_control_xon: 0
     tx_flow_control_xoff: 0
     rx_long_byte_count: 4622235024
     rx_csum_offload_good: 8285347
     int_tx_desc: 5
     int_tx_queueempty: 6
     int_link_state: 1
     int_rx_frame_err: 0
     int_rx_desc_min_thresh: 1330
     int_rx_fifo_ovr: 47
     int_rx_timer: 1768171
     int_mdio: 0
     int_rxcfg: 1
     int_gpio_pins: 0
     rx_csum_offload_errors: 698


On Wednesday 12 January 2005 06:49 pm, Brandeburg, Jesse wrote:
> I didn't send this to netdev.... if the interrupt counting code does
> something good then we can publish it.
>
> Jeremy, I would agree a faster CPU is going to help you handle more
> traffic.  I can't speak to the routing thing.  Your test would be very
> interesting if we could set up something similar here, unfortunately
> we're mostly interested in network device performance and not so much on
> kernel policy routing.  I personally would be interested in having
> something set up to "play" with the driver on, but it may be doubtful
> how much time I would get to spend on it.
>
> Anyway, here is a driver that counts interrupt sources, you can get the
> counts from
> ethtool -S eth3
>
> you'll need to compile it like so:
> make CFLAGS_EXTRA=-DE1000_COUNT_ICR
>
> any messages in /var/log/messages from the network stack?  (I just saw
> your netdev email about dst cache overflow) This driver has what we
> think should be the correct napi code in e1000_clean.  If robert's fix
> works better for you then stick with it, and let me know cause what I'm
> sending you now is what we're going forward with unless we hear about
> problems.
>
> If you want to chat over an instant messenger of some kind here is my
> info:
> Aim: jbrandeb
> msn: go_jesse@hotmail.com
> yahoo: go_jesse
>
> I appreciate your patience as we try different stuff.  I know I'm poking
> at the driver a lot, but the high interrupt counts seem a little weird
> given the load of your system.
>
> jesse
>
> -----Original Message-----
> From: Jeremy M. Guthrie [mailto:jeremy.guthrie@berbee.com]
> Sent: Wednesday, January 12, 2005 2:31 PM
> To: netdev@oss.sgi.com
> Cc: Robert Olsson; Stephen Hemminger; Brandeburg, Jesse
> Subject: Re: V2.4 policy router operates faster/better than V2.6
>
> On Wednesday 12 January 2005 04:22 pm, Robert Olsson wrote:
> > Jeremy M. Guthrie writes:
> >  > I am now getting some push back from the project manager on this
> >  > performance problem.  I am wondering if you think faster CPUs will
> >  > a)  help relieve the symptoms of this problem
> >  > b)  not help because now we will hit a '# of routes in the
>
> route-cache'
>
> >  > problem
> >  > c)  or will help to a point till the # interrupts come back and
>
> bite us.
>
> >  Back out the patch I sent.and have hardirq's to run RX-softirq as you
> >  did before but something is very wrong. You didn't answer if there
>
> were
>
> >  other load on the machine...
>
> I have backed out.  As for the load, this box only does policy routing.
> Any
> other functions it performs are part of its automated system to download
> the
> next days policy-routing config.
>
> >  route-cache can probably be tuned you as have four times the linear
>
> seach
>
> >  I see in one PIII system at 110 kpps w. production traffic.
>
> How would I go about tuning that?
>
> >  Of course the non-engineering solution is to buy more CPU... :-)
>
> That is good to know.  This will help me calm the situation a bit.  8)

-- 

--------------------------------------------------
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 --]

       reply	other threads:[~2005-01-13 22:55 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <C925F8B43D79CC49ACD0601FB68FF50C02D39006@orsmsx408>
2005-01-13 22:55 ` Jeremy M. Guthrie [this message]
     [not found] <200501071619.54566.jeremy.guthrie@berbee.com>
2005-01-07 23:23 ` V2.4 policy router operates faster/better than V2.6 Jesse Brandeburg
2005-01-10 21:11   ` Jeremy M. Guthrie
2005-01-03 20:55 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
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

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=200501131655.55407.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 \
    /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).