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=100000 but the thread switching time is still >> ~1ms. > > You must be talking about the time that a thread can run before it is >

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=100000 but the thread switching time is still >> ~1ms. > > You must be talking about the time that a thread can ru

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

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

2008-10-31 Thread Krassimir Slavchev
Hz quality 900 ... The hardware is fast enough! Also, I am able to set HZ=10 but the thread switching time is still ~1ms. Best Regards > > S.X >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> [EMAI

1. thread switching time? (Krassimir Slavchev)

2008-10-30 Thread Sam Xia
CTED] > Sent: Thursday, October 30, 2008 8:00 PM > To: freebsd-performance@freebsd.org > Subject: freebsd-performance Digest, Vol 68, Issue 4 > > Message: 1 > Date: Wed, 29 Oct 2008 17:28:36 +0200 > From: Krassimir Slavchev <[EMAIL PROTECTED]> > Subject: thread

Re: thread switching time?

2008-10-30 Thread Krassimir Slavchev
r and my application's performance is better but thread switching time is same. AFAIR I have read somewhere on the Internet about such problem when playing multiple video files and the solution was to change some parameters somewhere in header files but I cannot find this again. Best Regards

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?

thread switching time?

2008-10-29 Thread Krassimir Slavchev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello All, 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