EastBay CodeHaus
Random Notes on Programming
Monday, June 16, 2014
Linux: Invalidating Cache
Here's the incantation for invalidating the linux file system cache. Good for running performance tests when you don't want a hot cache throwing off the results.
sudo sh -c 'sync;echo 3 > /proc/sys/vm/drop_caches'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
A note from Donald Knuth about The Art of Computer Programming
A while back I answered a question on Stack Overflow asking about the relative popularity of The Art of Computer Programming . I replied wit...
Duckdb Full Text Search Example
I learned a lot from Laurens Kuiper's blog post Testing out DuckDB's Full Text Search Extension , but unfortunately couldn't fin...
Animating an OpenSCAD Figure
First, let's draw a cube: cube(10,true); Now, let's animate a 360 degree turntable view of the cube: rotate([0,0,$...
No comments:
Post a Comment