[<prev] [next>] [day] [month] [year] [list]
Message-ID: <531F9EE7AD1E874595D59997FD3EAEED043D7947@COSSMGMBX05.EMAIL.CORP.TLD>
Date: Tue, 16 Sep 2008 03:27:48 -0600
From: "Cornelius, Martin (DWBI)" <Martin.Cornelius@...ths-heimann.com>
To: <linux-kernel@...r.kernel.org>
Subject: RE: Server process stalled during massive thread creation : scheduler problem ?
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.
************************************************
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists