cvs commit: src/test/sysperf call3.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Mar 19 18:05:28 PST 2004
dillon 2004/03/19 18:04:29 PST
DragonFly src repository
Modified files:
test/sysperf call3.c
Log:
64-byte-align the test functions so they appear on different cache lines.
It doesn't seem to make much of a difference through for some unknown
reason nop1() seems to have slightly lower overhead then nop2().
dhcp62# /tmp/call3
call nop() function through function pointer in loop
call3/nop1-1 10.508s 1000000000 loops = 0.011uS/loop
call3/nop1-2 14.610s 1000000000 loops = 0.015uS/loop
call3/nop2-2 7.046s 1000000000 loops = 0.007uS/loop
Revision Changes Path
1.2 +3 -0 src/test/sysperf/call3.c
http://www.dragonflybsd.org/cvsweb/src/test/sysperf/call3.c.diff?r1=1.1&r2=1.2&f=h
More information about the Commits
mailing list