From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 19:03:08 2008 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E3A91065679 for ; Mon, 30 Jun 2008 19:03:08 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 673D18FC0C; Mon, 30 Jun 2008 19:03:07 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48692DE7.3020502@FreeBSD.org> Date: Mon, 30 Jun 2008 21:03:03 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Michel Talon References: <20080630165205.GA3033@lpthe.jussieu.fr> <48691D7C.2090804@FreeBSD.org> <20080630181755.GA3327@lpthe.jussieu.fr> In-Reply-To: <20080630181755.GA3327@lpthe.jussieu.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@FreeBSD.org Subject: Re: Too Much Context Switching? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2008 19:03:08 -0000 Michel Talon wrote: > On Mon, Jun 30, 2008 at 07:53:00PM +0200, Kris Kennaway wrote: >> Yep, it could be that -- what confuses me though is that it is claimed >> that performance suddenly regressed. If so then this cannot be the >> underlying cause. > > It may be that the load has augmented to the point that contention > imposes a rapid regression on throughput. Yes, it could be that. I don't know off-hand whether multiple threads are counted separately by vmstat (at a guess I'd say no), but ps/top/etc should show how many are active in the python process. Kris