From: Rick Jones <rick.jones2@hp.com>
To: Robin Humble <rjh@cita.utoronto.ca>
Cc: netdev@vger.kernel.org
Subject: Re: [RFC] e1000 performance patch
Date: Thu, 27 Apr 2006 09:07:36 -0700 [thread overview]
Message-ID: <4450EC48.5060304@hp.com> (raw)
In-Reply-To: <20060427024326.GA6318@lemming.cita.utoronto.ca>
>
> but clearly I should be using netperf to get more accurate cpu numbers
> and a more convincing aggregate table :-)
Well, I'll not stop you :)
>
>
>>It is a bit rough/messy as a writeup, but here is what I've seen wrt the
>>latency vs throughput tradeoffs:
>>ftp://ftp.cup.hp.com/dist/networking/briefs/nic_latency_vs_tput.txt
>
>
> from a quick read it looks like just the case with 32kB messages,
> multiple simultaneous clients, and driver set to unlimited ITR sees
> reduced throughput. is that right?
>
> if so, then I'm not surprised.
There should be three basic measures there - one is the single-instance
request-response test. The idea is to see minimum latency. That test
likes to see the interrupt throttle rate made very high, or disabled
completely.
The aggregate TCP_RR's and the TCP_STREAM tests are there to show what
effect that has on the ability to do aggregate request/response and a
bulk transfer.
> but overall I'm actually more worried about a mix of small and large
> messages than multiple clients.
>
> a large/small mix might well occur in 'the real world' and it'll be 2s
> until the watchdog routine can adapt the ITR. potentially that 2s will
> be at 200k ITR which is too high for large messages, and up to 2s of
> cpu will be burnt needlessly.
>
> can netperf (or some other tool) mix up big and small message sizes
> like 'the real world' perhaps does?
> that might help me find a good frequency at which to try to adapt the
> ITR... (eg. 1, 10, 100 or 1000 times a second)
There is the "vst" (variable size test IIRC) in netperf4:
http://www.netperf.org/svn/netperf4/branches/glib_migration
The docs for netperf4 are presently pathetic. Feel free to email me for
bootstrapping information. Basically, you'll need pkg-config, libxml2
and glib-2.0 on the system.
>
> cheers,
> robin
next prev parent reply other threads:[~2006-04-27 16:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-26 22:13 [RFC] e1000 performance patch Robin Humble
2006-04-26 22:26 ` Rick Jones
2006-04-27 2:43 ` Robin Humble
2006-04-27 16:07 ` Rick Jones [this message]
2006-04-27 20:49 ` Robin Humble
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=4450EC48.5060304@hp.com \
--to=rick.jones2@hp.com \
--cc=netdev@vger.kernel.org \
--cc=rjh@cita.utoronto.ca \
/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).