From owner-freebsd-smp@FreeBSD.ORG Wed Feb 8 19:24:53 2006 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12C6F16A420 for ; Wed, 8 Feb 2006 19:24:53 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 966B943D45 for ; Wed, 8 Feb 2006 19:24:52 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so1158141wxc for ; Wed, 08 Feb 2006 11:24:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FUPT0IwOswwlrh+7m2Jaibw142oSdUT2nGdJSv5N8p96lyLu0eze3KlBplNedTU+ClEL75GT96VTsB6eMBwvg/4Embsd6yE+l8Hhh0Ej+Cp5Aknzv51joGFPfoVDuUiqde7dXqRK8YHEY041KrnsHIgd8LE2h53/cVogQ5rCCVE= Received: by 10.70.92.1 with SMTP id p1mr9498245wxb; Wed, 08 Feb 2006 11:24:51 -0800 (PST) Received: by 10.70.105.2 with HTTP; Wed, 8 Feb 2006 11:24:51 -0800 (PST) Message-ID: <84dead720602081124o651693ccy7920658a54d97e61@mail.gmail.com> Date: Thu, 9 Feb 2006 00:54:51 +0530 From: Joseph Koshy To: astatech@mail.ru In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <84dead720602070831g32e14257x16841f31e5b8527d@mail.gmail.com> Cc: freebsd-smp@freebsd.org Subject: Re: 6.0 Stable on 8 Core AMD Opteron scalability. (perf stat) X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 19:24:53 -0000 jk> which benchmark? a> jakarta jmeter with customly builded test plan for PHPBB No Java on my system :(. a> bge0: flags=3D8843 mtu 1500 ... a> media: Ethernet autoselect (none) a> status: no carrier It wasn't clear if you were running over a localhost-only benchmark. If not, did your network card manage to negotiate full-duplex mode? a> See below... a> PS: maybe httpd wait for log write? a> $ vmstat 2 99999 ... [vmstat output] a> 66 0 0 1375484 14423592 34484 0 0 0 31638 0 15 0 3503 259224 109744 53 21 26 Ok, no memory pressure, a large system-call rate and a large number of context switches per second. a> 8634 mysql 111 76 0 367M 122M RUN 7 0:52 0.00% mysqld This process looks suspicious. Please check if you are running MySQL with an appropriate configuration (my-huge.cnf?). http://wikitest.freebsd.org/moin.cgi/MySQL has more hints about tuning MySQL. Does changing sysctl kern.timecounter help? I would appreciate a hwpmc profile of your system under this load. Step 1 # kldload hwpmc 2 # pmcstat -S k8-bu-cpu-clk-unhalted -O /tmp/logfile [for less than a minute] 3 ^C [kill pmcstat] 4 # pmcstat -R /tmp/logfile -g 5 # [for each foo.gmon file generated, run gprof -l /path/to/unstripped/foo foo.gmon to get a flat profile] -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy