Performance issue

2005-05-09 Thread Ewan Todd
Hi All, I have what I think is a serious performance issue with fbsd 5.3 release. I've read about threading issues, and it seems to me that that is what I'm looking at, but I'm not confident enough to rule out that it might be a hardware issue, a kernel configuration issue, or something to do wi

Re: Performance issue

2005-05-09 Thread Ewan Todd
> > > >Whereas, the typical result for the new rig looked more like > > > > 105.36 real71.10 user33.41 sys > > ... > > 10548 involuntary context switches > > > > > > First of all, make sure that you have WITNESS and INVARIANTS off in your > kernel. You might also wan

Re: Performance issue

2005-05-09 Thread Ewan Todd
> > 5.3 ships with SMP turned on, which makes lock operations rather > expensive on single-processor machines. 4.x does not have SMP > turned on by default. Would you be able to re-run your test with > SMP turned off? > I'm pretty sure there's no SMP in this kernel. #cd /usr/src/sys/i386/c

Re: Performance issue

2005-05-10 Thread Ewan Todd
> > > >I think I've found the problem: Python uses setjmp/longjmp to protect > >against SIGFPU every time it does floating point operations. The python > >script does not actually use threads, and libpthread assumes > >non-threaded processes are system scope. So, it would end up using the >