SHARE
TWEET

Untitled

a guest Oct 21st, 2012 20 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@thinkpad:/home/patrik# echo 3 > /proc/sys/vm/drop_caches
  2. root@thinkpad:/home/patrik# free -m
  3.              total       used       free     shared    buffers     cached
  4. Mem:          3828        481       3346          0          0         79
  5. -/+ buffers/cache:        401       3426
  6. Swap:            0          0          0
  7.  
  8. root@thinkpad:/home/patrik# echo 3 > /proc/sys/vm/drop_caches
  9. root@thinkpad:/home/patrik# exit
  10. exit
  11.  
  12. patrik@thinkpad:~$ time ( sync; dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc; sync )
  13. 1024+0 records in
  14. 1024+0 records out
  15. 1073741824 bytes (1.1 GB) copied, 1.69178 s, 635 MB/s
  16.  
  17. real    0m1.931s
  18. user    0m0.012s
  19. sys     0m0.612s
  20. patrik@thinkpad:~$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top