public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjanv@redhat.com>
To: Ben Greear <greearb@candelatech.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: select returning slow on RH 2.4.18-14 (RH 8.0) kernel.
Date: 13 Feb 2003 12:39:00 +0100	[thread overview]
Message-ID: <1045136340.2313.1.camel@laptop.fenrus.com> (raw)
In-Reply-To: <3E4B60A1.2060209@candelatech.com>

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

On Thu, 2003-02-13 at 10:08, Ben Greear wrote:
> I've been doing some testing with RH 8.0 on an Ezra 800Mhz
> machine.
> 
> Even when lightly loaded select() often returns 3-9 miliseconds slower
> than the timeout would suggest.  I know select is not guaranteed to
> return with < 10ms accuracy, but with almost no load, shouldn't it
> at least return with 1ms accuracy on average?
no
the kernel.org kernels will return in multiple-of-10ms quantities due to
HZ having the value of 100.
2.4.18-14 (which is btw obsoleted by several security errata) has a HZ
value of 512 so will return in shorter quantities, EXCEPT when you
always try to wait exactly 10ms of course....

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-02-13 11:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-13  9:08 select returning slow on RH 2.4.18-14 (RH 8.0) kernel Ben Greear
2003-02-13 11:39 ` Arjan van de Ven [this message]
2003-02-13 21:27   ` Ben Greear

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=1045136340.2313.1.camel@laptop.fenrus.com \
    --to=arjanv@redhat.com \
    --cc=greearb@candelatech.com \
    --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