From: Chase Venters <chase.venters@clientec.com>
To: Ask List <askthelist@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Runnable threads on run queue
Date: Sat, 8 Jul 2006 16:18:18 -0500 [thread overview]
Message-ID: <200607081618.42093.chase.venters@clientec.com> (raw)
In-Reply-To: <loom.20060708T220409-206@post.gmane.org>
On Saturday 08 July 2006 15:18, Ask List wrote:
> Have an issue maybe someone on this list can help with.
>
> At times of very high load the number of processes on the run queue drops
> to 0 then jumps really high and then drops to 0 and back and forth. It
> seems to last 10 seconds or so. If you look at this vmstat you can see an
> example of what I mean. Now im not a linux kernel expert but i am thinking
> it has something to do with the scheduling algorithm and locking of the run
> queue. For this particular application I need all available threads to be
> processed as fast as possible. Is there a way for me to elimnate this
> behavior or at least minimize the window in which there are no threads on
> the run queue? Is there a sysctl parameter I can use?
If there's a runnable task on the system, the run queue should never empty
except inside schedule(). The scheduler should then swap expired and active.
First question - what kernel are you running? Is it stock?
Second question - what's the application? Are you sure your threads just
aren't falling into interruptible sleep due to an app bug of some sort? Are
you observing misbehavior in the application (long pauses) or just in the
reporting?
Thanks,
Chase
next prev parent reply other threads:[~2006-07-08 21:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-08 20:18 Runnable threads on run queue Ask List
2006-07-08 21:18 ` Chase Venters [this message]
2006-07-08 22:54 ` Ask List
2006-07-08 22:19 ` Dr. David Alan Gilbert
2006-07-08 23:08 ` Ask List
2006-07-09 7:20 ` Mike Galbraith
2006-07-09 23:38 ` Horst von Brand
2006-07-12 4:14 ` Ask List
2006-07-12 5:40 ` Mike Galbraith
2006-07-13 19:05 ` Ask List
2006-07-09 8:33 ` Rik van Riel
2006-07-12 3:55 ` Ask List
[not found] <fa.CQngdtRN/1xSBi2RLvhjLxBm1bE@ifi.uio.no>
2006-07-09 16:11 ` Robert Hancock
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=200607081618.42093.chase.venters@clientec.com \
--to=chase.venters@clientec.com \
--cc=askthelist@gmail.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