Re: freebsd vs linux: performance problem



Hi,

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

  • threading choice on single/multiple CPU
    ... The book I am refering is manning's '.net multithreading' ... target CPU. ... >on single CPU machine compared to a multi-CPU one.The ... >single or a multiple CPU machine. ...
    (microsoft.public.dotnet.languages.csharp)
  • threading choice on single/multiple CPU
    ... that multithread programs might get differential in stability when running ... on single CPU machine compared to a multi-CPU one.The book also recommands a ... way in .NET to run specific thread on specific CPU. ... single or a multiple CPU machine. ...
    (microsoft.public.dotnet.languages.csharp)
  • threading choice on single/multiple CPU
    ... that multithread programs might get differential in stability when running ... on single CPU machine compared to a multi-CPU one.The book also recommands a ... way in .NET to run specific thread on specific CPU. ... single or a multiple CPU machine. ...
    (microsoft.public.dotnet.languages.csharp)
  • Is WMV9AP codec multi-threaded?
    ... I'm using the WMV9 Advanced Profile codec to encode a captured video stream ... and the CPU usage is consistently in the 95-99% range, causing frames to be ... both CPUs, or is my only option to get a faster single CPU machine? ...
    (microsoft.public.windowsmedia.sdk)
  • Re: statfs() / statvfs() syscall ballsup...
    ... > Quite a lot of operations could be done directly on the page cache. ... > table walking is often more expensive than even a memcpy(). ... More cpu is left free for the other ... if you can't avoid the memcpy you must not use O_DIRECT. ...
    (Linux-Kernel)