From owner-freebsd-performance@FreeBSD.ORG Tue Jan 1 21:11:50 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 230C716A418; Tue, 1 Jan 2008 21:11:50 +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 95A5213C43E; Tue, 1 Jan 2008 21:11:46 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <477AAC90.4050305@FreeBSD.org> Date: Tue, 01 Jan 2008 22:11:44 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Ivan Voras References: <20071230134354.GA63555@harmless.hu> <4777A65C.8020406@FreeBSD.org> <20071230141118.GA67574@harmless.hu> <4777AB9C.1010003@FreeBSD.org> <4779BBE8.2050608@FreeBSD.org> <20080101122249.GA81405@harmless.hu> <477A32EA.4070500@FreeBSD.org> <477A4BF1.3050709@FreeBSD.org> <20080101142116.GA94325@harmless.hu> <477A4E28.3010003@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org 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: Tue, 01 Jan 2008 21:11:50 -0000 Ivan Voras wrote: > Kris Kennaway wrote: > >> That's why it's important to dig into the details of what the benchmark >> is actually doing before you conclude that "the numbers are higher for >> linux, therefore it has faster syscalls". > > Can you propose a simpler syscall on the GENERIC kernel that could be > used instead of getpid()? Unixbench is easily patched so the theory I > put out can be easily checked. > > So it is using getpid? It should be fine on FreeBSD with the previous provisos, but you also need to check Linux behaviour and compare on identical hardware before you can draw conclusions. Kris