Closed Dark-Cod3r closed 4 years ago
Could you please share few details.
Test file can be left undeleted if the app crashes, thoug consequent test run will rewrite the test file and delete it. Also the file is all the time eith the same name and it doesn't make sense that 4 test runs can produce 4 test files.
Could you please check App Info for CPDT and see what Storage shows?
Hi. Kindly check these below screenshots for android version and app info. Yes, all 4 times test completed successfully.. and i downloaded app from Gplay.
Here. Check this.. i ran a test again and it completed successfully , but again as it says file deleted but it didnt (size increase from 4 to 5GB).
Thanks!
I assume you picked option [2] /storage/emulated/0. It'd be great if you checked apps folder via File Explorer (stock app should be fine) at "Internal Storage -> Android -> Data -> com.Saplin.CPDT" and see if there're any files.
Besides, any chance you have a custom ROM with no "Android System WebView" app installed?
Also, could you please remove the app and try the one from APK? https://github.com/maxim-saplin/CrossPlatformDiskTest/releases/download/2.3.1/com.Saplin.CPDT.apk
Hi. That folder location is empty. Also one more thing i notice is even after uninstalling app, data is still present (cause free space is still same). Means it consuming storage space but not freeing it up even after uninstalling. Yes, ROM has webview (using chrome for webview render). I did try your given apk, same issue.
Here.. notice system data and apps data space changes. Data is still present somewhere in it but its not showing up (probably hidden or something)...
MIUI had a nice disk cleanup util in Settings or Security app. Under Deep Cleaning there was a section listing large files - can you check it?
yeah, i did tried that cleanup but it didnt detect that file. so i rebooted my phone and all storage space back to normal. (now 20+GB free space)..
so then i tried another thing, i ran another test, after successful completion i checked and and its occupying 1GB(even though app says file deleted successfully) , so i rebooted and all storage space back to normal.
So to completely remove all test data file of this app i need to reboot to fix that (this only specific to CPDT app). other apps (like A1 SD bench dont have this issue). So probably it has something to do with the way CPDT delete test file.. also i am on f2fs file system (not sure if this has something to do with it)...
From your description I can imply that file-system metadata somehow doesn't get updated, when the file is created the free space is decreased while when it is deleted the free space isn't clocked back, After the reboot free space gets re-conciliated. There might be some workaround that CPDT might apply to force metadata updates. Though given no actual space is lost and the file is deleted I wouldn't consider the case worth of further investigation. I doubt there're many people facing same issue (and using custom ROM with file system tweaks) and the workround is unlikely to be easy and not affecting the majority of users (if e.g. I somehow force file metadata updates on each write that can affect the measured figures significantly).
Anyways, thanks for the issue and assistance!
Right, Got it. Thanks for your assistance too.. 👍
Hi. I am not sure if its expected behavior or not but everytime we run a test, at the end of the test it wont delete test file hence filling out space. Check the below screenshot, i ran test 4 times with 1 GB file size... Hope you will look into this issue. Thank You