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)
TimescaleDB
https://docs.timescale.com/timescaledb/latest/#welcome-to-the-timescaledb-documentation TimescaleDB is a time-series database, built on top ...
Golang Calling Stack
package main import ( "fmt" "runtime" ) func main() { aa() } func aa() { bb() } func bb() { cc("hello...
Notes from gittower "Undoing Git Mistakes" presentation
Uncommited Local Changes 1. revert local changes git restore fname 2. accidentally deleted a file git restore fname 3. discarding chunks/lin...
No comments:
Post a Comment