freebsd vs linux: performance problem
Erich Dollansky
oceanare at pacific.net.sg
Thu Dec 13 19:33:07 PST 2007
Hi,
Shantanu Ghosh wrote:
> --- Erich Dollansky <oceanare at pacific.net.sg> wrote:
>
>> Don't you call memcpy?
>
> Well, I first did - then I wrote a function to do the same, just to
> make sure that the code executed is exactly the same in both the cases.
> The difference was there both when using memcpy, and when using the
> replacement function.
Do you have Linux compatibility installed on the FreeBSD machine?
You should then be able to run the Linux binary to see what happens then.
I have had once the problem of a task moving from CPU to CPU and s
performing badly on FreeBSD.
I am not informed how this is handled currently.
I also assume that this example is a single-threaded program which
should perform just fine on single CPU machine.
One other thing, can you just boot up with one CPU and one core to see
what happens then?
Erich
More information about the freebsd-performance
mailing list