From owner-freebsd-performance@FreeBSD.ORG Wed Jan 2 11:00:05 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD3FE16A4A9; Wed, 2 Jan 2008 11:00:05 +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 02CD713C448; Wed, 2 Jan 2008 11:00:03 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <477B6EB3.50202@FreeBSD.org> Date: Wed, 02 Jan 2008 12:00:03 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: josh.carroll@gmail.com References: <20071201205609.GA54238@harmless.hu> <20071204130810.GA77186@harmless.hu> <47779AA7.2060801@FreeBSD.org> <20071230132451.GA61295@harmless.hu> <47779EBC.5020900@FreeBSD.org> <20071230134354.GA63555@harmless.hu> <4777A65C.8020406@FreeBSD.org> <20071230141118.GA67574@harmless.hu> <4777AB9C.1010003@FreeBSD.org> <8cb6106e0801012008q18830aebp906ebfeb3c519e5a@mail.gmail.com> In-Reply-To: <8cb6106e0801012008q18830aebp906ebfeb3c519e5a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org, Ivan Voras Subject: Re: mysql scaling questions X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 11:00:05 -0000 Josh Carroll wrote: >> Does anyone have a theory why syscalls are so expensive in FreeBSD? Here >> are the results of unixbench 4.1 on two machines. First is the machine >> running FreeBSD HEAD (debugging disabled) on a dual-core Athlon 64 (i386 >> mode), 2 GHz: > > I ran the syscall benchmark from UnixBench on the same hardware (Intel > Q6600 @ 3.2 GHz) for both FreeBSD 7.0-RC1 (amd64) and Knoppix 5.1 > (Linux 2.6.9 PREEMPT kernel, i386). > > Per the comments in this thread, i386 syscalls should be less > expensive than amd64 syscalls, so the results are interesting: > > FreeBSD 7.0-RC1 (amd64): System Call Overhead > 15000.0 1103233.7 735.5 > Knoppix Linux 2.6.9 (i686): System Call Overhead > 15000.0 1108869.7 739.2 > > I can try to find a Linux live CD with a 2.6.x x86-64 kernel for a > valid apples-to-apples comparison, but thought these results might > provide some parity/insight. > > Doesn't look like the syscalls are slower at all on FreeBSD. > > Josh > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" > > Per later discussion you will also need to either comment out the syscalls that are (might be) being cached by glibc to artificially inflate its reported rate, or verify that it is not doing so. Kris