Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2007 11:32:51 +0800
From:      Erich Dollansky <oceanare@pacific.net.sg>
To:        Shantanu Ghosh <shantanu_ghosh@yahoo.com>
Cc:        freebsd-performance@freebsd.org, Nash Nipples <trashy_bumper@yahoo.com>
Subject:   Re: freebsd vs linux: performance problem
Message-ID:  <4761F963.5040505@pacific.net.sg>
In-Reply-To: <150023.72900.qm@web54501.mail.re2.yahoo.com>
References:  <150023.72900.qm@web54501.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Shantanu Ghosh wrote:
> --- Erich Dollansky <oceanare@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



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