Go Back   Android Forums > Android Phones > Casio G’zOne Commando > Commando - All Things Root

Like Tree3Likes
  • 2 Post By SupremeDork
  • 1 Post By bestaudioguy

test: Reply
 
LinkBack Thread Tools
Old February 27th, 2012, 02:46 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2011
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 5 Times in 1 Post
Default Increasing SD Cache for Significant Read Improvement!

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.

Have anything to correct/share? Please enlighten me!
r_hippy and tailez like this.

Advertisements
SupremeDork is offline  
Reply With Quote
The Following 5 Users Say Thank You to SupremeDork For This Useful Post:
colinnc (January 31st, 2013), NE_Phil (December 24th, 2012), r_hippy (January 28th, 2013), Spike G (February 27th, 2012), tailez (January 28th, 2013)
sponsored links
Old February 27th, 2012, 03:02 PM   #2 (permalink)
Member
 
Join Date: Aug 2011
Posts: 455
 
Device(s): Verizon Xperia Play, Casio G'zone Commando
Carrier: Not Provided

Thanks: 12
Thanked 112 Times in 73 Posts
nielson.peter@gmail.com
Default

Quote:
Originally Posted by SupremeDork View Post
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.

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
__________________
First Droid: Htc Aria (AT&T) (rooted, s-off, and i forget how many different roms on it)
Current Droid: Xperia Play R800x rooted by zergRush unlocked by Alejandrissimo, now running my own CM9 build (or build your own) and a slightly modded FXP kernel & lovin' it.
Casio Commando -- trying to build a custom kernel/Rom.
paxchristos is offline  
Reply With Quote
Old February 27th, 2012, 03:03 PM   #3 (permalink)
~Play Nice~
 
Unforgiven's Avatar
 
Join Date: Jun 2010
Location: Douglas, MA
Gender: Male
Posts: 24,788
 
Device(s): Moto X Developer Edition, Nexus 7 (2012 & 2013), Note II, S3
Carrier: Not Provided

Thanks: 15,451
Thanked 16,783 Times in 9,220 Posts
Default

I'm sure the 1024 is related to the fact that it is 2^10 and most storage is done in bytes. 1k is actually 1024 bytes even though many folks still think it translates to exactly 1000 bytes.
__________________

Join the fun and make some friends, register for free here.
If someone helped, hit Thanks, if you see rude or abusive posts, spam, or threads that need staff attention, hit Report.
Site Rules / Android Forums FAQ
*** Do you want to talk guns? ***

Unforgiven is online now  
Reply With Quote
Old February 27th, 2012, 03:20 PM   #4 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2011
Posts: 3
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 5 Times in 1 Post
Default

Basic computer science in my first thread? Really guys? :P

I forgot to mention that in real-world use, the tweak shines through.

For example; ES File Explorer opens in what feels like half the time! Pictures and especially videos and animated gifs load almost instantly now!
SupremeDork is offline  
Reply With Quote
Old January 28th, 2013, 09:36 PM   #5 (permalink)
Member
 
r_hippy's Avatar
 
Join Date: Jan 2013
Location: New Jersey
Gender: Male
Posts: 153
 
Device(s): Google Nexus7 Casio G'zOne Commando C771 v6SuperCharged
Carrier: Verizon

Thanks: 60
Thanked 20 Times in 20 Posts
Send a message via AIM to r_hippy Send a message via MSN to r_hippy Send a message via Skype™ to r_hippy
Thumbs up

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



2048





Thanks for the tip /info

Also saved this I checked afer a few reboots
r_hippy is offline  
Reply With Quote
Old January 29th, 2013, 03:58 PM   #6 (permalink)
Member
 
r_hippy's Avatar
 
Join Date: Jan 2013
Location: New Jersey
Gender: Male
Posts: 153
 
Device(s): Google Nexus7 Casio G'zOne Commando C771 v6SuperCharged
Carrier: Verizon

Thanks: 60
Thanked 20 Times in 20 Posts
Send a message via AIM to r_hippy Send a message via MSN to r_hippy Send a message via Skype™ to r_hippy
Default

ran all day today flying

Not sure if it's related but since the root
I did not noticed a hug increase
even after getting rig of the blot
But after this she has new life...

along with some other tweaks for the battery
I'm not charging it 4x a day
Did 9 hours today with 31 % left
that has to be unheard of...

thanks everyone
r_hippy is offline  
Reply With Quote
Old February 1st, 2013, 12:35 PM   #7 (permalink)
Member
 
Join Date: Jan 2012
Location: Branchburg
Gender: Male
Posts: 131
 
Device(s): Casio Commando
Carrier: Verizon

Thanks: 17
Thanked 5 Times in 5 Posts
Thumbs up

Here are my reading after setting the cache to 2048
Attached Images
File Type: png casio c771 2013-02-01 12-56-08.png (120.5 KB, 27 views)
r_hippy likes this.
bestaudioguy is offline  
Reply With Quote
Reply
Tags
cache, casio, commando, microsd, read speed, sd card


Go Back   Android Forums > Android Phones > Casio G’zOne Commando > Commando - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:35 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.