public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Mielke <mark@mark.mielke.cc>
To: Stephen Anthony <stephena@cs.mun.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Re: What's the timeslice size for kernel 2.6.0-test2, IA32?
Date: Fri, 1 Aug 2003 14:34:50 -0400	[thread overview]
Message-ID: <20030801183450.GC20001@mark.mielke.cc> (raw)
In-Reply-To: <200308011404.46886.stephena@cs.mun.ca>

On Fri, Aug 01, 2003 at 02:04:46PM -0230, Stephen Anthony wrote:
> It would be great if sleeps were 1ms accurate instead of 10ms.  It would 
> make synchronization code a lot easier.

Doesn't this depend on what HZ you define for the kernel?

If you want 1ms sleep, just set HZ to 1000HZ+, and give your process a
high priority?

mark

-- 
mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | Neighbourhood Coder
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | 
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada

  One ring to rule them all, one ring to find them, one ring to bring them all
                       and in the darkness bind them...

                           http://mark.mielke.cc/


  reply	other threads:[~2003-08-01 18:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-01 16:34 Re: What's the timeslice size for kernel 2.6.0-test2, IA32? Stephen Anthony
2003-08-01 18:34 ` Mark Mielke [this message]
2003-08-01 19:29   ` Ben Greear
2003-08-02  9:25     ` george anzinger

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=20030801183450.GC20001@mark.mielke.cc \
    --to=mark@mark.mielke.cc \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stephena@cs.mun.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