| Hi Jamdrese,
Need one urgent help for memtest
Can you please share your code. I want to test it on my system? I got your reference from below; jandrese on Dec 1, 2014 | parent | favorite | on: Memcpy vs. memmove It's fun to benchmark memmove and memcpy on a box to see if memcpy has more optimizations or not. On Linux x86_64 gcc memcpy is usually twice as fast when you're not bound by cache misses, while both are roughly the same on FreeBSD x86_64 gcc.
Linux (2.4Ghz Xeon X3430): ./memtest 10000 1000000 memcpy took 0.575571 seconds memmove took 1.082038 seconds FreeBSD (2.0Ghz AMD Athlon64 3000): ./memtest 10000 1000000 memcpy took 1.487334 seconds memmove took 1.442741 seconds |
https://pastebin.com/Xt9miQLC