lkml.org 
[lkml]   [2008]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: Server process stalled during massive thread creation : scheduler problem ?
Date
From


Christopher Snook wrote:

> I would conclude that the application is severely broken, not the
server
> itself. The scheduler is trying to be fair. Unless you're assigning
> priorities, it has no way of knowing that those 1000 CPU hog processes
are
> less important than your netcat process. Once those processes have
shown
> to be much longer-running than netcat, the kernel realizes that giving
> netcat priority is the the best approximation to ideal
> shortest-time-to-completion-first scheduling, so netcat gets to run
> whenever it's able.

> I think the scheduler is working correctly. If you still see this
> behavior when you give your netcat process higher scheduler priority,
then
> we can talk about bugs.

Hi Chris, thanks for answering my question. I repeated the test, giving
the 'netcat' server a much higher priority than the load generators, and
indeed, the stalling disappeared.


************************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
************************************************


\
 
 \ /
  Last update: 2008-09-16 11:31    [W:0.060 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site