How to edit read_ahead_kb on nonROOTed device - Desire General

Hi everyone.
I'm having issues with SDHC card with my Desire.
Problem I'm experiencing I've described here:
http://forum.xda-developers.com/showpost.php?p=11334767&postcount=51
Basically measured read value of my SD card is very low, approx 2-3 MB/s.
I've digged this forum, and found solution for this:
http://forum.xda-developers.com/showthread.php?t=815557&page=26
Solution is to edit "/sys/devices/virtual/bdi/179:0/read_ahead_kb" file.
As described in the topic, while value in this file is 4 you should change it to 128.
Now, I have Astro file manager installed allowing me to view this value but I'm unable to save it.
Dear Good People, I would be really appreciate when someone could tell me how to speed up my SD card without Rooting my phone (Phone is brand new - just 2 weeks old) - I would like to avoid loosing guaranty.
I have Android 2.2, not modified ROM.

Using stock class 2 card? Maybe that's the problem, cause I had the same speeds, until I got a class 6 card.
Sent from my HTC Desire using Tapatalk

nagypapi said:
Using stock class 2 card? Maybe that's the problem, cause I had the same speeds, until I got a class 6 card.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Well, no. It basically doesn't matter which SD card I'll use. I tried 3 different cards - Class 4, Class 2 and not clasified and read measure is low.
Check my tests here: http://forum.xda-developers.com/showpost.php?p=11334767&postcount=51

Hey Majkel,
did you find a way to change read_ahead_kb without rooting your device?
I am also looking for a way to change this without rooting.

Maybe via ADB. Never tried that, tho. Theoretically it should work.

Related

slow/unresponsive access to 16GB class10 sdcard

hi all, i dont post questions often but i am not sure how to troubleshoot this issue.
i bought a new 16gb class 10 micro sd card. it seemed to function fine on my laptop when i copied all the files from the old card onto this new card.
now i am using it on the att tilt 2 gsm using Energy Series ROM from march.20, the wm6.5 version sense 2.5. also have tested it using stock wm6.5 from att.
issue is that when programs access the sd card they are slow to respond. tomtom, total commander, htc album, music play tab, etc they all have random freezes.
i have formatted the card 2 times in my laptop using fat32 and have copied my files onto it. not sure what else i can do.
i have the htc tytn2 aka tilt1, i may try the card in that soon.
this couldnt be an issue with my phone can it? touch pro 2 can handle 16gb i would think...
any suggestions please?
tp2 should be able to handle it...use at your own risk TP2 SD speed fix
Have you tried formating your SD card from the phone?
update
i havent tried formatting from the phone. thats a good straight forward idea. will try tonite after i make a backup of the data again.
as for the cab file you attached i cant believe i havent seen that one before lol. looks like a great idea.
i googled it and found that it should enable direct memory access, and thus disables the os safe feature in which the card can be removed without losing data. kinda like in Windows where you need to go to safely remote hardware before unplugging a usb drive that has cache enabled from the device manager.
will try it, although i feel i "shouldnt" need it if all was working as it should. but cant hurt to test, after a backup...
thanks for the cab
what is the need for a class 10 card...???
lol...i purchased a class 2 card today, after getting my previous tp2 stolen....works fine thus far...lol...
im sure class 10 is better but dont know why...
da9th_one said:
what is the need for a class 10 card...???
lol...i purchased a class 2 card today, after getting my previous tp2 stolen....works fine thus far...lol...
im sure class 10 is better but dont know why...
Click to expand...
Click to collapse
Google down? Higher class = Higher rated speed. Class 2 = dog slow.
khaytsus said:
Google down? Higher class = Higher rated speed. Class 2 = dog slow.
Click to expand...
Click to collapse
i googled "down", alas, it yielded nothing in relation to the tp2...also, my class 2 is working perfectly...have fun with your high priced, top of the line, higher class 10 card...hope you eventually get it to work for ya...bwahahahahaha...!!!
da9th_one said:
i googled "down", alas, it yielded nothing in relation to the tp2...also, my class 2 is working perfectly...have fun with your high priced, top of the line, higher class 10 card...hope you eventually get it to work for ya...bwahahahahaha...!!!
Click to expand...
Click to collapse
It basically means that you are guaranteed at least 2mb/s of transfer speed. class 10 is guaranteed 10mb/s or transfer speed. I think it has more to do with writing than reading though.
class 10 faster
yah thats why i bought it. i was tired of waiting so long everytime i wanted to copy updated gps maps or avi files to the drive.
but as luck would figure buying the fastest microsd card i could find would make the damn thing slower at random times.
anyways, gonna try updated radio, then the speed boost cab, then will try it in another phone. if all else fails, i'm calling back the retailer as i should be able to get replacement within 30 days
also how can i format the card on the phone itself? i need 3rd party software for this i assume
da9th_one said:
i googled "down", alas, it yielded nothing in relation to the tp2...also, my class 2 is working perfectly...have fun with your high priced, top of the line, higher class 10 card...hope you eventually get it to work for ya...bwahahahahaha...!!!
Click to expand...
Click to collapse
Yep, I agree with most people in other threads.. You're a complete moron.
khaytsus said:
Google down? Higher class = Higher rated speed. Class 2 = dog slow.
Click to expand...
Click to collapse
khaytsus said:
Yep, I agree with most people in other threads.. You're a complete moron.
Click to expand...
Click to collapse
i knew there was something we could agree on....yaaay us...!!!
I don't think the TP2 supports anything over Class 6, but I'm not sure. I bought a Class 6 card (which didn't work on the TP1) that works just fine on my Tilt 2.

I want a 32GB memory card; questions regarding installation

Which 32gb card should I get? I heard there are classes for each.
When I buy one, what is the best method that I should transfer my data from the 8 GB one to the new one?
Is there anything else important that I have to know like reformatting the new card before using it? Will the phone do that already?
Thanks!
I doubt they have the faster classes yet. The 8gb that came with the Evo is a class 2, and for most people that's fine. If you have unusually high bitrate MP3s or something, you might run into issues with a class 2, but you should probably be fine.
Most of the higher class cards are made for cameras and such. RAW on DSLRs are like what, 50+ mb files? You need a fast memory card to be able to take more than one shot at a time.
I always move things from a smaller card to a bigger one via my PC and copy and paste. I usually set up a folder on the desktop, copy into there, then copy that out into the new card. You get a nice backup of your card that way too.
You shouldn't need to do anything special to install the card, just pop it in. If you just copy and paste like I do, the phone won't miss a beat, all your ringtones and stuff will show right back up.
Check Verizon, They were having a spexial, 95 bucks for a scandisk class 2 works fine for all but hiher bitrate stuff. Beware of cheap ones on ebay and such, thay are almost always fakes.
Evo Sent
As far as transfering, copying the whole thing to your pc and back to the new card will be fine.
If you want to be careful about it, snag a windows app that will generate md5 hashes recusively and check on card then on disk and then on new card.
Sent from my PC36100 using XDA App
Thanks all.
Borg1982 said:
Which 32gb card should I get? I heard there are classes for each.
When I buy one, what is the best method that I should transfer my data from the 8 GB one to the new one?
Is there anything else important that I have to know like reformatting the new card before using it? Will the phone do that already?
Thanks!
Click to expand...
Click to collapse
Only Class 2 32GB microSDHC exists.
Go with the Kingston 16 GB Class 10
http://www.amazon.com/Kingston-Micr...?s=electronics&ie=UTF8&qid=1281321236&sr=1-12
When I added my card I just formated it and put it in and it works fine. Not sure if I had to copy files from the old one but every thing works fine.
rhconcepts said:
Go with the Kingston 16 GB Class 10
link
When I added my card I just formated it and put it in and it works fine. Not sure if I had to copy files from the old one but every thing works fine.
Click to expand...
Click to collapse
ordered mine on friday, cant wait for it arrive this week sometime
(i wasnt allowed 2 post a link here since im a new user, but buy the 1 from etech, ull save about $8 over the link above...)
i got it for $99.98 including tax+shipping, etc... it also comes with the adapter...
rhconcepts said:
Go with the Kingston 16 GB Class 10
http://www.amazon.com/Kingston-Micr...?s=electronics&ie=UTF8&qid=1281321236&sr=1-12
When I added my card I just formated it and put it in and it works fine. Not sure if I had to copy files from the old one but every thing works fine.
Click to expand...
Click to collapse
I got this card and I was disappointed in it's performance. I downloaded an SD speed tester from the market and tested my stock 8gb class 2 card and got around 1.75mb/s write time and around 2.5mb/s read time. With the 16gb class 10 (as above) I got marginally better results; 2.28mb/s write and 3.42mb/s read. Better, yes, but I probably would have gotten the same with a class 6 and maybe even a class 4. *shrug* These are only my experiences, maybe you'll have better luck.
jerryparid said:
Only Class 2 32GB microSDHC exists.
Click to expand...
Click to collapse
http://www.buy.com/prod/3c-pro-32gb...ss-4-with-sd-adapter/q/loc/101/216378749.html ?
http://www.buy.com/prod/topram-32gb...card-class-4-with-sd/q/loc/101/216378751.html ?
spiicytuna said:
I got this card and I was disappointed in it's performance. I downloaded an SD speed tester from the market and tested my stock 8gb class 2 card and got around 1.75mb/s write time and around 2.5mb/s read time. With the 16gb class 10 (as above) I got marginally better results; 2.28mb/s write and 3.42mb/s read. Better, yes, but I probably would have gotten the same with a class 6 and maybe even a class 4. *shrug* These are only my experiences, maybe you'll have better luck.
Click to expand...
Click to collapse
it may also be the it isn't the card that is the bottleneck, could be the r/w of the phone. if it can't write that fast, then having a fast card isn't going to do anything but sit there wasted.
My 16gb class to write speed was 7mb read 4mb on my evo
Sent from my PC36100 using XDA App
What class is the default EVO 8 GB card?
timothydonohue said:
it may also be the it isn't the card that is the bottleneck, could be the r/w of the phone. if it can't write that fast, then having a fast card isn't going to do anything but sit there wasted.
Click to expand...
Click to collapse
That is exactly my point. The op + others could save money by going with a cheaper card. I found out I have a 4gb class 4 at home, so I will test that tonight to see what its throughput is and post back here.
Sent on the go from my HTC EVO
martyzidek said:
My 16gb class to write speed was 7mb read 4mb on my evo
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Which program are you using to benchmark?
Sent on the go from my HTC EVO

[Q] Class 10 MicroSD Issues

Hello, I bought some day ago a Team 16GB class 10 Micro SD card, but my Defy freeze, expecially when I browse it with quickpic.
I see some thread about class 10 cards and someone found that a partial fix is format with 32k or 64k as file allocation unit size, and maybe another fix is set higher voltage with setsvel.
I've tried the format fix, but I gain only speed, now I'll try the second to gain the needed stability.
I read also that it's an Android kernel related issue, so we still need an official fix.
Someone know some other method?
D_L
Edit: Also the voltage tweak have failed... It's frustrating...
There maybe something related to the manufacturer. For example in my country the cheepest MicroSDHC Cards are made by Adata and Serioux (there maybe other chinesse brands but these are present at known big IT stores).
So people bought them, especially Adata ( which should be better than Serioux).
Class 6/10... and they ended up not working.
So my advice is to try with a Knigston/Kingmax/Transcend/ Sandisk( not that cheap) same 16gb and same class, see if you see a difference.
And i think Class 6 is enough... if let's say Class 10 from the manufacturers above it too expensive.
Maybe it helps.
Transcend?? um.. i don't think so, it's just the same.
perviously i had Transced 8 GB class 6,
using my old galaxy android, it's so fine and speed is good.
but after went to Defy, it was horrible.
often to cause hangs!
have to unmount / remount, which often not succeed, and have to pull out battery.
and it's especially happen when taking picture with camera or downloading + listening to mp3.
many good moments missed, can't take picture, because have to pull out the battery,
and that's embarassing, in front of my friend.
they think i have a smartphone but often hangs,
and now i know it is just because highclass sdcard.
i am using class 2 sdcard now, never get hangs.
end of problem.
I had the same problem.
I bought a 16GB class 10 SDHC ab. a month ago and when I'd been using my Defy always been freezed when I opened the Gallery or any else card related application.
I deleted the partition on the card and created a new one without LBA mode and the problem had been solved temporary. After a week it was start to make freezes again.
Actually I'm using a 16GB class 2 one (I bought it for 15 pounds as used). There's no problems any more, and it works as the same speed as the class 10 one (by the SD Tools).
I gave up and went back to a class 6 8GB Samsung, i did start a thread on the official Motorola forum if you want to go let them know about the problems, it might get them to issue a fix if more people start to complain about it. https://supportforums.motorola.com/thread/53050?tstart=30
i tot only me..
same here..
wanna sell my DNA 16GB class 10.
phone hang quite easily after change to this
So i want to buy a 8 gb card class 4 or 6 tomorrow... and it must work would CM7 . What to get ? I understand that using Sd booster or CM7 default i should get the same speed acordingly to what i set ?
Sent from my MB525 using XDA Premium App
Deonix said:
So i want to buy a 8 gb card class 4 or 6 tomorrow... and it must work would CM7 . What to get ? I understand that using Sd booster or CM7 default i should get the same speed acordingly to what i set ?
Sent from my MB525 using XDA Premium App
Click to expand...
Click to collapse
Hi Deonix.
My SD is a SanDisk 8GB class 4 and working well.
A couple days a go i try to use my other SD 16GB (class 10) and had issues, so i back to the 8GB class 4.
Some users have 16 and 32GB class 2 and 4 and they have no problems.
Thanks... i will choose a class 4 probably Kingmax. Anyone with working Class 6 8gb? what manufacturer?
Question: i will have on my 8 gb card a bunch of apps-30-40... some games including Asphalt 6 < for example>, MotoNav, and music. Out of this i think i will still have 2-3 Gb free . I don't need to transfer data from Card to PC frequently (fast i mean) maybe when it happens i will use the phone as a mass storage.
The question is: Do i need a class 6? I only need to work properly while in the phone and have a decent speed as a Mass storage from time to time.
definetely is not cm7 problem,
i thought it was.. and many people thought it too.
maybe it's froyo kernel seems little bit buggy with hiclass sdcard.
and cm7 using froyo kernel though.
using class 2 sdcard is perfect.
the speed is just the same though.
have been checked with some bencharking tools.
Both me and the missus are using class 6 samsung cards this one to be precise http://www.amazon.co.uk/Samsung-Micro-Speed-memory-Class/dp/B002WGIV10/ref=pd_rhf_shvl_44 and it works greatSD tools shows a write speed of around 10MB/s and a read speed of around 21MB/s
actually, i'll buy SD Card Team 16 Gig class 10..
any problem with froyo for class 10 ?
need more advice from u guys
Garincha13 said:
actually, i'll buy SD Card Team 16 Gig class 10..
any problem with froyo for class 10 ?
need more advice from u guys
Click to expand...
Click to collapse
many people confirm there's a problem with that,
even with 6 class sdcard.
i don't know what's going on but it's happening and annoying,
it happens on froyo, and CM7 too (FYI, CM7 Quarx uses froyo kernel).
Garincha13 said:
actually, i'll buy SD Card Team 16 Gig class 10..
any problem with froyo for class 10 ?
need more advice from u guys
Click to expand...
Click to collapse
Thats what we are all saying, class 10 cards seem nothing but a problem regardless of size. This is why i went back to the class 6 samsung and posted a link to it cos i know it works.
Just bought a 8 gb Kingston class 4. Will report speed and any other issues as soon as i install CM7 with it.
Hope it works well. It's an Android Kernel issue from Froyo on the Class 6/10 crashes as i can understand.. nobody's fault ( here on XDA i mean). Still some work.
Also i remain strong on my position.
Choose your manufacturer wisely even if it costs 10-20$/i dunno how much more.
I use kingmax 16gb class10 allways hang,
so bad,
use class 4 or 2 batter
Sent from my MB525 using XDA Premium App
i nearly bought a 16GB Lexmark class 6 card today but i dare not in case it didnt work, this is a crap situation.
Same here - Froyo 2.2.2 and Transend 16GB Class10 - freezes at random basis and random applications. No issues with 8GB Class 4.
I have similar problem, how do I know the class of the card? It is I believe a Kingston, I've had it for ages.
Also if it is relevant to someone, I have a Defy from CEE distribution, with Froyo.
Fabo.sk said:
I have similar problem, how do I know the class of the card? It is I believe a Kingston, I've had it for ages.
Also if it is relevant to someone, I have a Defy from CEE distribution, with Froyo.
Click to expand...
Click to collapse
You can check if the class is printed on the card. Usually it is a number inside a letter "C" (like a full circle).
You can see the images here:
http://en.wikipedia.org/wiki/Sd_card#Speed_Class_Rating

Which to choose Apps2Sd or Data2Sd

Hi,
I have two partition 14 gb Fat32 and 2 gb Ext4 and I want that all installation goes on ext4 (without using internal strorage) so in this case what should I choose Apps2Sd Or Data2Sd?
thanks.
I wouldn't bother with data2sd unless I had a card of class 6 or higher.
I very much agree Class 6+ to get the benefit
Well you would want to choose data2sd, if you want as much to be on the sd-card as possible, however it is usually quite a lot slower than using internal, and there is no reason to leave internal completely empty.
Also you can't run everything from the sd-card. The system-partition will still be on internal as well as boot and so on.
mortenmhp said:
Well you would want to choose data2sd, if you want as much to be on the sd-card as possible, however it is usually quite a lot slower than using internal, and there is no reason to leave internal completely empty.
Also you can't run everything from the sd-card. The system-partition will still be on internal as well as boot and so on.
Click to expand...
Click to collapse
Thank you mortenmhp,
I have sd-card of class 10, will still be a lot slower than internal?
thanks.
I use class 4 and have done from day one with droidzone's roms and it runs great.
I use a class 10 8GB card, and use Apps2sd. Dont really feel the need to use Data2sd.
Ive got alot of apps and still got some memory left so its all cool
Well it might not be too slow, but only do it, if you need the space, in which case it's a good solution.
But the more you move to the slower memory the more time will be spend accessing it.
But I'll encourage you to try it out for your self, as it's very individually(just make a nandroid backup and try different rom solutions) personally with my sd-card there is no way i'd use it for everyday use(flashed it a few times, and always got a slow and lagging system), while other people seem to have it working fine
Ok I will try,
Thank you mortenmhp...
Your question should be which do i need?
People rarely 'need' data2sd - apps2sd is 'usually' enough!
BigMrB said:
Your question should be which do i need?
People rarely 'need' data2sd - apps2sd is 'usually' enough!
Click to expand...
Click to collapse
thanks for the infos
how do you know what class your sd card is?
there is a figure 2 or 4 or 6 or 10 in a circle printed on the sd card or you can install sd tools from market to benckmark it ( 2 means 2 mb/s , 4 means 4 mb/s,... aso )
i'd say go for apps2sd then if you need data go for that after
cartus said:
there is a figure 2 or 4 or 6 or 10 in a circle printed on the sd card or you can install sd tools from market to benckmark it ( 2 means 2 mb/s , 4 means 4 mb/s,... aso )
Click to expand...
Click to collapse
Normally you need a magnifying glass because it is a tiny number............. see figure.
Free today on amazon
Sent from my HTC Desire using Tapatalk
I now use data2sd with MIUI rom and a class 6 samsung sd card £16 from play.com
I would defo recommend this card, I didn't think from class4 to class6 would be that much difference I was wrong. I can now record videos without a single lag, phone is easy 10x faster and smooth, also MIUI is superb rom
Hi,
Most of the times a class 6 or 10 is much "slower" than a good
class 4 like the sandisk mobile ultra of 4Gb (The one of 8 Gb is slow !!).
The problem is that te typical test of writing/reading to/from a single file doesn't guarantee the behaviour of the card when used intensively.
When many files are involved, things change dramatically and a good memory controller is a must, and many of the class 6 /10
don't have one.
jdolmen said:
Hi,
Most of the times a class 6 or 10 is much "slower" than a good
class 4 like the sandisk mobile ultra.
The problem is that te typical test of writing/reading to/from a single file doesn't guarantee the behaviour of the card when used intensively.
When many files are involved, things change dramatically and a good memory controller is a must, and many of the class 6 /10
don't have one.
Click to expand...
Click to collapse
Is there a app to test that?
Sent from my HTC Desire using XDA Premium App
cartus said:
there is a figure 2 or 4 or 6 or 10 in a circle printed on the sd card or you can install sd tools from market to benckmark it ( 2 means 2 mb/s , 4 means 4 mb/s,... aso )
Click to expand...
Click to collapse
I have a 8gb sandisk class 4 in a stock desire and am getting 6.8 meg read and write when I test

SD Booster on Ace 2

Has anyone tried SD Booster on the Ace 2? I found a small mention of it in the gaming thread. I was just wondering if it's worth bothering with. I've got a 4GB Class 4 card. The reviews look pretty positive on the Play STore.
dont use it. i used it and it messed up my phone. i ever created a thread here about it and i still havent gotten my phone working because of it. it will seriously **** your phone up and is not worth it.and if anyone reading this knows how to fix it can they please reply on the thread above or send me a message please
me too
you mean like after intalling it and rebooting after takes a lot and when finally booted. evrything force closes.it happen to me also.
the thing that did was factory resret and recover a backup i have taken before.also only a factory reset will work
Interesting. I think I'll give it a miss then! I'm always wary of these alleged 'performance enhancing' apps. I guess for what might only be a small improvement in performance it's not worth the bother. Thanks for the replies.
Does anyone know of any performance boosters that are actually worth bothering with? I mean my phone runs okay, but it's just that temptation to squeeze every last bit of pwer out of it, ha.
for me the best thing i done was rooted it, removed all the crapware that came with it like the network apps and some of the samsung stuff. i installed an app called setcpu which automatically controls the speed of the cpu. set it as profile: screen off and max: 400000 or 200000 min:20000 priority: 100. it works great for me and i can get great times except when i use a 3g connection
i recommend just upgrading your ext sdcard to a class 10,(and swap storages after) would help. (that is, if you can get one.)
teddytsen said:
i recommend just upgrading your ext sdcard to a class 10,(and swap storages after) would help. (that is, if you can get one.)
Click to expand...
Click to collapse
A REAL class 10 card. You can't believe how many off-brand "class 10" cards are on the market that are slower than the class 4 I bought sometime in 2006...
Ryccardo said:
A REAL class 10 card. You can't believe how many off-brand "class 10" cards are on the market that are slower than the class 4 I bought sometime in 2006...
Click to expand...
Click to collapse
Lol. Mines a sandisk . Ive never encountered fake class 10. Fake ones i saw were class 4 i think..
Sent from my GT-I8160 using Tapatalk
Thanks again for the tips guys, might look into that. ANd I'll be avoiding Sd Booster!

Categories

Resources