Re: freebsd vs linux: performance problem



On Dec 13, 2007 4:07 AM, Shantanu Ghosh <shantanu_ghosh@xxxxxxxxx> wrote:
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?


Are you running with ULE or 4BSD? Have you checked that the BIOS cache
settings are identical?

-Kip
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: freebsd vs linux: performance problem
    ... I assume that means 2 CPUs with two cores each, ... noticably slower than the linux system. ... between 10-30% slower on freebsd, ... size of the buffer increases. ...
    (freebsd-performance)
  • Re: FreeBSD 4.x Opteron Question
    ... the FreeBSD developers told everyone that 5.3 was da ... initially over linux not because there's a bunch of good guys on the ... My tests measure kernel performance; ... > a networking device is a key performance indicator. ...
    (freebsd-questions)
  • Re: freebsd vs linux: performance problem
    ... I am running FreeBSD 7.0 Beta1 and Linux FC6 on two identical ... I assume that means 2 CPUs with two cores each, ... If the buffer is under 1k, ...
    (freebsd-performance)
  • Re: Newbie Experience
    ... I've only been around since FreeBSD 5.4 ... FreeBSD kernel too. ... always sunshine and linux is farts. ... in the hey day of AT&T Unix I'm ...
    (freebsd-questions)
  • Re: Review of FreeBSD 5.4
    ... but not less problems compared to FreeBSD. ... If you like to have a bleeding edge system using debian --- just go ... > the linux kernel suffers. ... When the kernel suffers, everyone who uses ...
    (comp.unix.bsd.freebsd.misc)