Re: thread switching time?

2008-10-29 Thread Jason Stone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 to decrease this time to 1us?

Re: Performance 4.x vs. 6.x

2006-10-15 Thread Jason Stone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am hooking in here without any intention to fire things up but isn 't this discussion certainly useless? Not only 4.11 is gone but also i386 is practically marked to die out as well as UP systems are. All platforms are going to be 64bits and m

Re: Why are disk writes so slow?

2006-09-26 Thread Jason Stone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As in his example (with a bufsize of 8192), time ./a.out < 1.5M-testfile > /dev/null runs five times faster than (clock time) time ./a.out < 1.5M-testfile > /a.out.out a) your 1.5M-testfile is most likely still in the cache from previous