Abysmal write performance on main storage - Xiaomi Poco F1 Questions & Answers

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.

Related

Regain Full mem without reset.(challenge)

Hey guys i think this should be an important challenge to overcome maybe find out where all the ram is going and get it back without reseting our precious moguls. My experience its something that Task manager doesn't show up because when i end task on my DCD 3 1 2 ROM i dont get all of my memory back like right after reset. Also this causes inconvinient problem of starting GPS after few days of RAM going down to 8mb and not having enough to lunch TOMTOM.
Oxios doesn't not regain full mem only one third of it.
Can we some how make a better task manager or maybe purge RAM?
Writing a driver to consider our FLASH cards as constant RAM?
I would gladly sacrifice remove ability of my MicroSD for extra 4 gigs of ram and would let my memory leak on a period of roughly 4 years of constant usage.
Please lets get organized and stop hoping the next ROM upgrade will solve this issue.
This is one of the biggest downfalls of the mogul
I would suggest looking into how RAM works before making this thread.
First off, most of our ram appears to be lost due to memory leaks.
http://en.wikipedia.org/wiki/Memory_leak
And since, at least in my experience, most of the memory leak comes from Windows 6 (and so much worse in 6.1), you can't exactly end the windows task unless you...
restart the Mogul.
So no, an application, or task manager, wont do you any good. Not until they fix windows 6.1 up to not be lord of memory leaks. That is why new roms are often so desired, because only a rom release with some decent version of 6.1 with hopefully some patched memory leak holes could help our problem.
Second, you can't use a flash drive as ram, at least its not reasonable. You think the Mogul slows down now? Wow, just wait to you see it moving at the blistering pace of a microSD card.
Ram is so small, and so expensive, largely due to its speed. Thats why you can buy a 500GB HD for about the cost of 4GB of RAM on your computer.
Also, running from the MicroSD would be similar to the page file on your home computer. It runs from, in most cases, your C drive, its a fairly large file, getting even larger when you run multiple tasks on a low RAM system.
It is slow as a dog, and is one of the worst causes of system slowdowns. I also believe that MicroSD's have a limited number of read/writes. While not an issue so much for everyday use (taking pictures, running an app from time to time), if it were used as a swap file, it would probably wear out that SD card pretty quick.
So no, short of an amazing, simple amazing, piece of software engineering on Microsoft's part on a new Windows Mobile, someone developing some sweet, easy to install ram upgrade, or the new replacement for the Mogul coming out with more ram than we know what to do with.
You will be restarting your Mogul.
It should be possible to wright a Driver to USE RAM for swap file and some of main drivers but MicroSD card to be used to run all the extra features and programs. Also why our team of coders cant plug the memory leaks or find out the runing programs not seen by Task manager and have option to close them?
PS
Thanks for confirming my worst dream about the limits of our mogul. Also I notice that PPC on palm trios seems not to have these memory leaks.
This is maybe possible if we can build a tool that can reboot the shell without rebooting the actual OS. It can be combined with the command to free the memory when the OS is unloaded. This is my theory, i think that we can recover memory like this
VulnoX said:
I would suggest looking into how RAM works before making this thread.
First off, most of our ram appears to be lost due to memory leaks.
http://en.wikipedia.org/wiki/Memory_leak
And since, at least in my experience, most of the memory leak comes from Windows 6 (and so much worse in 6.1), you can't exactly end the windows task unless you...
restart the Mogul.
So no, an application, or task manager, wont do you any good. Not until they fix windows 6.1 up to not be lord of memory leaks. That is why new roms are often so desired, because only a rom release with some decent version of 6.1 with hopefully some patched memory leak holes could help our problem.
Second, you can't use a flash drive as ram, at least its not reasonable. You think the Mogul slows down now? Wow, just wait to you see it moving at the blistering pace of a microSD card.
Ram is so small, and so expensive, largely due to its speed. Thats why you can buy a 500GB HD for about the cost of 4GB of RAM on your computer.
Also, running from the MicroSD would be similar to the page file on your home computer. It runs from, in most cases, your C drive, its a fairly large file, getting even larger when you run multiple tasks on a low RAM system.
It is slow as a dog, and is one of the worst causes of system slowdowns. I also believe that MicroSD's have a limited number of read/writes. While not an issue so much for everyday use (taking pictures, running an app from time to time), if it were used as a swap file, it would probably wear out that SD card pretty quick.
So no, short of an amazing, simple amazing, piece of software engineering on Microsoft's part on a new Windows Mobile, someone developing some sweet, easy to install ram upgrade, or the new replacement for the Mogul coming out with more ram than we know what to do with.
You will be restarting your Mogul.
Click to expand...
Click to collapse
while every single statement you say is true, your only wrong about how long ti takes to wear out a flash device. According to Toshiba, the inventor of Flash memory and one of the top suppliers of Flash memory chips, the 10,000 cycles of MLC [Multi-Level Cell] NAND is more than sufficient for a wide range of consumer applications, from storing documents to digital photos. For example, if a 256-MB MLC NAND Flash-based card can typically store 250 pictures from a 4-megapixel camera (a conservative estimate), its 10,000 write/erase cycles, combined with wear-leveling algorithms in the controller, will enable the user to store and/or view approximately 2.5 million pictures within the expected useful life of the card.
For USB flash drives, Toshiba calculated that a 10,000 write cycle endurance would enable customers to completely write and erase the entire contents once per day for 27 years, well beyond the life of the hardware.
take into note that is only 10,000 write cycles. 100,000 which is common for most flash drive now a days. so no, he wont even be around to see the day his flash drive even wears out. LOL.
Glad to see this post picking up some steam But lets Try and focus on making A solution rather than discussin known facts
the known facts have already pointed out the problem (memory leaks in the OS) and the only solution we have without the source code (restart the OS by rebooting the phone) so what else is there to discuss?
oh yeah, we can talk about ways to get the source code so we can fix it.
well i posted one idea:
http://forum.xda-developers.com/showpost.php?p=2257436&postcount=4

[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.

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.

Getting slower? or just past it's time?

I've enjoyed my XT910 for a couple of years, but quit using it about 3-4 years ago. Now I want to use it with a secondary SIM, perhaps as a WiFi hotspot while roaming, but I find the speed appalling. Every operation takes seconds to show a result. Even unlocking to an SMS notification takes ~4 seconds.
Using MoKee 5.1 on a secondary ROM slot, I think. It's always on charge (as battery is slowly dying) and the only active app is PushBullet, used to see check my SMSs on other devices.
Does it make sense to invest in a new battery and keep this phone as my secondary? Or should I just get a cheap Chinese one, like Ulefone U007?
I don't expect miracles, just maybe using it as a light travel phone, mobile hotspot, speedcam notifier and occasional (once every two months) browsing. Should I maybe switch to a stock-based ROM that lives on the main slot? Get rid of slots altogether?
The phone lived some nice times, travelled around the world, edited and uploaded DSLR pictures with OTG, provided navigation to rickshaw drivers, was a portable desktop for a while, then a retro-gaming machine. Maybe it just wants to be retired...
Motomizer can help overclock it so it doesn't seem as slow. I haven't maxed mine out, just ramped it up about midway.
Sent from my XT1254 using Tapatalk
I've bought a new battery and installed Mokee 5.1, upgraded later to 6.0. Battery life is ok-ish, but not much of a difference. I've measured the old battery to still have 1400-1500Ah, the new one is ~1700mAh. I suspect the poor battery life was due to some hanging processes.
Anyway, with Mookee 6.0, the phone is unbearably slow. I have whatsapp, viber, google maps and nothing else. LMK has been set to very aggressive.
When I receive an SMS, it takes 5-15 seconds for it to load, if it doesn't FC. When I unlock the phone (after it sat for a while) it takes at least 10s to come to life.
My suspicion is that there is high memory usage (Android reports 30-70MB remaining) which causes everything to be evicted from RAM. Not sure what can be done, except install an older android version. I thought the newer ones had better memory and battery management.
Android OS - 285MB
Android System - 99MB
Google Play services - 75MB
System UI - 54MB
Phone - 36MB
Viber - 35MB
Messaging service - 35MB
Whatsapp - 33MB
.......
Free memory 28MB
Not sure what I should do: switch to an older Android version? if so, which ROM would be more responsive but still frugal? Do not update apps as newer ones eat more memory? Give up?
I've already half-given up and ordered a cheap Blackview A7, but I really liked the Moto as a travel/backup phone.

Multitasking/RAM

You're busy and don't have time to wait, which is why you need to stop reading this thread and get back to organizing your Pogs. Rate this thread to express how the Xiaomi Mi A1 performs when multitasking. A higher rating indicates that the Xiaomi Mi A1 keeps many apps in memory so that they don't need to reload, and that when moving between apps, transitions are smooth and performance is excellent.
Then, drop a comment if you have anything to add!
When I run Google play store in background, other apps in foreground starts not responding.
3.5 gigs of RAM are excellent (~0.5 gigs are left for the GPU). What I don't understand is that why this device employs a 512MB swap partition which causes wear and tear of its internal storage. I'm sure as hell this swap partition cannot be disabled without rooting which I'd love to avoid.
Actually it is very smooth in terms of multi-tasking
is it just me or anyone else experienced the same thing? my recent apps keep restarting even when i got about just 4 or 5 apps opened. i checked the ram usage but it seems normal, it uses about 60-70% of ram. does anyone know whats going on here?
What i have observed is, android OS and system, and few other Google apps take up 1.5+ Gigs of RAM. I am not quite satisfied with that...
However the performance and multitasking is very good though.
Eshwar123 said:
What i have observed is, android OS and system, and few other Google apps take up 1.5+ Gigs of RAM. I am not quite satisfied with that...
However the performance and multitasking is very good though.
Click to expand...
Click to collapse
That means that 2,5 gb of ram is unused and wasted.
Sent from my Mi A1 using Tapatalk
Can any one help in my problem.. when I leave a app for multitasking that app get automatically closed and not even shows in recent apps what is wrong with i m unable to understand this..
Sk.asifkhan said:
Can any one help in my problem.. when I leave a app for multitasking that app get automatically closed and not even shows in recent apps what is wrong with i m unable to understand this..
Click to expand...
Click to collapse
Restart your phone. Happens to me a lot on stock.
ability to use split screen for 2 apps is really nice.
Pretty much mid-range performance, as per expectation
My MiA1 since September 2017, Stock/OTA Android 8.1.0, November 2018, no further updates (Rejected all Android 9/P updates so far, latest November 2019).
Not Rooted.
Usage (Average) Statistics:
RAM: 4 GB, ~39% Free.
Int Storage: 64 GB, 55% Available.
Ext Storage: 32 GB, 13% Available.
Total number of Apps installed: 293 (true!)
Self-installed Apps: 275 (!!!)
System Apps: 18
Maintenance Apps: Greenify, AccuBattery, AntiVirus, Button Mapper, Android Assistance, ...
No crunchy Video Games, Flight Simulators etc.
Performance: Average without lags, Multitasking, split screen or with flipscreen.
Crashed twice in two years.
Currently Android is up for last 21 days no drags.
(I, usually, Shutdown in 10 days, as cleanup)
Phone goes in deep sleep (>80% of time) when inactive and screen off.
LiPo battery BN31 with ~2800mAh (90% of original) after 2+1/4 yrs
I charge 10-80% at 1.95A or 0.67C
30-40hrs use between charging.
Screen on Time 4-5hrs (~12% of use).
My Multitasking rating 3.5 / 5.
Pretty disappointing
Memory management is horrible in this phone..I have to restart the phone every 2 days.. otherwise the OS will keep killing background apps..even if u left any application to check a message or something, Android will instantly kill that app and you'll have to wait for it to reload again.. anything u were doing in that app is just gone ..I rooted my phone using magisk and uninstalled many bloatware like ant Hal services etc,..I use SD maid pro to clear caches, force closed every other app,tried to tweak the settings of the low memory killer, increased the size of the swap file even overclocked the phone to stay running at the max CPU ratio but nothing worked ..apps keeps getting closed the exact second u leave them despite having more than 2 gigs of free RAM
A1 just works fine for me

Categories

Resources