Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 88763 invoked from network); 29 Jan 2004 06:18:28 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Jan 2004 06:18:28 -0000 Received: (qmail 71291 invoked by uid 500); 29 Jan 2004 06:17:54 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 71237 invoked by uid 500); 29 Jan 2004 06:17:53 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 71061 invoked from network); 29 Jan 2004 06:17:52 -0000 Received: from unknown (HELO calvin.slamb.org) (216.136.66.56) by daedalus.apache.org with SMTP; 29 Jan 2004 06:17:52 -0000 Received: by calvin.slamb.org (Postfix, from userid 103) id 8CAA2AC061; Thu, 29 Jan 2004 00:18:02 -0600 (CST) Received: from [192.168.0.4] (mainstreet-gw.xdsl.avalon.net [216.137.76.13]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by calvin.slamb.org (Postfix) with ESMTP id C4E26AC05E for ; Thu, 29 Jan 2004 00:18:01 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v609) In-Reply-To: <4002CF3E.70503@apache.org> References: <4002CF3E.70503@apache.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Scott Lamb Subject: Re: 2.0.48 worker mpm on RH3 NPTL results Date: Thu, 29 Jan 2004 00:17:58 -0600 To: dev@httpd.apache.org X-Mailer: Apple Mail (2.609) X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on calvin.slamb.org X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=no version=2.61 X-Spam-Level: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Jan 12, 2004, at 10:45 AM, gregames@apache.org wrote: > What did you use for ThreadsPerChild? The default? It's 25. The > reason I ask is I did some scalability measurements maybe a year ago > and saw a lot of CPU usage in linuxthreads with a high number (maybe > 1000) for ThreadsPerChild. It was in some pthread mutex unlock > function, doing a serial search for the highest priority thread to > wake up. This is pointless in our case because all the worker threads > are the same priority. I'm hoping that this problem is fixed in the > new pthread library, but haven't verified it. NPTL, for better or for worse, does not honor priorities. Quoting from : Realtime support is mostly missing from the library implementation. The system calls to select scheduling parameters are available but they have not effects. The reason for this is that large parts of the kernel do not follow the rules for realtime scheduling. Waking one of the threads waiting for a futex is not done by looking at the priorities of the waiters. Scott Lamb