Re: freebsd vs linux: performance problem

2007-12-17 Thread Shantanu Ghosh
Hi, Thanks for your help. I am a bit tied up in something personal, I'll get back to this matter in a day or two, and give you the updates. Regards, Shantanu. --- Martin Cracauer <[EMAIL PROTECTED]> wrote: > Shantanu Ghosh wrote on Thu, Dec 13, 2007 at 04:07:50AM -0800: > > Hi, > > > > I am r

Re: freebsd vs linux: performance problem

2007-12-17 Thread Martin Cracauer
Shantanu Ghosh wrote on Thu, Dec 13, 2007 at 04:07:50AM -0800: > 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. I assume that means 2 CPUs with two cores each, aka socket 771 woodcrests? Pl

Re: freebsd vs linux: performance problem

2007-12-14 Thread Ivan Voras
Erich Dollansky wrote: > I have had once the problem of a task moving from CPU to CPU and s > performing badly on FreeBSD. This is easy to check: either rebuild a kernel without "options SMP" or disable processes by setting machdep.hlt_cpus (see smp(4)) or set hint.lapic.X.disable=1, then run the

Re: freebsd vs linux: performance problem

2007-12-13 Thread Erich Dollansky
Hi, Shantanu Ghosh wrote: --- Erich Dollansky <[EMAIL PROTECTED]> wrote: Shantanu Ghosh wrote: --- Erich Dollansky <[EMAIL PROTECTED]> wrote: 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.

Re: freebsd vs linux: performance problem

2007-12-13 Thread Shantanu Ghosh
--- Erich Dollansky <[EMAIL PROTECTED]> wrote: > Hi, > > Shantanu Ghosh wrote: > > --- Erich Dollansky <[EMAIL PROTECTED]> 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

Re: freebsd vs linux: performance problem

2007-12-13 Thread Kip Macy
On Dec 13, 2007 4:07 AM, Shantanu Ghosh <[EMAIL PROTECTED]> 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

Re: freebsd vs linux: performance problem

2007-12-13 Thread Erich Dollansky
Hi, Shantanu Ghosh wrote: --- Erich Dollansky <[EMAIL PROTECTED]> 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 whe

Re: freebsd vs linux: performance problem

2007-12-13 Thread Shantanu Ghosh
--- Erich Dollansky <[EMAIL PROTECTED]> wrote: > Hi, > > Nash Nipples wrote: > > sounds like a power unit problem. try to switch them and repeat. > > hey, in the next step you tell him that the MTU is set wrongly. > > > > > > Now, in simple memory access operations, I see the freebsd system >

Re: freebsd vs linux: performance problem

2007-12-13 Thread Shantanu Ghosh
--- Ivan Voras <[EMAIL PROTECTED]> wrote: > Shantanu Ghosh 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 fr

Re: freebsd vs linux: performance problem

2007-12-13 Thread Erich Dollansky
Hi, Nash Nipples wrote: sounds like a power unit problem. try to switch them and repeat. hey, in the next step you tell him that the MTU is set wrongly. Now, in simple memory access operations, I see the freebsd system being noticably slower than the linux system. A simple C program that co

Re: freebsd vs linux: performance problem

2007-12-13 Thread Ivan Voras
Shantanu Ghosh 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

Re: freebsd vs linux: performance problem

2007-12-13 Thread Nash Nipples
sounds like a power unit problem. try to switch them and repeat. - Original Message From: Shantanu Ghosh <[EMAIL PROTECTED]> To: freebsd-performance@freebsd.org Sent: Thursday, December 13, 2007 2:07:50 PM Subject: freebsd vs linux: performance problem Hi, I am running FreeB

freebsd vs linux: performance problem

2007-12-13 Thread Shantanu Ghosh
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 o