Increase the read/write speed of the SD card on your rooted Android tablet

Jack Wallen show you how to boost the performance of your rooted Android tablet by increasing the read/write speed of the SD card.

By default, most Android SD card write speeds are set to a paltry 128KB. This can cause slowdowns when reading or writing to the SD card on your tablet. With the hardware powering these tablets, it only makes sense to up this value to gain some speed on reading and writing to the SD card.

The idea behind this is the modification of the amount of available read-ahead cache used for reading SD card data. In order to modify this amount, the file /sys/devices/virtual/bdi/179:0/read_ahead_kb must be opened (with write permission) in an editor. The problem with this is that write permissions is a challenge and, in some cases, the SD card itself must be remounted in read/write mode. On top of that, the device must be rooted.

Unfortunately, there's no way around the necessity of having the device rooted, but there are applications that circumvent the need to open that file in an editor (which is a challenge, in many cases). Let's take a look at how to manage this task without having to manually edit that file.

What you'll need

  • Rooted Android tablet
  • SD-Booster app to test speed
  • SD Tools app to make changes to read-ahead memory

I've experimented with a Toshiba Thrive and a Galaxy Tab and discovered that not all read-ahead amounts are created equal. In fact, both tablets excelled at different settings, so the speed test app is required to determine which setting is the best.

Download and install each of those tools from the Android Market, and get ready to make your tablet rock!

Speed Test

Before you open up SD-Booster, first open up SD Tools and do an initial speed test. You'll want to have a baseline, so you know when you've found that magic number. To do the speed test, follow these steps:

  1. Open up SD Tools
  2. Tap the Start speed tests button
  3. Let the testing complete
Once the testing has completed, you'll see the results of the tests with the default configuration (see Figure A). Figure A

As you can see, the speed test clearly differentiates between reading and writing speeds.

At the end of the speed test, you'll be asked to submit your results. This, of course, is optional.

The Thrive I'm working with is a rooted device, so the initial results might seem a bit higher than a non-rooted device. Even so, let's see if we can eek out a bit more speed.

Changing the read-ahead memory

Now, open up the SD-Boost application. When this is done, you'll see your default setting in the SD-Booster window (see Figure B). Figure B

As you can see, I've already changed the settings for this tablet.

Erase the currently set number, and enter a new number. You can start by maxing it out at 4096. When you do this, you'll need to give the application permission to have root access to the file. Okay this permission, and continue on. Once the value has been set, close the app, go back to the SD Tools app, and run another speed test.

If your tablet is like the Thrive, the maxed out number will not give you the best results. Continue testing different values until you find the value that gives the best results for your set up. For the Thrive, the best setting was 1028, whereas for the Galaxy, the best setting was 2048. As you can see, in Figure C, the speed did increase for both read and write. Figure C

Although the write speeds didn't increase significantly, the read speeds did.

Once you've found the best setting, go back to the SD-Booster app and make sure to check the box for Set on Boot, otherwise the setting will go back to the default every time the tablet is rebooted.

There you have it — a quick and easy way to eek out a bit more speed from your rooted Android tablet. The Android platform is both powerful and flexible, allowing for creative ways to boost performance such as this.

About Jack Wallen

Jack Wallen is an award-winning writer for TechRepublic and He’s an avid promoter of open source and the voice of The Android Expert. For more news about Jack Wallen, visit his website

Editor's Picks