2008-11-25 00:30:44 Tick Period - Scheduling
Sada M (INDIA)
Message: 65773
Hi,
We set Tick Period as 10 msec.
We are using 2007 R1-RC3 Kernal.
1. How to set pre-emptive scheduling for the trheads in uClinux ?
2. in uClinux when the scheduler will run ? Will it run at every Tick period only or also when ever thre is any Semaphore/messages etc posted ?
3. How usleep(1000) ; 1 msec sleep is achived wtih above 10 msec tick period ? Will the scheduler runs at more granularity than the tick period specified ?
4. What will be the system/ kernal overhead by choosing tick period 1 msec instead 10 msec ?
Regards,
Sada.
QuoteReplyEditDelete
2008-11-25 19:44:51 Re: Tick Period - Scheduling
Robin Getz (UNITED STATES)
Message: 65805
Sada:
It is the same as last time as we answered your co-workers a few weeks ago - go ask them.
http://www.opengroup.org/onlinepubs/009695399/functions/pthread_attr_getschedparam.html
-Robin