Skip to contentSkip to conversation

Cooling the cache

DISCUSSION Olivier Galibert 2 participants 3 messages Oct 31, 2006

lore
Share & tools
lore
#0 lore raw

In order to measure reliably some worst-case latencies, is there a way to have the system (cleanly) drop as much as possible of its page/directory cache? Being able to specify which device would be a plus ;-)

OG.

#1 lore raw
Quoted 5 lines · Olivier Galibert

In order to measure reliably some worst-case latencies, is there a way to have the system (cleanly) drop as much as possible of its page/directory cache? Being able to specify which device would be a plus ;-)

grep -A5 drop_caches Documentation/filesystems/proc.txt

Jörn

Signature · 2 lines
Joern's library part 9:
http://www.scl.ameslab.gov/Publications/Gus/TwelveWays.html
#2 lore raw
Quoted 8 lines · Jörn Engel
Quoted 5 lines · Olivier Galibert

In order to measure reliably some worst-case latencies, is there a way to have the system (cleanly) drop as much as possible of its page/directory cache? Being able to specify which device would be a plus ;-)

grep -A5 drop_caches Documentation/filesystems/proc.txt

Excellent, thanks.

OG.