From: Ben Greear <greearb@candelatech.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: kernel thread scheduling question
Date: Mon, 29 Mar 2004 20:13:27 -0800 [thread overview]
Message-ID: <4068F3E7.9060005@candelatech.com> (raw)
I have a kernel thread that I would like to have run at least
every 1-2 miliseconds.
I think I would be happy if there were a way to have the
process yield/schedule() at least once per ms with the
understanding that it would get to wake again 1-2ms later.
Is there a way to do such a thing without hacking up the
scheduler code?
I have tried 2.6.4 with pre-empt, and setting the thread priority
to -18, but I still see cases where the process is starved for 20+
milliseconds every 3-5 seconds or so. Other than this single
process, there is not a big load on the system.
Any suggestions are welcome.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next reply other threads:[~2004-03-30 4:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 4:13 Ben Greear [this message]
2004-03-30 5:17 ` kernel thread scheduling question Nick Piggin
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=4068F3E7.9060005@candelatech.com \
--to=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