RE: freebsd-performance Digest, Vol 68, Issue 4

2008-10-30 Thread Sam Xia
hi all, Someone had ever told me that select-based timing thread is more accurate than signal-based timer. But I don't know the real reason. Anyone could give me some tips? Best Regards, Sam Xia ___ freebsd-performance@freebsd.org mailing list http:/

1. thread switching time? (Krassimir Slavchev)

2008-10-30 Thread Sam Xia
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) S.X > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Th

Re: thread switching time?

2008-10-30 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason Stone wrote: > >> I am using FreeBSD 7 and would like to decrease the time of switching >> between threads. This time seems to be 1ms and it is impossible to >> make lower delays inside a thread, at least using nanosleep(). > >> Is it possible