Forum Discussion
Altera_Forum
Honored Contributor
16 years agocopy performance in user space vs. kernel
Hi, I am using Linux 2.6.32 with MMU with DDR SDRAM and I've run into some performance issues copying data. Copying from DDR to DDR using memcpy in an application only gets me 6-10MB/s. Copyi...
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Measurements are done by putting out a signal on a GPIO pin (tp) --- Quote End --- As in User mode I/O devices can't be accessed directly, are you sure that the setting of the I/O bit does not result in an exception, a switch to Kernel mode and back and thus slows down the process ? Testing with several different buffer sizes should make this clear. Moreover cache issues might play some role, here. -Michael