I read that Linux has an O(1) scheduler, but this does not tell me actually how long a context switch roughly takes. Does someone have some current numbers?
I know it depends on a lot of factors like CPU type, frequency, DRAM connectivity, caches and what not, but I would be happy to know the order of magnitude in milli, micro, nano seconds or the rough number of processor cycles needed to preempt one process, decide for the next process to run and actually get it going.