Re: 1. thread switching time? (Krassimir Slavchev)

2008-11-03 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julian Elischer wrote: > Krassimir Slavchev wrote: > >> >> Also, I am able to set HZ=10 but the thread switching time is still >> ~1ms. > > You must be talking about the time that a thread can run before it is > pushed out by other threads? I kn

RE: 1. thread switching time? (Krassimir Slavchev)

2008-10-31 Thread Sam Xia
clock intr frequency. BR, Sam.Xia > -Original Message- > From: Krassimir Slavchev [mailto:[EMAIL PROTECTED] > Sent: Friday, October 31, 2008 5:04 PM > To: Julian Elischer > Cc: freebsd-performance@freebsd.org; Sam Xia > Subject: Re: 1. thread switching time? (

Re: 1. thread switching time? (Krassimir Slavchev)

2008-10-31 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Julian, Julian Elischer wrote: > Krassimir Slavchev wrote: > >> >> Also, I am able to set HZ=10 but the thread switching time is still >> ~1ms. > > You must be talking about the time that a thread can run before it is > pushed out by other

Re: 1. thread switching time? (Krassimir Slavchev)

2008-10-31 Thread Julian Elischer
Krassimir Slavchev wrote: Also, I am able to set HZ=10 but the thread switching time is still ~1ms. You must be talking about the time that a thread can run before it is pushed out by other threads? I know I've seem many x 10,000 context switches in some cases, i.e. look at very high i

Re: 1. thread switching time? (Krassimir Slavchev)

2008-10-31 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Sam Xia wrote: > hi krassi, > > what kind of hardware are you using? Actually because of process/thread > scheduling mechanism, timing granulariy is coarse in FreeBSD(more than 10 > ms) dmesg: ... CPU: Intel(R) Core(TM)2 CPU E8400 @