Date: Thu, 13 Dec 2007 04:07:50 -0800 (PST) From: Shantanu Ghosh <shantanu_ghosh@yahoo.com> To: freebsd-performance@freebsd.org Subject: freebsd vs linux: performance problem Message-ID: <963530.77689.qm@web54505.mail.re2.yahoo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?963530.77689.qm>