How to measure performance inside Kernel?
Peter Senna Tschudin
peter.senna at gmail.com
Sat Feb 11 08:57:15 EST 2012
Graeme,
I found a problem on my code. I was calling kmalloc() only once for
both portions of code. The result is that the first loop that accessed
the memory was finding some penalty. Now I'm calling independent
kmalloc for each test.
The latest results are:
Proposed_code: 13.3940560108
Original_code: 37.8944950594
The graph is at:
http://i.imgur.com/nPjTE.jpg
Source:
http://goo.gl/cCMIa
Peter
--
Peter Senna Tschudin
peter.senna at gmail.com
gpg id: 48274C36
More information about the Kernelnewbies
mailing list