[Q] Really low IO performance - Galaxy S II Q&A, Help & Troubleshooting

Hello,
I've bought a used SGS2 (i9100, 16GB) about two years ago, and IO performance degraded a lot since I got it. It's really bad as of few last months (kinda sorta what happened with every Nexus 7 pre-4.3), and I'm wondering whenever there's any way to improve it? While sequential/random reads are okay(ish), SQLite operations and any writes are painfully slow. Here's a benchmark (AndroBench 3.4, default settings) done after rebooting. The same thing happens on all Samsung ROMs (my daily driver is Chameleon 3.0.4 by jazzk with Apolo 4.13, row as IO scheduler) and some AOSP ROMs (AOKP 4.1.2, CM11 M2 the last time I've checked them out), so I'm pretty sure this isn't ROM-dependent. Wiping /data, /system and all caches, then restoring a backup improves these for some time, but it gets annoying (also, it takes about 20-30mins to complete ;_. My eMMC chip is suspectible to a brickbug (VTU00M), and apps TRIMming internal memory have FAQs, which note that there are dead Samsung devices due to this brickbug (/data and /sdcard is mounted with discard by default, so this most probably wouldn't change anything, but just in case...).
So, is this IO performance degradation normal? And, is there anything I can use to improve the internal memory's performance?

Related

[Q] ext4 VS stock file system -which is faster on Froyo?

i was wondering, does the ext4 file system increases performance/speed in any way compered to the stock one which comes with Froyo?
what are the advantages/disadvantages of ext4 in general?
thanks
Advantages:
-Faster read/write performance resulting in significantly less lag everywhere on the phone
Disadvantages:
-Requires a one-time conversion, usually taking up to 10 minutes at boot time.
i went back to stock 2.2 for the 1st time in months after i got bootloops when i did something wrong flashing simply honey and it seemed well slow and laggy compared to simply galaxy 2.8 with voodoo
}{Alienz}{ said:
Advantages:
-Faster read/write performance resulting in significantly less lag everywhere on the phone
Disadvantages:
-Requires a one-time conversion, usually taking up to 10 minutes at boot time.
Click to expand...
Click to collapse
so in general ext4 is quicker then stock file system?
is the faster read/write performance comes at a price in terms of battery life?
http://tinyurl.com/3qbmrv9
DO the first link!
(This is in part a shout out to "moviexxxxxxx"lol can't remember ur name)
*EDIT*
His name is Robert Paulson....... No its not, its movieaddict. Oh yea!
DR-EVIL23 said:
so in general ext4 is quicker then stock file system?
is the faster read/write performance comes at a price in terms of battery life?
Click to expand...
Click to collapse
i've only been on RFS or whatever its called on stock and my stock 2.2 battery was useless, got like 9 hours moderate use
on simply galaxy 2.8 on ext4 i got like 30 hours with the same use but thats with different kernel and modem etc
im guessing there wont be any difference in battery with same kernel with voodoo on or off
its movieaddict, lol! funny post

[Q] Q]does installing roms reduce internal storage capacity

i know that this is a rather foolish question.but i am 13 years old and i really want an answer.this is the only place i think to find an answer.
i know that our android phone has a specified amount of internal storage.part of it is for storing apk,datas etc.another part is for rom image and all all those stuff.what i want to know is when i am installing a new rom,is it actually overwritting the existing rom.or is it installed alongside it.cause my phone is getting slower each time i install a new custom rom in my htc hero.it has 600 mhz processor.but even angry birds lag in my phone but it works smooth on my nokia 5233 xpress music touch phone.both these games are are of similar size and have same graphics quality.
No the previous rom is over written or in most cases deleted when you carry out the full wipe/delete.
The hero is an old phone and as time goes on and software evolves ect.. it also become larger in size in most cases, if you are after speed, keep away from sense roms, and generally the older the rom the better in terms of performance/free space ect..
I used to own a hero and "eleinux" (i think his name is) had a good rom called speedmachine which was a pretty good rom for the hero while still having some ports from cyanogen, if you really want a sense rom the maybe look up villainrom as they are pretty good at gutting out all the crap within sense. You could always try over-clock your CPU as-well with setCPU or if you have a cyanogen based rom there is a function within there that will allow you to over-clock.
Other than that the hero is a very dated phone, might be time to consider a new one or newer one.
no. your internal memory never ever gets reduced. if u are rooted. u can use apps like setcpu to increase speed by overclocking(at the cost of lil battery life)
you can virtually increase yout internal memory by partition ur sdcard with ext4,3
Sent from my Nexus One using Tapatalk
...and I thought my phone was old.
Your phone is outdated, it will slow down with age. Be sure to fully wipe when flashing roms. At the minimum, wipe caches. If you haven't in a while, you should wipe everything before flashing your next rom. Really you should do a full wipe with each rom flash unless flashing an update.
Try out the V6 Supercharger script for a bit more speed, that should help some. You can buy used phones for less than $50 that are better than yours, like the Evo 4G.
I've heard good things about villianrom as well, so I did some searching for you and found this link
http://forum.xda-developers.com/showthread.php?t=654030
hope it helps, it's very important to do a full wipe of your phone before you install new roms.

Wanna have a faster device for almost nothing? READ THIS!!

Our device isn't considered to be powerful anymore. It's became an complete underdog. Thanks to Android's flexibility, you can force to make your phone pretty much fly with several tweaks.
1. Delete as much bloatware as possible.
This is regarded as an easiest, noobiest option to improve your phone's performance. Many OEM apps stays hibernated in the RAM, thus limiting free RAM available to the user and sometimes even stressing NAND too much. In the end, it's the best to keep your phone as clean and deleting useless apps on the fly.
2. Don't install too much apps into NAND memory
Benchmarks shown, that our phone's NAND chip is considered to be rather slow. Since many apps access small amounts of random data pretty much constantly, it's better to have less apps installed on your phone.
3. Avoid using app killers
This is a placebo effect, since Android's memory management is inferior to what app killers are doing. Many apps stays in such state, where they are ready to be launched almost instantly. App killers, however, pretty much screw all the mandatory functions and stresses the phone even more than before. Launcher redraws are rather common occasion when app killer is being used.
4. Use custom kernel
Custom kernels often offer more features and are more optimized to make the use of available hardware. OEMs never seem to mess around with kernels much, since they want to have their product as stable as possible. Devs, however, mess around with kernels and extract almost double the real-time performance.
5. Never fill up your storage completely
The more data is available on the storage, the harder is getting to find it. Since data is laid randomly, it searches for the information location. When there are too much data, it gets harder to find the data needed. Often slower cards, like Class 2 or Class 4, are considered to be the better choice, since those cards are much faster at writing and reading marginal data randomly.
6. Select the I/O scheduler, CPU governor wisely
These things manipulate with the main hardware. The better optimized the governors are, the better the phone will run and won't drain the battery as much. Though keep in mind, that many governors have their own drawbacks.
sioplus is one of the better I/O schedulers. It allows access to random data pretty quickly, which ensures smooth and snappy performance in the system.
ondemand is the most common and is the stapple and the base of many custom governors available today. It's method is pretty simple - whenever phone registers a touch input, it automatically raises the CPU speed to the max. In retrospect, it should give great performance, but it usually suffers from poor response.
7. Play around with Dalvik VM settings
My optimized settings (feel free to use them):
dalvik.vm.heapstartsize=6m (size when first launched)
dalvik.vm.heapgrowthlimit=64m (limit of standard app)
dalvik.vm.heapsize=192m (heap for large app)
These settings pretty much controls our multitasking. Each phone has it's own specified settings, so it could run better.
Lowering these settings could majorly improve performance, but it could slow down around, when there too much heavy apps running in the background.
Raising these settings could improve multitasking, since less CPU power is required to extract certain data to the RAM. Scrolling a heavy webpage, for instance - raising these settings could improve scrolling smoothness and loading times, since there isn't a need to clean the heapsize as frequently as it was before.
More suggestions are coming later. If you found this article useful, please leave THANKS!
Good day.

Slow NAND write/read speed, any fixes?

My NAND (internal storage) speed is really low, 15mb/s read and about 6mb/s write, tested with A1 SD app. I'm running Mokee's 6.0.1 ROM, and it's the best one I've tested so far, with minimal lags, but it seems that the age of the phone's NAND is really showing.
I have it installed in Stock rom slot (safestrap 3.75), which is supposed to be the fastest one, but I still get a lot of unresponsiveness from time to time (much less than on other roms, but still). It's a criminally slow read/write speed, and I'm aware that it's the phone being 6 years old and quite used at fault, but is there any way of improving that speed, any tweaks, setups, etc? Does setting read-ahead to 4096 help? Or setting up something in the recovery?
Can I use my sdcard (64GB external sandisk extreme) as a ramdisk to boost up performance or something?
RAZR XT910 btw.

Abysmal write performance on main storage

Since a few weeks I'm noticing that my device produces severe hangs, especially when I/O heavy operations like Play Store updates are involved. I ran a storage benchmark and noticed that continuous write performance is abysmal with on average only 13 mb/s with dips under 10 mb/s:
https:// abload.de/img/img_20200225_115908m1jh8.jpg
On my brother's 64 GB model the phone reaches 130 mb/s. His random write performance also is about 30-50% better. Unfortunately I'm not sure if this has gotten worse with the Android 10 update or if it was this bad before. I have also cleared more free space (about 30 GB), but that didn't change anything.
Is my flash storage dying or might this be fixed by doing a factory reset of the phone? Is there any way to check storage health (ideally without root)?
There are many reasons for the storage to slow down (scheduler not correctly configured, wrong read ahead value...)
I don't know how you can check your storage health, the only thought I had was to make a complete backup, then flash the latest stock fastboot rom and install your benchmark to see if your phone has the same score.
So you think flashing the ROM is essential, so a simple reset wouldn't be sufficient in this case? My bootloader is currently not unlocked, so this would require more preparation.
I think so, indeed.

Categories

Resources