• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Increasing SD Cache for Significant Read Improvement!

SupremeDork

Lurker
Nov 28, 2011
3
5
Hello fellow Commando users! First thread (and post for that matter). :) Cutting to the chase:

While I know there is a thread elsewhere on androidforums about this, I'm sharing these tips as a Commando user.

Tech Stuff:
  • Casio G'zOne Commando
  • Android 2.3.3 rooted
  • Adata Class 10 16GB microSD card
  • ...what else am I missing???

I've gotten a significant increase in SD read speeds on my Commando as a result of increasing the SD cache size. The default is 128k. You can change the value using the free app SD Booster. It changes the value found in /sys/devices/virtual/bdi/179:0/read_ahead_kb and can set the value upon boot if you choose, otherwise it reverts to 128k. I used SD Tools to benchmark the r/w speeds.

NOTE: Apparently, closing and reopening SD Tools between each test provides more accurate results. I dunno for sure, but I did it anyway. ALSO, I didn't test in numerical order. I started with 2048k, then 128k, 4096k, 1024k, and bounced around some more.

I'm not listing write speeds because it only increased by a couple MB at most and never went over 13MB/s. That's not possible to increase much anyway.

Read Speeds:
  • 128k: ~20MB/s
  • 1024k: ~31MB/s
  • 2048k: ~29MB/s
  • 3072k: ~32MB/s
  • 4096k: ~30MB/s
  • 5120k: ~31MB/s
  • I had caught on to the possibility that odd multiples of 1024 were giving faster read speeds, so I went up even more out of curiosity.
  • 7168k: ~32MB/s
  • 8192k: ~31MB/s

I'm 100% sure your results will vary. What I really wanted to communicate is the interesting find about the odd multiples of 1024, and hopefully bring all this to those Commandos that wish to be the next Seabiscuit.

DISCLAIMER: While in my research I did not find anything to be concerned about with raising the cache size, I didn't write any of the apps and am not forcing you to do this. Thus, I cannot be blamed if your phone grows solar gills and flies into the Sun... or something. :eek:

Have anything to correct/share? Please enlighten me! :)
 
Hello fellow Commando users! First thread (and post for that matter). :) Cutting to the chase:

While I know there is a thread elsewhere on androidforums about this, I'm sharing these tips as a Commando user.

Tech Stuff:
  • Casio G'zOne Commando
  • Android 2.3.3 rooted
  • Adata Class 10 16GB microSD card
  • ...what else am I missing???

I've gotten a significant increase in SD read speeds on my Commando as a result of increasing the SD cache size. The default is 128k. You can change the value using the free app SD Booster. It changes the value found in /sys/devices/virtual/bdi/179:0/read_ahead_kb and can set the value upon boot if you choose, otherwise it reverts to 128k. I used SD Tools to benchmark the r/w speeds.

NOTE: Apparently, closing and reopening SD Tools between each test provides more accurate results. I dunno for sure, but I did it anyway. ALSO, I didn't test in numerical order. I started with 2048k, then 128k, 4096k, 1024k, and bounced around some more.

I'm not listing write speeds because it only increased by a couple MB at most and never went over 13MB/s. That's not possible to increase much anyway.

Read Speeds:
  • 128k: ~20MB/s
  • 1024k: ~31MB/s
  • 2048k: ~29MB/s
  • 3072k: ~32MB/s
  • 4096k: ~30MB/s
  • 5120k: ~31MB/s
  • I had caught on to the possibility that odd multiples of 1024 were giving faster read speeds, so I went up even more out of curiosity.
  • 7168k: ~32MB/s
  • 8192k: ~31MB/s

I'm 100% sure your results will vary. What I really wanted to communicate is the interesting find about the odd multiples of 1024, and hopefully bring all this to those Commandos that wish to be the next Seabiscuit.

DISCLAIMER: While in my research I did not find anything to be concerned about with raising the cache size, I didn't write any of the apps and am not forcing you to do this. Thus, I cannot be blamed if your phone grows solar gills and flies into the Sun... or something. :eek:

Have anything to correct/share? Please enlighten me! :)

The increases in multiples of 1024 are because you're moving up in megabytes (interesting that 3mbs and 7mbs are similar)

Like you mentioned about boot, the problem is that unless you have a kernel/ramdisk that supports build.prop edits (i.e. a custom kernel) this won't stick when you reboot... (unless the app allows set on boot, or you run an script at boot, which I think you mentioned)

Pax
 
Upvote 0
Was weird. Save # for the cache and was different every time I ran it
Stock

casioc7712013-01-2820-53-49-1.png


2048



casioc7712013-01-2820-57-35.png


Thanks for the tip /info

Also saved this I checked afer a few reboots
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones