title: Why my code faster on Linux than on RTOS?
body: <p>I wrote a Matrix class in C++, I made a benchmark to test this code on a Raspberry Pi, when I used arch Linux the calculation time was 0.4ms, When I used ChibiOS which is RTOS the runtime of the code was 2.5ms. The CPU frequency both case was the same(700Mhz). Can be that the memory operations(calloc, memcpy) is slower in one system? </p>