richard_damon wrote on Saturday, December 12, 2009:
I will also add, that once you have determined the needed tick rate for an application based on resolution needed for things like timeouts, there generally isn’t a reason you can’t do task switching at this rate. You already have done the context save entering the tick interrupt, and need to do a lot of the scheduler work to see if someone higher has woken up, so switch to the next in line is fairly additional cost. Also the sort of processors FreeRTOS is aimed out don’t tend to have things like caches or swap files that cause additional penalties for switching between tasks, which is one reason OSes on bigger machines use longer execution quanta for low priority tasks.