Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,248 Members 39,041 Now Online
XDA Developers Android and Mobile Development Forum

Phone slows down when accessing internal memory

Tip us?
 
suba_ri
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Jul 2011
Location: Rijeka
Default Phone slows down when accessing internal memory

Hi, I'm using Cyanogenmod 10.1.2 stable version with the kernel that comes with this release.

I noticed a strange problem, every time I'm saving something to internal memory, phone slows down.
Example: I take a picture and I want to share it via WhatsApp, everything slows down, even gets unresponsive for 20 seconds. The same thing happens when I take a screenshot, or when I download / update any app.

Apart from that, the phone doesn't seem to have any other problems.
 
MidnightDevil
Old
#2  
MidnightDevil's Avatar
Senior Member
Thanks Meter 811
Posts: 2,153
Join Date: Apr 2012
Location: Lisbon
Quote:
Originally Posted by suba_ri View Post
Hi, I'm using Cyanogenmod 10.1.2 stable version with the kernel that comes with this release.

I noticed a strange problem, every time I'm saving something to internal memory, phone slows down.
Example: I take a picture and I want to share it via WhatsApp, everything slows down, even gets unresponsive for 20 seconds. The same thing happens when I take a screenshot, or when I download / update any app.

Apart from that, the phone doesn't seem to have any other problems.
The phone isn't the fastest thing in the world but the behavior your describing isn't quite "normal".
For a start, in my opinion the CM native kernel is a little slow, I'm gonna ask you to try Iodak kernel (for now) to see if helps.
Flash 9.5 from this thread: http://forum.xda-developers.com/show....php?t=2270308

I'd eventually try an app to measure the IO performance in the internal memory for comparing, but I can't think of an app now (no access to play store atm), so let us know if anything changes after flashing Iodak kernel.

Mobile: LG Optimus 4X HD
Mobile: Google Nexus 5
Tablet: Google Nexus 7 2013 Wii

Be tolerant and use Good & Common HTC Sense! :P.

--- Interesting Reading ---
Android Terms / Slangs / Definitions and Guides Revised
What exactly batterystats.bin does.

Get 15GB of Free Space!!!

Don't post just to increase your post count, make sure you know what you're talking about before posting to reduce the amount of false information.
MD

 
suba_ri
Old
(Last edited by suba_ri; 4th June 2014 at 03:41 PM.) Reason: adding more info
#3  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Jul 2011
Location: Rijeka
Quote:
Originally Posted by MidnightDevil View Post


The phone isn't the fastest thing in the world but the behavior your describing isn't quite "normal".
For a start, in my opinion the CM native kernel is a little slow, I'm gonna ask you to try Iodak kernel (for now) to see if helps.
Flash 9.5 from this thread: http://forum.xda-developers.com/show....php?t=2270308

I'd eventually try an app to measure the IO performance in the internal memory for comparing, but I can't think of an app now (no access to play store atm), so let us know if anything changes after flashing Iodak kernel.
Sorry, I forgot to mention that this kind of behavior happened on stock ROM as well as on CM with Iodak and Werewolf kernel. My friend was using stock CM10 kernel on her phone and everything seemed fast enough so I tried it also but the problem remains.

EDIT:
I ran this benchmark: https://play.google.com/store/apps/d...mark.pt_mobile
My results for internal storage write were 11,9 MBytes/Sec and for reading: 31,7 MBytes/Sec
 
MidnightDevil
Old
#4  
MidnightDevil's Avatar
Senior Member
Thanks Meter 811
Posts: 2,153
Join Date: Apr 2012
Location: Lisbon
Quote:
Originally Posted by suba_ri View Post
Sorry, I forgot to mention that this kind of behavior happened on stock ROM as well as on CM with Iodak and Werewolf kernel. My friend was using stock CM10 kernel on her phone and everything seemed fast enough so I tried it also but the problem remains.
Do you notice that behavior only with WhatsApp? Can you give us more examples?

Also, you can use AndroBench (https://play.google.com/store/apps/d...da.androbench2) and post the results?
I'm thinking that something else is causing the lag, WhatsApp sometimes just hangs on me for a while (also uses sdcard to store logs).

Mobile: LG Optimus 4X HD
Mobile: Google Nexus 5
Tablet: Google Nexus 7 2013 Wii

Be tolerant and use Good & Common HTC Sense! :P.

--- Interesting Reading ---
Android Terms / Slangs / Definitions and Guides Revised
What exactly batterystats.bin does.

Get 15GB of Free Space!!!

Don't post just to increase your post count, make sure you know what you're talking about before posting to reduce the amount of false information.
MD

 
suba_ri
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Jul 2011
Location: Rijeka
Quote:
Originally Posted by MidnightDevil View Post


Do you notice that behavior only with WhatsApp? Can you give us more examples?

Also, you can use AndroBench (https://play.google.com/store/apps/d...da.androbench2) and post the results?
I'm thinking that something else is causing the lag, WhatsApp sometimes just hangs on me for a while (also uses sdcard to store logs).
WhatsApp works fine when I'm sending a picture that was previously saved.
This kind of behavior happens also with Kik, Facebook messenger, and in general;
When I update any application, the phone becomes almost unresponsive for 10-20 seconds, every single time.

Here is the screenshot from androbench: https://db.tt/KAoi3zoX
I created this screenshot and it took 10 seconds for the phone to start reacting normally again..
 
MidnightDevil
Old
(Last edited by MidnightDevil; 4th June 2014 at 04:59 PM.)
#6  
MidnightDevil's Avatar
Senior Member
Thanks Meter 811
Posts: 2,153
Join Date: Apr 2012
Location: Lisbon
Quote:
Originally Posted by suba_ri View Post
WhatsApp works fine when I'm sending a picture that was previously saved.
This kind of behavior happens also with Kik, Facebook messenger, and in general;
When I update any application, the phone becomes almost unresponsive for 10-20 seconds, every single time.

Here is the screenshot from androbench: https://db.tt/KAoi3zoX
I created this screenshot and it took 10 seconds for the phone to start reacting normally again..
I experienced lots of different behaviors, sometimes even with the same configuration. Becoming unresponsive for a while when updating apps isn't uncommon. I experience that, I'm sure lot's of users around here do. You could try changing the sdcard readahead to 2048 and see if makes a difference (or to 1024, etc..) and see what configuration your friend's phone is using. You can also use Kernel Tuner, Performance Control or any tweaking app which allows you to change governors / cpu frequencies / sdcard readahead to changes these things.
Also, OOM values can also influence the user experience (these can be checked / changes using Kernel Tuner for example).

Will run Androbench soon as I can and i will post and compare.

Update:
Alright here's mine - Although there are differences (specially on the sequential write), I don't think it's exactly that, that is causing your issue.
Can more users do the test with Androbench and post their results ?


Mobile: LG Optimus 4X HD
Mobile: Google Nexus 5
Tablet: Google Nexus 7 2013 Wii

Be tolerant and use Good & Common HTC Sense! :P.

--- Interesting Reading ---
Android Terms / Slangs / Definitions and Guides Revised
What exactly batterystats.bin does.

Get 15GB of Free Space!!!

Don't post just to increase your post count, make sure you know what you're talking about before posting to reduce the amount of false information.
MD

 
suba_ri
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Jul 2011
Location: Rijeka
Here is the result from the friends phone:
https://db.tt/t5E9iZDY

From looking at this my phone should even be faster
 
MidnightDevil
Old
#8  
MidnightDevil's Avatar
Senior Member
Thanks Meter 811
Posts: 2,153
Join Date: Apr 2012
Location: Lisbon
Looking at the three images, it makes me thing its kinda random almost lol.

Try fstrim from the market... run it.. maybe will help... I'm a little lost here. Need more info.. you saying this happened to every rom you tried?

Mobile: LG Optimus 4X HD
Mobile: Google Nexus 5
Tablet: Google Nexus 7 2013 Wii

Be tolerant and use Good & Common HTC Sense! :P.

--- Interesting Reading ---
Android Terms / Slangs / Definitions and Guides Revised
What exactly batterystats.bin does.

Get 15GB of Free Space!!!

Don't post just to increase your post count, make sure you know what you're talking about before posting to reduce the amount of false information.
MD

 
suba_ri
Old
#9  
Junior Member - OP
Thanks Meter 0
Posts: 12
Join Date: Jul 2011
Location: Rijeka
It happened on stock ROM and on CM 10.1.2 stable (with iodak kernel and with cm kernel).
I didn't try any other ROMs.
I just ordered Nexus 5 and I will give this phone to my brother, so while I'm wiping all the data I can try another ROM if you think that could help..
 
MidnightDevil
Old
#10  
MidnightDevil's Avatar
Senior Member
Thanks Meter 811
Posts: 2,153
Join Date: Apr 2012
Location: Lisbon
Quote:
Originally Posted by suba_ri View Post
It happened on stock ROM and on CM 10.1.2 stable (with iodak kernel and with cm kernel).
I didn't try any other ROMs.
I just ordered Nexus 5 and I will give this phone to my brother, so while I'm wiping all the data I can try another ROM if you think that could help..
In my opinion, I'd use CM 10.1.2 stable (android 4.2.2), runs fantastic and everything works. If your brother wants to give a go at KitKat, go ahead, but stability? CM10.1.2. For sure.
There's also a couple Stock roms around here and the web, there's one called "JBS (just better stock), google it it's light and fast.

Mobile: LG Optimus 4X HD
Mobile: Google Nexus 5
Tablet: Google Nexus 7 2013 Wii

Be tolerant and use Good & Common HTC Sense! :P.

--- Interesting Reading ---
Android Terms / Slangs / Definitions and Guides Revised
What exactly batterystats.bin does.

Get 15GB of Free Space!!!

Don't post just to increase your post count, make sure you know what you're talking about before posting to reduce the amount of false information.
MD


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes