Related
Before you guys start flaming me for not searching etc. Bear with me for a bit.
As many of you might have noticed, we (or some) are suffering from terrible transfer speed to and from our SD Card.
This has been brought to attention earlier. I don't know why, but a recent thread just died.
This
Maybe the thread name didn't bring attention enough. There has also been a older thread from june/july which I can't find anymore. Searched quite a bit. Wonder why it died.
Anyways, on to what we're after.
On my SD card I average like 10/ Mb/s vs 7 Mb/s using cardreader with different write sizes. On my OpenDesire 4.0.10 I get about 2Mb/s on both write and read. Removable storage mode as well as intenally between phone and SD Card itself.
* Problem is not SD card itself, except of course if you got a card that performs badly. The original one (class 2, 4gb) performs just as badly as my Class 4 16Gb. They perform really well using a cardreader though.
* Problem did not exist pre-root on 2.1
* Have had the problem since rooted and ran DeFrost in early june. I've only used Nexus Froyo ports until AOSP ones started popping up, so I can't speak for any other than DeFrost up to 2.3 and OpenDesire 4.0.10.
* Problem outside main OS: AmonRA 1.7.0.1 Recovery, flashed via Unrevoked. This might be unrelated to our quest though, because the AmonRA Kernel might not be configured for high speed storage.
* Does not have anything to do with App2SD from what I can find out. Either native or modded. Why? I've never used it until two weeks ago.
* Problem surely must be Android related itself (maybe a bug? Any problems on the Nexus?), because the write/read speed is just as bad for the phone vs SD card internally as it's over USB Mass Storage mode.
I don't get it really. It's weird. Some of the devs surely must have gotten irritated about this weird behavior and investigated? Maybe we can call Kali to our aid this time? He's really been our savior in other instances and I suspect it's gonna be a simple fix in the end.
Questions which may make our quest easier:
* How's a original phone, non rooted HTC Sense 2.2 ROM performing?
* How's a rooted phone (Unrevoked, Clockwork, AmonRa etc), but nonrooted more or less original HTC Sense 2.2 ROM performing?
* How's a rooted phone, with rooted/modded HTC Sense 2.2 ROM performing?
* How's a fully modded, full of bloatware Sense mod yadda yadda performing? (you get my point)
* Does the Nexus One running Froyo have this problem?
I'm running OpenDesire 4.0.10 which is AOSP with quite a few bits and bobs, so I know how that performs. It uses a fork of Cyanogen Passion kernel, and I suspect the rest of the AOSP ROM's does more or less the same. If you got one that is not based on Cyanogen, or a Cyanogen that performs really well, please tell and post your results. Simple average reports with some details of your ROM. No super duper accurate over time diagnostics crap.
Could it be the root process itself that causes the problem? A glitch somewhere in a boot driver?
I switched from fake-flash (back in june version) to a Unrevoked AmonRA two weeks ago. Problem remains. So, got no clue there.
EDIT:
Please. Don't ask me how to benchmark your SD card (no windows buffered speeds here!), what the difference of/in ROM's are, which kernel is which, who's who etc. If you know what I'm talking about you'll also know what to do (enough ranting from me).
EDIT2:
Please, constructive thoughts and idéas. No demands and "I've got the issue, help me".
Getting 1,7 Mb/sec over Usb with a class 6 card :-/
Sent from my HTC Desire using XDA App
This could be related to my problem I had which I posted @MoDaCo's.
I did not even had slow write speeds, the transfer even hang.
Just out of curiosity: Have you tried this on another PC? I noticed that I did not have this problem on another PC where I haven't installed HTC Sync and the HBoot drivers of unrevoked. At least the hangs are gone. Write speeds are moderate around 4 MB/s on my class 6 card. In a card-reader, it is still better.
Could this have something with thumbnail making in picture viewer? if so original 2.1 was fast on that but as soon as I got 2.2 it slowed down a lot! Haven't got original 2.1 left so can't check read and write.
I have get best card performance with Cyanogen(N) mod,read 15Mb write 9Mb
with sence roms this resut is half of performans,OpenDesire4015 is read 9Mb write 6Mb
but vith nmy test on NextSense5.2 9Mb with write7Mb
What scheduler is used in your roms? Mine is currently deadline, but I can easily switch to cfq and all the others too. Maybe its just a scheduler problem.
System of a pWne!^ said:
What scheduler is used in your roms? Mine is currently deadline, but I can easily switch to cfq and all the others too. Maybe its just a scheduler problem.
Click to expand...
Click to collapse
I've tried switching to CFQ and it helped a bit but didn't fix the problem. I now get shorter dropouts when playing music in the Music application and downloading offline playlists in Spotify, but the dropouts still happen (and they didn't in 2.1).
I'm using my own ROM based on the O2 Froyo RUU (RUU_Bravo_Froy2_UK_2.14.207.1_Radio_32.44.00.32U_5.09.05.30_2_release_144166_signed.exe), with a2sd added using the dsixda kitchen. I've also experienced slow SD card problems with the other Froyo ROMs I've tried.
If I have time I'll try putting 2.1 back on and see whether that speeds up SD access.
System of a pWne!^ said:
What scheduler is used in your roms? Mine is currently deadline, but I can easily switch to cfq and all the others too. Maybe its just a scheduler problem.
Click to expand...
Click to collapse
Changed between noop, deadline and CFQ. No deal :/
koider said:
If I have time I'll try putting 2.1 back on and see whether that speeds up SD access.
Click to expand...
Click to collapse
I've downgraded to 2.1 (the version in r6-desire-root.zip, 1.15.405.4 CL155070 release-keys with kernel 2.6.29-82821fb5) and SD card transfers are FAST with that rom. They're also fast with OpenDesire, so I'm using OpenDesire for now. I have a feeling that this problem is kernel-related so hopefully when (if?) HTC release their kernel sources we'll be able to fix it...
Results from the "SD Card Speed Test" app:
Write: 6.0 MB/s, Read: 14.0 MB/s in OpenDesire 4.0.19
Write: 2.0 MB/s, Read: 6.0 MB/s in Froyo/Sense (custom ROM based on the O2 2.14 RUU)
Write: 5.0MB/s, Read: 16.0MB/s in Eclair/Sense (1.15.405.4)
I also tried installing RUU_Bravo_Froyo_HTC_WWE_2.10.405.2_R_Radio_32.44.00.32U_5.09.05.30_2_release_142828_signed.exe to make my phone completely stock, in case rooting/mods were the problem, but I got similar speeds with the stock Froyo ROM to the speeds I got with my custom Froyo ROM.
I'm a bit happier now that I've got a Froyo ROM with decent SD speeds (OpenDesire), but I'm missing sense
koider said:
I've downgraded to 2.1 (the version in r6-desire-root.zip, 1.15.405.4 CL155070 release-keys with kernel 2.6.29-82821fb5) and SD card transfers are FAST with that rom. They're also fast with OpenDesire, so I'm using OpenDesire for now. I have a feeling that this problem is kernel-related so hopefully when (if?) HTC release their kernel sources we'll be able to fix it...
Results from the "SD Card Speed Test" app:
Write: 6.0 MB/s, Read: 14.0 MB/s in OpenDesire 4.0.19
Write: 2.0 MB/s, Read: 6.0 MB/s in Froyo/Sense (custom ROM based on the O2 2.14 RUU)
Write: 5.0MB/s, Read: 16.0MB/s in Eclair/Sense (1.15.405.4)
I also tried installing RUU_Bravo_Froyo_HTC_WWE_2.10.405.2_R_Radio_32.44.00.32U_5.09.05.30_2_release_142828_signed.exe to make my phone completely stock, in case rooting/mods were the problem, but I got similar speeds with the stock Froyo ROM to the speeds I got with my custom Froyo ROM.
I'm a bit happier now that I've got a Froyo ROM with decent SD speeds (OpenDesire), but I'm missing sense
Click to expand...
Click to collapse
The application SD card speed test is strange...
It shows my 8GB card as "class Unknown", but the strangest are the test results:
Write: 9.0 MB/s, Read: 3.0 MB/s in Froyo/Sense
Isn't the reading speed supposed to be higher than the writing speed?
Hi all,
I'm new to flashing custom ROM's and had recently flashed the RCMIX S v2.01.
I really like it, but found that it couldn't keep up with what I was doing - noticed some considerable lag.
I'm currently using the 4GB Class 2 Micro SD that came with the phone, but wondered if a higher class would speed it up a little?
Here's a link to the ROM in question: http://forum.xda-developers.com/showthread.php?t=988570
Not sure if it's just the limitation of the Desire maybe?
Ya, I would think that a higher class card would make a considerable difference, but that also depends on which version of the ROM you are using, if you are using a A2SD version of the ROM which uses an sd-ext partition, then it would make a considerable difference, however a version of the rom which is not using sd-ext, may not be effected much by a faster card.
Thanks for your reply.
I was using the RCMixS_v2.0_A2SD+_BravoHboot - I had previously created a FAT32 & EXT4 partition.
I'm assuming that by default the ROM will work with the SD (without extra configuration)?
I also noticed the available RAM was quite low (around 40MB) I think - I guess I may not have set it up correctly?!
We know the flash chip is 32gb, but in my storage settings I only see 26gb for userspace + 2gb for apps. Where's the other 4gb? I'm assuming a factory reset partition? And could the device be repartitioned to open more of this up?
correct me if i'm mistaken but as far as i know the 4gb is used by android it self. there for it's likely you can't see that little space.
Yep the OS is installed on part of the 4Gb you cant use.
Sent from my iPhone using Tapatalk
how to increase Ram on SGG
i googled and got to know that for swapping we need a custom kernal
i am using GENXT ODEX ROM 4.1.2, which kernal will be available for my phone...??
what are alternate solutions for increasing my RAM..??
king_of_grand said:
how to increase Ram on SGG
i googled and got to know that for swapping we need a custom kernal
i am using GENXT ODEX ROM 4.1.2, which kernal will be available for my phone...??
what are alternate solutions for increasing my RAM..??
Click to expand...
Click to collapse
You can not increase your RAM. It's tied to hardware, so unless you're skilled enough to mess with the phone's electronic board, it is not possible.
If you're talking about internal memory (sdcard0) there are many ways to free up some space in it, one of them is using Link2SD. You don't need a custom kernel, you just need to repartition your SD card.
have you heard swapping
naufalhadyan said:
You can not increase your RAM. It's tied to hardware, so unless you're skilled enough to mess with the phone's electronic board, it is not possible.
If you're talking about internal memory (sdcard0) there are many ways to free up some space in it, one of them is using Link2SD. You don't need a custom kernel, you just need to repartition your SD card.
Click to expand...
Click to collapse
have you heard of swapping...!!
with the help of swapping we can increase RAM from MMC
swapping cannot be done on default kernal.....hope u know that
Download An app,Ram expandar.It doesn't actually increase the ram instead,uses some of part of your sd card (swaping) as virtual ram.
Nonetheless there's always an option of downloading ram boosters
If i helped,don't forget to hit the THANKS button
My devices:Sony Xperia Sola(rooted)
Samsung Galaxy Ace(rooted)
Odys Next(rooted)
---------- Post added at 11:16 AM ---------- Previous post was at 11:13 AM ----------
Some part*
You can also flash a custom rom for better ram optimisation
If i helped,don't forget to hit the THANKS button
My devices:Sony Xperia Sola(rooted)
Samsung Galaxy Ace(rooted)
Odys Next(rooted)
king_of_grand said:
have you heard of swapping...!!
with the help of swapping we can increase RAM from MMC
swapping cannot be done on default kernal.....hope u know that
Click to expand...
Click to collapse
Alright I just read some old threads about this... It basically involves creating a swap partition on the SD card and use it as a secondary memory aside from RAM... It's similar to pagefile in Windows and swap partition in Ubuntu/Linux desktop.
Correct me if I'm wrong.
It will decrease your SD card life though (and probably damage/corrupt it) because SD cards are not designed for frequent and temporary read and write, it has limited read and write lifetime, while with the RAM this RW lifetime is much better than SD card.
Also, from what I'm seeing so far... swapping is more suitable for old Android versions (2.3 or lower) with low RAM (256 MB or lower). Android 4.0+ has improved memory management and there's really no need for a swap partition, thus why you more likely need a task killer on older Android (2.3-), but it is not recommended to use one on newer Android (4.0+). Even Kitkat runs fine on a 512MB device.
What sort of memory-eating app are you planning to use on your phone?
naufalhadyan said:
Alright I just read some old threads about this... It basically involves creating a swap partition on the SD card and use it as a secondary memory aside from RAM... It's similar to pagefile in Windows and swap partition in Ubuntu/Linux desktop.
Correct me if I'm wrong.
It will decrease your SD card life though (and probably damage/corrupt it) because SD cards are not designed for frequent and temporary read and write, it has limited read and write lifetime, while with the RAM this RW lifetime is much better than SD card.
Also, from what I'm seeing so far... swapping is more suitable for old Android versions (2.3 or lower) with low RAM (256 MB or lower). Android 4.0+ has improved memory management and there's really no need for a swap partition, thus why you more likely need a task killer on older Android (2.3-), but it is not recommended to use one on newer Android (4.0+). Even Kitkat runs fine on a 512MB device.
What sort of memory-eating app are you planning to use on your phone?
Click to expand...
Click to collapse
you are very much right...!!
but my grand is using 600mb out of 800mb
and i have class 10 sd card so it was ok with me
and my phone is getting much slower so i want to expand my ram
TheAmaze said:
Download An app,Ram expandar.It doesn't actually increase the ram instead,uses some of part of your sd card (swaping) as virtual ram.
Nonetheless there's always an option of downloading ram boosters
If i helped,don't forget to hit the THANKS button
My devices:Sony Xperia Sola(rooted)
Samsung Galaxy Ace(rooted)
Odys Next(rooted)
---------- Post added at 11:16 AM ---------- Previous post was at 11:13 AM ----------
Click to expand...
Click to collapse
Ram Expander Not working on default kernal
it is saying this kernal doesnt support swapping
king_of_grand said:
you are very much right...!!
but my grand is using 600mb out of 800mb
and i have class 10 sd card so it was ok with me
and my phone is getting much slower so i want to expand my ram
Click to expand...
Click to collapse
Adding a swap partition is not preferable because SD cards have slower R/W speeds compared to RAM, even if you have a class 10. And a "class 10" card means it has the best R/W speed, but it doesn't mean having longer R/W life.
Actually high RAM usage on Android is not always bad. Some parts of the RAM is used for caching so that you will run the apps faster compared to not having the cache. This is similar to the SUPERFETCH on Windows Vista and up. RAM usage does not always mean worse battery life, but CPU usage does.
Also... have you tried Greenify and see if it helps? Also if you can live without dual SIM, try one of the Kitkat ROMs, it removed lags completely for me.
Ok no problem!
By the way,which phone do you have?
You can easily flash an older or newer Kernel or maybe a custom one,for your phone,if you have a Sony Smartphone then flash through flashtool
Note:flashing Kernel doesn't wipe any data
Currently we don't have a swap supported kernel
Sent from my GT-I9500 using XDA Premium 4 mobile app
Swap is useless IMHO
Your SDCard will probably suffer if you use it
Sent from my GT-I9082 using Tapatalk
hi, My smartphone model is Nokia XL Dual SIM, Software Version 1.2.3.2, Nokia X Software Platform 1.2. I am facing the issue that is maximum low internal memory is 1.12 gb only. But Before buying the product or before installing all android apps into my smartphone, I have 4 GB internal memory(maximum allowed size). But after installed apps, the size is 1.12 GB(maximum allowed size). I have cleared cache, junk files everything. All are fine. but it shows 1.12 GB (max allowed size). I am suffering to install new apps because minimum free space is 43 MB only. Where the remaining 2.7+ GB gone in the internal memory? Please help me to get back to previous allowed size 4 GB. What are the steps required to achieve it?
Thats just a delusion.
You never saw 4GB internal memory available on your phone.
By default, Nokia XL has 1.12 GB phone memory (internal sdcard, sdcard0) and 1.18 GB internal memory (/data partition). That gives you 2.3 GB.
The remaining 1.7 GB is inaccessible as it is used by the system.