This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

read_ahead-android

By: a guest on Oct 3rd, 2012  |  syntax: None  |  size: 0.18 KB  |  views: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #! /system/bin/sh
  2.  
  3. #---
  4. RAHEAD=1024
  5. #--
  6. cat /sys/devices/virtual/bdi/179:0/read_ahead_kb
  7. echo "$RAHEAD" > /sys/devices/virtual/bdi/179:0/read_ahead_kb
  8. echo "read ahead $RAHEAD."
clone this paste RAW Paste Data