cva6 icon indicating copy to clipboard operation
cva6 copied to clipboard

Overhead of Linux and address translation

Open Juan-Gg opened this issue 1 year ago • 0 comments

I have noticed a 4-5x execution time increase when executing, e.g., a memcpy operation under Linux vs in baremetal. I attribute it to the overhead of address translation, yet it seems too much. Is it reasonable? Maybe it is higher because of the low clock frequency (50 MHz) ?

I am measuring time with the built-in timers in baremetal and with the clock_gettime() fucntion under Linux, working with data sizes high enough so system calls are not a significant part of execution time.

Any insights are welcome.

Juan-Gg avatar Jul 29 '24 16:07 Juan-Gg