RE: freebsd-performance Digest, Vol 69, Issue 2

2008-11-03 Thread Sam Xia
if you modify file subr_param.c as follows: void init_param1(void) { hz = HZ; ===> hz=HZ*4 . . . } you will get what you want. i have tested.it works well. Best Regards, Sam Xia > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMA

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