This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Some question on sysbios performance

Other Parts Discussed in Thread: SYSBIOS

TMS570, ccs5.1, sysbios 6.31.4.47, xdc 3.20.8.88

Hello,

I would like to get some answers about  real-time synchronization and performance concerns our team have on using the scheduler and the hardware dispatcher. Please would you respond to these questions:

-  Is the hardware dispatcher always involves the same overhead no matter the number of threads ready to run? Is more threads ready to run increases the response time to a hardware interrupt for instance?

- Is the priority of thread are always respected at any time?

-  It seems that using Idle thread type decrease the performance of the system. Is it because the BIOS lost more time in the scheduler? Is the total CPU load is increase using this type of thread?

-  We measured that to put our 20Khz ISR routine in a HWI thread (compare to NOT use a BIOS at all) increase the CPU load 10% higher (just in context switch lost). Is this value seems correct?

- Using the same ISR (20Khz in HWI thread), we measured that spitting the our code in many other threads (Task type) at lower rate (100Hz and less) barely not increase the CPU load. Could you comment on this result?

Regards.

Simon