From owner-freebsd-stable@FreeBSD.ORG Mon May 9 16:57:42 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 4831416A4EA for ; Mon, 9 May 2005 16:57:42 +0000 (GMT) Received: from email-1.eurowings.com (email.eurowings.com [193.96.182.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 294F343DA0 for ; Mon, 9 May 2005 16:57:41 +0000 (GMT) (envelope-from h.kipp@eurowings.com) Received: from localhost (email-1 [127.0.0.1]) by email-1.eurowings.com (Postfix) with ESMTP id C04A768144; Mon, 9 May 2005 19:08:13 +0200 (CEST) Received: from email-1.eurowings.com ([127.0.0.1]) by localhost (email-1.eurowings.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26946-07; Mon, 9 May 2005 19:08:12 +0200 (CEST) Received: from EXCH4.eurowings.com (unknown [10.100.1.36]) by email-1.eurowings.com (Postfix) with ESMTP id 75B0868140; Mon, 9 May 2005 19:08:12 +0200 (CEST) Received: from EXCH5.eurowings.com ([10.100.1.37]) by EXCH4.eurowings.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 9 May 2005 18:57:24 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Mon, 9 May 2005 18:57:23 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Performance issue Thread-Index: AcVUsdvkT0Q3WbxZRIu+7Ub5fZQmygABFdNX From: "Kipp Holger" To: "Pete French" , , X-OriginalArrivalTime: 09 May 2005 16:57:24.0157 (UTC) FILETIME=[2C29A6D0:01C554B8] X-Virus-Scanned: amavisd-new at eurowings.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 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 16:57:42 -0000 Same test on a 5.3-STABLE from 31.01.2005: 81,90 real 77,05 user 3,51 sys 22908 maximum resident set size 620 average shared memory size 20083 average unshared data size 128 average unshared stack size 5379 page reclaims 26 page faults 0 swaps 36 block input operations 0 block output operations 0 messages sent 0 messages received 0 signals received 62 voluntary context switches 10623 involuntary context switches This is a on a slow dual-processor system: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (732.98-MHz 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x683 Stepping =3D 3 = Features=3D0x387fbff real memory =3D 2281635840 (2175 MB) avail memory =3D 2232012800 (2128 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 (if this is of any help). Scheduler is 4BSD. Regards, Holger Kipp -----Original Message----- From: owner-freebsd-stable@freebsd.org on behalf of Pete French Sent: Mon 09.05.2005 18:10 To: ewan@mathcode.net; freebsd-stable@freebsd.org Subject: Re: Performance issue =20 > Whereas, the typical result for the new rig looked more like > > 105.36 real 71.10 user 33.41 sys ... > 10548 involuntary context switches Now I just ran this test myself. This machine is a 2.4 gig P4 with hyperthreading enabled. Much as I am an AMD fan, I would expect a 1gig Athlon to be significantly slower than a 2.4 gig Pentium 4.=20 but: 93.45 real 56.55 user 36.85 sys 1857 involuntary context switches Uhhh... so it takes almost the same time to do the calculation, but = spends actually *more* of it in system space. Does far less context switches = though, but I am assuming thats due to HTT. Numbers look very odd to me. So I then ran it on another P4 system we = have round here which is still running 4.11. This is a 2.66 gig P4, not a 2.4 so it should be a bit faster, but: 33.77 real 33.49 user 0.07 sys 711 involuntary context switches Over two and a half times faster ?! Thats not right at all! All the new systems I have tried are 5.4-RC4, so should be the latest and greatest. When my colleague finishes on his machine I can try a GENERIC 5.4-RC4 kernel on another P4 and see what that gives. -pcf. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org"