From owner-freebsd-performance@FreeBSD.ORG Thu Dec 13 12:34:33 2007 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 C3DC116A417 for ; Thu, 13 Dec 2007 12:34:33 +0000 (UTC) (envelope-from shantanu_ghosh@yahoo.com) Received: from web54505.mail.re2.yahoo.com (web54505.mail.re2.yahoo.com [206.190.49.155]) by mx1.freebsd.org (Postfix) with SMTP id 567BF13C44B for ; Thu, 13 Dec 2007 12:34:33 +0000 (UTC) (envelope-from shantanu_ghosh@yahoo.com) Received: (qmail 78488 invoked by uid 60001); 13 Dec 2007 12:07:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Tlo5u60hqVVf5q8WnLGFN2vrKndRyirnncPqAjBa0jgjVGbuvpwl9cnDCy6lpqkj7SgQFUuk0rrK35aZAvfyGe0VA93lEtOH2HeTT757BKoT4C90BsGtQyN/RTRyaNPttIyzgaVKRA1cH9a0Cm3Hvgv8/HHhmSbFtjS2orBqfok=; X-YMail-OSG: ritwFiIVM1nCzwJSCOExbep_K129GAHvLC6.6H6uAldPAP3vlfuwaGolykuduvdfbbgnVsXC7BbXhok5FbwU6N1ACxVPMWotfkIQhzuAP4w_go8PEt4- Received: from [203.145.181.122] by web54505.mail.re2.yahoo.com via HTTP; Thu, 13 Dec 2007 04:07:50 PST Date: Thu, 13 Dec 2007 04:07:50 -0800 (PST) From: Shantanu Ghosh To: freebsd-performance@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <963530.77689.qm@web54505.mail.re2.yahoo.com> Subject: freebsd vs linux: performance problem 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: Thu, 13 Dec 2007 12:34:33 -0000 Hi, I am running FreeBSD 7.0 Beta1 and Linux FC6 on two identical pieces of hardware - Dell poweredge with intel core2 duo. Each system has 4 CPUs. Now, in simple memory access operations, I see the freebsd system being noticably slower than the linux system. A simple C program that copies from one memory buffer to another, when executed in a loop executes between 10-30% slower on freebsd, as compared to linux. The assembly code of the program used for testing is identical in both the cases. One observation is that freebsd system performance decreases as the size of the buffer increases. If the buffer is under 1k, both the sytems give the same performance. freebsd performance is about 10% slower if the buffer size is around 4k, and about 30% slower if the buffer is around 1Mb. A benchmark like sysbench memory read operation performs miserably on the freebsd system, compared to linux. As far as I can see, the BIOS settings are identical on both the machines. Any idea what could be going on? Thanks and regards. -- Shantanu. ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs