[Q] Can Cache be converted into RAM? - Milestone XT720 General

I recently installed root explorer in my milestone xt720 (dexter's froyo) and i found out that there is more than 100 MB free memory in cache folder, while on the other hand i am running low on memory for my apps and RAM. I barely get 30 MB free with no apps running in the background. This makes my phone really slow even when its overclocked to 1Ghz. So is there any way i can use some of the free memory from cache as RAM or as data for downloading apps? Thanks

Nope. Just nope.

Yup, FJFalcon is right. The idea sounds pretty good. If you could use the internal flash as a swap it seems like it would be much faster than the sd-card swap. But there are too many problems with this idea. First, it that would involve some sort of weird partitioning of the internal memory (which Motorola prevents on this phone -- locked bootloader). Second, on most ROMs with a clean install you get something around 70MB free space on /system and around 130MB free space on /data. So you're really looking at 200MB at most, and that's assuming you don't install any of your apps on the internal space and no cache for any programs. You COULD throw all the apps on the sd-card (Link2SD), but you'd get a performance hit there and then with no cache...ouch. It would get pretty complicated pretty quickly. So I think that's the long answer for FJFalcon's reply.

thanks alot fjfalcon and thejaycan
but as far as ive seen this phone never uses upto 100 MB cache and, using this phone for so long, it gets frustrating seeing all that space wasted!
i wish something could have been done.

Related

Why cant we access ROM and use it as RAM?

i know the standard difference between read only memory and random access memory. but how come there isnt a way to use ROM as RAM? i mean think about it. we use our sdcards as virtual ram (SWAP) which is basically dependent on the class of the card. by accessing the ROM and using it as RAM dont we get the fastest "class" possible? I mean i barely use my ROM for anything except the OS installation since i use APP2SD. is the reason we use APP2SD is because running apps from the ROM would be slower than running it from the SD? also, i have a MT3G and we all know those only come with 192 mb RAM and 512 mb ROM. i am running cyanogen ROM which is quick as hell, but im still really curious on why taskiller shows only 30 mb free. how the hell is that possible? your saying that my OS is using 84% of my RAM. HOW THE HELL IS THIS CONSIDERED EFFICIENT?! I am just having a hard time believing that a OS can use THAT much RAM when its not doing anything except..well..running the OS! do i have a point or what? i could ask my friend whos a programmer but i donno if hes more into the hardware or software aspect. I kinda wanna install donut alone and see what it runs with nothing installed except taskiller. and oh ya, my phone isnt running more than like 3 apps, i mean at MAX, i get like 40mb RAM free. anyways people. hit me up. i WANNA LEARN!
pre wm5 devices only had ram and the user could device what was used as storage and what was normal ram
this was a problem because loss of power meant loss of storage
then they moved away from using ram as storage as flash became cheap
problem with using flash as ram is that flash is much much much slower then normal ram
more so for writing but also reading
another problem is that flash have a limited number of writes you can do before the flash storage cell die kinda like a cd-rw/dvd-rw normal ram is written too a lot and the limited number of writes would be a problem there unlike with storage
awesome! thanks for the clarification. i understand now. i knew there was a good reason. can anyone explain where my RAM is going tho? 192mb down to 30mb. seems like something is wrong.
well the os use some
the rest would be eaten by 3th party programs like today item stuff
if you use the htc today thing rather then plane wm today
and programs started by /windows/startup
or started by entries in the registry

[Q] Ram issues withICS

After updating from GB to ICS 4.0.4 using the official update my nexus has slowed down.Earlier available free RAM always used to be above 180 mb.
But now it is always less than 130 mb.
As a result the experience has become really sluggish..
Hi...
Maybe u have to many app running in backround...
sent from my nexus s - xda
i checked on the running apps also
even if i close all the apps (except android keyboard which is taking 11mb) available free memory is 130-140 mb only.
That seems about right. I have about 140 free once everything has been set up(google voice always running). But you said the phone was running sluggishly. Have you installed any other apps that weren't on your phone before the update? My phone got the official OTA and was pretty fast even before I rooted it again. Last resort would be a factory reset.
sdutta said:
After updating from GB to ICS 4.0.4 using the official update my nexus has slowed down.Earlier available free RAM always used to be above 180 mb.
But now it is always less than 130 mb.
As a result the experience has become really sluggish..
Click to expand...
Click to collapse
How is it sluggish with 130mb free
Got to be something else causing this
With ram script I don't go under 90 and still really quick snappy
chronophase1 said:
That seems about right. I have about 140 free once everything has been set up(google voice always running). But you said the phone was running sluggishly. Have you installed any other apps that weren't on your phone before the update? My phone got the official OTA and was pretty fast even before I rooted it again. Last resort would be a factory reset.
Click to expand...
Click to collapse
I hav removed the 3-4 apps dat i installed after the update.But still no improvement.
For the people who have updated to ICS on nexus can u plz tell wat is the avg. available free RAM for you
sdutta said:
For the people who have updated to ICS on nexus can u plz tell wat is the avg. available free RAM for you
Click to expand...
Click to collapse
I came from GB 2.3.6 and upgraded to ICS 4.0.3. (no root/mods)
With ICS 4.0.3 the average free RAM was around 70-90 MB. After demanding programs everything felt a little sluggish for a few moments. The biggest problem was the launcher (Nova) that often would redraw all the icons.
With the 4.0.4 (also stock) i had 80-90 MB free and everything ran noticeably smoother.
Then i rooted and flashed the Matr1x kernel. Now i typically got around 120-150 MB free.
stock rom are bad... i tip to flash mod rom... the best i think is cyberGR rom....
can anyone suggest some ways to free up more RAM to atleast 180-190mb
Get a ROM and kernel with bigmem support? I just flashed the latest matr1x kernel and constantly have over 180mb free. I don't really need all the extra RAM as my phone has never really bogged down.
130? I'm lucky to stay above 60mb free. No sluggishness though, and I use the stock launcher, and it doesn't redraw.
Sent from my Nexus S using Tapatalk 2
sdutta said:
can anyone suggest some ways to free up more RAM to atleast 180-190mb
Click to expand...
Click to collapse
You need a custom rom. CM9 V6 works the best for this. http://forum.xda-developers.com/showthread.php?t=1399035
Basically when you install this. It just installs a new system which basically wipes all the useless crap you dont need on the stock rom. Also if that doesnt help. Try the free astro manager and its modules. It basically allows you to enter your phone data and SD card. And research on what to wipe and not to wipe.
Also if you dont mind. Wipe dalvik cache. It wipes your application data. I highly recommend you to research on wipe dalvik cache and cache.
is it possible that available free ram is less bcoz of cached apps.
GB didnt use cached apps unlike ICS
It is not particularly wise to draw far-reaching conclusions from the size of free RAM, in particular on Linux based systems.
Some used RAM can be anytime freed if necessary (cached/buffered/shared), otherwise it will enhance the general responsiveness of the system.
The Linux kernel manages RAM great, so you shouldn't worry about free RAM, unlike on Windows systems. If the system needs more RAM, Android will find the best possible way to produce it through removing really unneeded processes and services from RAM.
It can happen, that it seems you've got no free RAM, still the system is pretty responsive.
sdutta said:
After updating from GB to ICS 4.0.4 using the official update my nexus has slowed down.Earlier available free RAM always used to be above 180 mb.
But now it is always less than 130 mb.
As a result the experience has become really sluggish..
Click to expand...
Click to collapse
Having greater than 100 MB free is enough to create a smooth experience. Actually the more RAM your phone is using for recent apps, the better the experience is since your phone doesn't have to keep loading all of the app data into RAM. On the contrary, I would think the more RAM is used the less loading and therefore quicker app launching.
More RAM does not equate to a faster phone.
anglergab said:
It is not particularly wise to draw far-reaching conclusions from the size of free RAM, in particular on Linux based systems.
Some used RAM can be anytime freed if necessary (cached/buffered/shared), otherwise it will enhance the general responsiveness of the system.
Click to expand...
Click to collapse
That said, if you're looking at the memory display in "Running processes" in the Android settings, memory used for file cache or by cached background processes counts as "free".
In my experience, ICS does tend to use more memory than Gingerbread, but not so much so that it's a problem. I do run with 64 MB swap, which makes no appreciable difference to speed either way, but reduces the number of launcher restarts.
I usually have 50 to 60 MB free. My phone is very smooth at all times.
Eat at Joe's
tooy and then under the development section is the stock rooted tom that has a performance mod to ti. I would then save that to the phone and then in clock work mod do a factory reset three times and then install the performance mod and it will be alot better.

What is the best way to increase internal memory for the phone?

Title of thread.
Lilshaun said:
Title of thread.
Click to expand...
Click to collapse
run something besides the stock firmware. AOKP for example has a smaller memory foot print than the shipping firmware.
to be honest, you can't really do a damn thing, running a different rom will free up maybe 100mb.
I'm currently running cleanrom lite 1.0. However, I still find that I usually only have around 250 mb free to use even without any apps open.
Lilshaun said:
I'm currently running cleanrom lite 1.0. However, I still find that I usually only have around 250 mb free to use even without any apps open.
Click to expand...
Click to collapse
Running ver 1.1 and loving it. I dont care if it says 5mb free. If its running smoothly thats all that matters
Your question is about increasing internal memory. Unless you were to break the phone open and replace the chip (not sure how well that'd go but I'd think not so good), you cannot increase memory. You can run a lightweight rom but that just makes more available not increasing size. Also its unclear if you're talking about internal disc space such as the ad card that you'd see on many phones, or actual memory.
shgadwa said:
Your question is about increasing internal memory. Unless you were to break the phone open and replace the chip (not sure how well that'd go but I'd think not so good), you cannot increase memory. You can run a lightweight rom but that just makes more available not increasing size. Also its unclear if you're talking about internal disc space such as the ad card that you'd see on many phones, or actual memory.
Click to expand...
Click to collapse
I'm pretty sure he meant something along the lines of increasing the memory that's free, not actually opening up the phone. I hope..

Swap(virtual ram) space?

Before anyone rages at me, I have done a google search and an xda search.
I was wondering if it was possible to use the SD card as a virtual ram or swap space as some may call it. I tend to open tons of apps and games on my g2x and it quickly fills the 200mb ish ram that is available(this excludes OS and essential sys apps.) It would be super nice if i could partition off maybe 1-4gb as swap space and be able to open tons of games and other applications without ever needing to close them.
My G2X specs if it matters.
Cyanogenmod 7 latest nightly
faux kernel version 50
overclocked to 1.4ghz with a slight undervolt.
32GB SD card class 10
Edit: After further research on this, I have found a solution. An application called Swapper for Root or Swapper 2 will create a swap file on the sd card and do exactly this.
You don't want to. Sd cards are slow and it adds a lot of stress on it, decreasing the lifespan.
Am I the only one unable to use up a half gig of ram?
Sent from my LG-P999 using xda app-developers app
I've enabled 700mb of swap on mine and I don't see a lot of slow down. Only slow down I've encountered is with my sphere page changing effect but even so its it barley noticeable but this is probably because of the class 10 sd card.
Current stats on my ram usage according to terminal free command.
mem: total - 381972 used - 367880 free - 14092
swap: total - 716792 used - 126688 free - 590104
with ~123MB being used and with very minimal lag, I think its worth it for the way I use my phone.
That is awesome man. never even thought of that idea. please let us know how it works out after a week or so.
Sent from my LG-P999 using xda app-developers app
I've been using Swapper 2 along with SD -Booster for a coupe weeks now. And I am only running a 16gb class 4 card, but I do notice a difference in how the phone runs with multiple or RAM hungry apps, and now I find I don't need to use a task killer anymore to resolve lag issues.
I am using:
CM7 Hellfire Phoenix 2.2
Faux 049 kernel
OC usually 1200 with no UV
JIT compiler and Compcache RAM disabled
VM Heap Size 64mb
Swapper 2 set @ 200mb @boot
SD Booster set to 2048kb cache
Few other tweaks. Phone is fast and stable. And I use it heavily from streaming video from my private server on my home network, to gaming tons of HD games. And several of the games I have edited the XML file to unlock Tegra 3 graphics options. I play Dead Trigger on the Ultra High settings and those are for Tegra 3 chipsets and the phone doesn't skip a beat.
hey, my first post!
I wonder if there's any advantage of using emmc over your sdcard? Since it's internal shouldn't it be faster and less harmful?
buru898 said:
I wonder if there's any advantage of using emmc over your sdcard? Since it's internal shouldn't it be faster and less harmful?
Click to expand...
Click to collapse
There is definite differences between using your internal sd and external. But that depends on the class and read/write speads of your external. As far as swap goes, I do not think there would be much difference either ways since the linux/android kernel is built to keep ram space cleared when it needs it. I am constantly building ics/gb/jb on my linux machine with 8gb of ram and I have only seen my pc go into swap when i leave it on for weeks at a time. Swap only picks up in linux when the memory is overwhelmed. So, I really don't think there would be much benefit since almost all kernels run minfree and other tweaks to keep memory freed up for performance.
I wonder if we can use our data partition for swap or any other partition? Since swapper does have the option to use a partition as swap.

My Note is getting really slow

Recently my Note started getting very slow and sometimes lags... I clean memory and it sometimes helps for a while but most of the time it doesn't change much (although normally it uses max. 900MB anyway, so more than 1GB is free). I used trim in the past and it helped, but now it doesn't change a thing. I have 3GB free space, nothing really runs in background that could affect performance. The most lagging app seems to be Chrome (so I sometimes think maybe its newest version is the culprit), but others also lag sometimes (including the launcher).
I have a clean rom installed - normal Samsung latest update with root included, nothing fancy.
Could this be some hardware failure (flash problem maybe)? Or is it only software and I should clean the system or something? I have many things installed, but not many running. I tried using Greenify but it didn't change much.
I have had that a couple of times and normally find it is a badly behaving app. A full wipe and then just putting back the apps you really need one by one has always fixed it for me.
If you have a custom recovery, format your cache partition. Mine got horribly slow, I formatted cache and now it is very speedy again.
Sent from my SGH-T999L using xda app-developers app
How to format ??
masondoctorjt said:
If you have a custom recovery, format your cache partition. Mine got horribly slow, I formatted cache and now it is very speedy again.
Sent from my SGH-T999L using xda app-developers app
Click to expand...
Click to collapse
How is this done ?
Thanks. I will try to clear cache and find out which app might be causing problems.
try using LagFix to trim the garbage on the ssd.
I used trim before - didn't help.
By default my Note uses pegasusq governor with speeds from 25MHz to 1.7Ghz (so I suppose I have non-stardard kernel, I don't remember what I installed though). :laugh:
When I switch to interactive governor it works MUCH better, but I also rise the minimum 25MHz to something higher (currently I have 225MHz as minimum) - it looks as if it sometimes can't wake completely from a very low CPU setting and gets stuck on low setting (lagging like hell)...
Or maybe my kernel is buggy - I should clean the whole tablet and start over with new ROM and a standard kernel or something... I just have too many things there to even attempt that right now and too little time.
Thanks for your help, anyway.
Cache files by apps
We have had two issues with one of our note tablets.. The 32 gb one seems to not have this issue.But Bonnie my spouse uses hers more then i do for social media stuff . Hers is a white original 16 gb. I know there is slight hardware differences.
1 . tablet getting super slow.
2. Storage space wrong and being taken up for no reason.
I found on a website that helped do not remember the site
Down load a app from play store called Disk usage.
Look thou the apps in the chart. You will likely find 1 or more apps using a huge amount of cache files. For our tablet its always good Plus that is the worse .
the file was almost 5 gb.
Once you find the app that is causing such a huge cache file Go into settings/ apps
then find that app and delete its Cache.
It should speed up the device and restore lost storage space.
This is a KNOWN issue . i see many ask about in the past. I just found this solution.Sorry if its already be discussed or found
Thanks. I think this is the same problem - I got rid of the lags by freeing 3GB of space on the internal SD Card. Now it's just like new - no lags whatsoever.
Next time I will buy a tablet with at least 32GB so it will be harder to fill up.
Magnesus said:
Thanks. I think this is the same problem - I got rid of the lags by freeing 3GB of space on the internal SD Card. Now it's just like new - no lags whatsoever.
Next time I will buy a tablet with at least 32GB so it will be harder to fill up.
Click to expand...
Click to collapse
Or you could use FolderMount to move the Android folder to external sd. That tends to free up a lot of space.
Sent from my GT-N8013 using Tapatalk

Categories

Resources