From: Daniel Rodrick <daniel.rodrick@gmail.com>
To: Chris Friesen <cfriesen@nortel.com>
Cc: Linux Newbie <linux-newbie@vger.kernel.org>,
Kernel Newbies <kernelnewbies@nl.linux.org>,
linux-kernel@vger.kernel.org
Subject: Re: Questions about linux scheduler
Date: Fri, 30 Oct 2009 15:50:15 +0530 [thread overview]
Message-ID: <292693080910300320q1857cc70s73eb524c34af8233@mail.gmail.com> (raw)
In-Reply-To: <4AE9F3D2.8030502@nortel.com>
Hi,
>
>> * A lower priority process will run only if there are no runnable
>> processes in priority above it - this automatically means that all RT
>> processes get to run before non-RT processes.
>
> True for RT, not true for non-RT. In the current scheduler the non-RT
> tasks are stored in a time-ordered structure rather than the 40
> runqueues that were used before. A non-RT task will run once it becomes
> the most "urgent" task based on its nice level, how much cpu time it
> uses, and how long it's been since it ran last relative to other tasks
> on the system.
One last question ... the nice value of a process never changes
(unless done explicitly using nice system call), right?
Thanks,
Dan
next prev parent reply other threads:[~2009-10-30 10:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-29 15:08 Daniel Rodrick
2009-10-29 19:58 ` Chris Friesen
2009-10-30 10:20 ` Daniel Rodrick [this message]
2009-10-30 15:55 ` Mulyadi Santosa
2009-10-29 20:05 ` Jonathan Corbet
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=292693080910300320q1857cc70s73eb524c34af8233@mail.gmail.com \
--to=daniel.rodrick@gmail.com \
--cc=cfriesen@nortel.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-newbie@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
all inboxes | Powered by JetHome®