From owner-freebsd-arch@FreeBSD.ORG Thu Nov 23 15:57:31 2006 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66D3416A4AB for ; Thu, 23 Nov 2006 15:57:31 +0000 (UTC) (envelope-from freebsd-arch@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2867343D6A for ; Thu, 23 Nov 2006 15:56:54 +0000 (GMT) (envelope-from freebsd-arch@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GnGx2-00052F-Q8 for freebsd-arch@freebsd.org; Thu, 23 Nov 2006 16:57:25 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Nov 2006 16:57:24 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Nov 2006 16:57:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-arch@freebsd.org From: Ivan Voras Date: Thu, 23 Nov 2006 16:56:55 +0100 Lines: 18 Message-ID: References: <20061119041421.I16763@delplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.4 (X11/20060625) In-Reply-To: Sender: news Subject: Re: What is the PREEMPTION option good for? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2006 15:57:31 -0000 Ivan Voras wrote: > Bruce Evans wrote: > >> Most of the difference is caused by pgzero becoming too active with >> PREEMPTION. > > Don't know about the other things but I've noticed pagezero is > suspiciously active on heavy loaded SMP web servers (even complained on > @stable a long time ago). I'll try disabling PREEMPTION and see how it goes. Ok, I couldn't run extensive tests because people were waiting to use the machine, so this should be considered anecdotal evidence. On a simple benchmark that repeatedly (for 1 minute) and concurrently (target=50 concurrent requests) hits a dynamic web page on a development machine (2 proc true SMP), the performance goes up from ~85 requests/sec. to ~105 requests/s by disabling PREEMPTION. This improvement looks suspiciously high to me, but I don't think I'll be going back :) pagezero is now not noticable in 'top' output.