Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2007 19:41:49 -0800
From:      "Kip Macy" <kip.macy@gmail.com>
To:        "Shantanu Ghosh" <shantanu_ghosh@yahoo.com>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: freebsd vs linux: performance problem
Message-ID:  <b1fa29170712131941k7d87f1ccqfaf5f342a99a5ff5@mail.gmail.com>
In-Reply-To: <963530.77689.qm@web54505.mail.re2.yahoo.com>
References:  <963530.77689.qm@web54505.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 13, 2007 4:07 AM, Shantanu Ghosh <shantanu_ghosh@yahoo.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1fa29170712131941k7d87f1ccqfaf5f342a99a5ff5>