I’m making series of tests for FreeRTOS and other RTOSs. One of the test look like this:
- create thread which make series of calculation on  unsigned long array (global), when all calculation are performed increase counter (unsigned long). Repeate whole proces again, and again…
- create higher priority thread which preempt “calculation” thread after 15 seconds (using vTaskDelay).
I want to test it for tick rate 10, 100, 250, 500 and 1000 Hz.
I found this strange behaviour:
As you can see this is OS - independend (blue - first RTOS, red - second RTOS). 100 and 250 Hz performance are really bad, and 500 and 1000 Hz back to “normal”. I think that higher tick rate call OS more frequently and performance should decrease. Any ideas what are happened there?
FreeRTOS config: http://textuploader.com/z7ku
If you need more information don’t hestitate to ask.