The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Andrew R. Reiter" <arr@watson.org>
To: Chris Friesen <cfriesen@nortelnetworks.com>
Cc: Davide Libenzi <davidel@xmailserver.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: question on incoming packets and scheduler
Date: Wed, 15 Oct 2003 16:27:35 -0400 (EDT)	[thread overview]
Message-ID: <20031015162634.D56545@fledge.watson.org> (raw)
In-Reply-To: <3F8DAA6B.7060609@nortelnetworks.com>

On Wed, 15 Oct 2003, Chris Friesen wrote:

:Davide Libenzi wrote:
:> On Wed, 15 Oct 2003, Chris Friesen wrote:
:
:>>It appears that 2.4.20 fixes this issue, but there is another one
:>>remaining that the latency appears to be dependent on the number of
:>>incoming packets.  See thread "incoming packet latency in 2.4.[18-20]"
:>>for details.  This behaviour doesn't show up in 2.6, and I'm about to
:>>test 2.4.22.
:
:> Are you sure it's not a livelock issue during the burst?
:
:I dunno, you tell me.
:
:The test app simply sits in select() until a packet comes in, then it
:spins on recvmsg() until there are no more messages.  It uses
:SO_TIMESTAMP to find out when the packet got to the kernel, and does a
:gettimeofday() right after the recvmsg(), then calculates the delta for
:each packet and the overall average.
:
:With 2.4.[18-20], the overall average goes up when the number of packets
:goes up.  For 2.6.0-test6, it stays constant.

I would be interested in seeing the test be run with epoll too :)  I
ealize .18 doesn't support this, but how about it for .20?  If not,
perhaps you could shoot over the code and I could test?

Cheers,
Andrew

--
Andrew R. Reiter
arr@watson.org
arr@FreeBSD.org

  reply	other threads:[~2003-10-15 20:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-15  1:39 question on incoming packets and scheduler Chris Friesen
2003-10-15  3:42 ` Chris Friesen
2003-10-15 17:39 ` Davide Libenzi
2003-10-15 18:17   ` Chris Friesen
2003-10-15 18:35     ` Davide Libenzi
2003-10-15 20:13       ` Chris Friesen
2003-10-15 20:27         ` Andrew R. Reiter [this message]
2003-10-15 20:53         ` Chris Friesen

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=20031015162634.D56545@fledge.watson.org \
    --to=arr@watson.org \
    --cc=cfriesen@nortelnetworks.com \
    --cc=davidel@xmailserver.org \
    --cc=linux-kernel@vger.kernel.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