Locking comment on shrink_caches()
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 34 lines · Trond Eivind Glomsr?d
Quoted 8 lines · Vojtech Pavlik
Quoted 6 lines · Vojtech Pavlik
Quoted 5 lines
generic Athlon is
nothing: 11 cycles
locked add: 11 cycles
cpuid: 64 cyclesQuoted 8 lines
Quoted 6 lines
Interestingly enough, my TBird 1.1G insist on cpuid being somewhat slower:
nothing: 11 cycles
locked add: 11 cycles
cpuid: 87 cyclesOops, this is indeed just a difference in compiler options.
No, it's not:
[teg@xyzzy teg]$ ./t
nothing: 11 cycles
locked add: 11 cycles
cpuid: 64 cycles
[teg@xyzzy teg]$ ./t
nothing: 11 cycles
locked add: 11 cycles
cpuid: 64 cycles
[teg@xyzzy teg]$
[teg@xyzzy teg]$ ./t
nothing: 11 cycles
locked add: 11 cycles
cpuid: 87 cycles
Quoted 8 lines
[teg@xyzzy teg]$ ./t
nothing: 11 cycles
locked add: 11 cycles
cpuid: 87 cycles
[teg@xyzzy teg]$ ./t
nothing: 11 cycles
locked add: 11 cycles
cpuid: 64 cycles
Interesting: Try while true; do t; done and watch it change between 64 and 87 every 2.5 seconds ... :)
Signature · 2 lines
Vojtech Pavlik SuSE Labs