关闭

Improve SDcard reading performance

397人阅读 评论(0) 收藏 举报
分类:
Many of us are disappointed about the reading speed of the SD Cards on our HD2. It doesn't matter if you have fast 10 Class SD Card, it performs very poorly on HD2 comparing how it performs on the PC.

The clue is the Cache size for reading from SD Card. It's set to 128 KB, on some ROM's it's even set to 4 KB!
 


You can check for yourself your Cache size by looking into this file:
 

/sys/devices/virtual/bdi/179:0/read_ahead_kb
 


You can change it manually but it will be reverted to default on the reboot. The changes need to be done permanently by loading the script on the startup through the init.d.
 


Or you can flash the CWM zip files that I made for you.
 

For RA 1.7 Recovery zip look into this post. Many thanx to user laie1472 for making them.



You must find which Cache size fits best for your SD Card. In my case its the 3072 KB Cache size.
 At best, use the Root Explorer to change the value, then run SD Tools Benchmark - finally flash the CWM zip file that fits your SD Card.

Here are two screenshots - the first one shows the reading speeds with the default Cache 128 KB and the second one is with the 3072 KB Cache with my Class 4 SD Card on CM7 RC2 by Charnsingh.
 


The Benchmark is made with the 
SD Tools program.


If you want to convince yourself of the speed improvement after applying the fix, just open your Gallery and see how fast it loads the photos!

Suggestion: 2048 KB Cache size performs at best for most of the SD Cards!
0
0

猜你在找
【直播】机器学习&数据挖掘7周实训--韦玮
【套餐】系统集成项目管理工程师顺利通关--徐朋
【直播】3小时掌握Docker最佳实战-徐西宁
【套餐】机器学习系列套餐(算法+实战)--唐宇迪
【直播】计算机视觉原理及实战--屈教授
【套餐】微信订阅号+服务号Java版 v2.0--翟东平
【直播】机器学习之矩阵--黄博士
【套餐】微信订阅号+服务号Java版 v2.0--翟东平
【直播】机器学习之凸优化--马博士
【套餐】Javascript 设计模式实战--曾亮
查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:26266次
    • 积分:348
    • 等级:
    • 排名:千里之外
    • 原创:6篇
    • 转载:20篇
    • 译文:1篇
    • 评论:3条
    文章分类
    最新评论