From owner-freebsd-stable@FreeBSD.ORG Mon May 9 18:26:39 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF11516A4EA for ; Mon, 9 May 2005 18:26:39 +0000 (GMT) Received: from smtp102.rog.mail.re2.yahoo.com (smtp102.rog.mail.re2.yahoo.com [206.190.36.80]) by mx1.FreeBSD.org (Postfix) with SMTP id 32BF843D6A for ; Mon, 9 May 2005 18:26:39 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from unknown (HELO 172.16.0.1) (mikej@69.193.222.195 with login) by smtp102.rog.mail.re2.yahoo.com with SMTP; 9 May 2005 18:26:38 -0000 Received: from 172.16.0.199 (SquirrelMail authenticated user mikej) by 172.16.0.1 with HTTP; Mon, 9 May 2005 14:26:37 -0400 (EDT) Message-ID: <1059.172.16.0.199.1115663197.squirrel@172.16.0.1> In-Reply-To: <427F9890.7010104@samsco.org> References: <20050509150018.GF281@mathcode.net> <427F8076.7030105@samsco.org> <20050509170316.GG281@mathcode.net> <427F9890.7010104@samsco.org> Date: Mon, 9 May 2005 14:26:37 -0400 (EDT) From: "Mike Jakubik" To: "Scott Long" User-Agent: SquirrelMail/1.5.1 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: Ewan Todd cc: freebsd-stable Subject: Re: Performance issue X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 18:26:40 -0000 On Mon, May 9, 2005 1:06 pm, Scott Long said: > 5.3 ships with SMP turned on, which makes lock operations rather > expensive on single-processor machines. 4.x does not have SMP turned on by > default. Would you be able to re-run your test with SMP turned off? This is what i get on my system, which has debugging and smp off in the kernel. FreeBSD 6.0-CURRENT #0: Tue May 3 23:55:43 EDT 2005 root@fbsd.wettoast.net:/usr/obj/usr/src/sys/DP Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) Processor (1410.21-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x644 Stepping = 4 Features=0x183f9ff AMD Features=0xc0440000 --- 76.89 real 49.33 user 22.87 sys 23116 maximum resident set size 686 average shared memory size 20795 average unshared data size 127 average unshared stack size 5380 page reclaims 0 page faults 0 swaps 0 block input operations 0 block output operations 0 messages sent 0 messages received 0 signals received 1 voluntary context switches 10018 involuntary context switches --- As we can see, it is still spending a lot of time in system, and there are a lot of context switches being done.