Ram or cpu - XPERIA X8 Q&A, Help & Troubleshooting

While using a ics or jb the o.s eats up all the ram but we do have swap to get enough of extra ram required so if we use swap with a good class sd card, is the ram usage still a fact that affects the performanceof these Rom.. Or its just our x8's cpu then, that degrads the performance..

Sidy said:
While using a ics or jb the o.s eats up all the ram but we do have swap to get enough of extra ram required so if we use swap with a good class sd card, is the ram usage still a fact that affects the performanceof these Rom.. Or its just our x8's cpu then, that degrads the performance..
Click to expand...
Click to collapse
it is not problem only cpu,ram we have slow I/O
so if you set up swap on good sdcard it probably will still lag

Swap is not working as you think, your phone wont have more ram. Swap is like windows page file.
Sent from my E15i using xda app-developers app

I have experimented with swappiness, and if I did set it to 0, it didn't swap, even when it was very needed (and that is surprising because it should use swap in case of low RAM, even with 0 swappiness). Apps were closing instead, and the whole system was unstable because of low RAM.
When I set it to 100, it began to swap. It became stable but it was slow because it swapped out a lot of things (it had always 70-80 MB free memory).
So I think setting swappiness to 50 or 60 is ideal (I didn't try it), because it will be stable and fast at the same time.
I made some script files for setting swappiness to 0, 20, 40, 60, 80 and 100, tell me if anyone needs them, and I will upload them.
Also using zRam with normal swap, and 50 swappiness might be a good thing too.

ICS and JB lag on our devices due to both the weaker cpu and less ram.
But if we had around 512 mb ram, ics and jb would run smoother with 600mhz cpu too..
so according to me the ram factor is the one which makes ics and jb lag on our phones.
And about swap, it works only when the ram is below 5-10mb.
so i think that it does not helps us much...

har****group said:
ICS and JB lag on our devices due to both the weaker cpu and less ram.
But if we had around 512 mb ram, ics and jb would run smoother with 600mhz cpu too..
so according to me the ram factor is the one which makes ics and jb lag on our phones.
And about swap, it works only when the ram is below 5-10mb.
so i think that it does not helps us much...
Click to expand...
Click to collapse
But with a higher swappiness you can get at least 60 MB free RAM. Nevermind, it doesn't make ics and jb run smoother. But it's like not the low RAM causes those roms to run slowly. I am using MiniCM7 with 128 MB compcache and it is very smooth, smoother than using normal swap, even when playing very heavy games. And on jb and ics no matter if i use swap or zRAM (128 MB), it stays slow.

Lajbymester said:
But with a higher swappiness you can get at least 60 MB free RAM. Nevermind, it doesn't make ics and jb run smoother. But it's like not the low RAM causes those roms to run slowly. I am using MiniCM7 with 128 MB compcache and it is very smooth, smoother than using normal swap, even when playing very heavy games. And on jb and ics no matter if i use swap or zRAM (128 MB), it stays slow.
Click to expand...
Click to collapse
How did you make 128 mb zRAM?

Related

How much RAM is free on your galaxy s? No himem kernal support

My friend just got his phone from unlocked mobiles, i am still waiting for mine from Handtec... argh... but i just got him to check how much free memory he had from looking at advanced task killer and he only had 37MB free!!? Got him to kill everything and he only got about 130MB free in total.
Can other people check theirs to see, because its looking like the same problem that happened with the nexus one where only 256MB of the 512MB RAM was available to use, until they upgrade it to Froyo 2.2 or change the kernal to allow for Hi Mem support.
rubbish if they havent sorted this!
anyone?
ya.. its the same because of the limitation in 2.6.29 kernel not the phone. More reason to bug Samsung to upgrade to froyo or root the device
Yeah i don't think they've fixed it, ,my phone only reports about over 100 meg free.
where do you go to see memory available?
122m Avail. memory using adv task killer.
bugger, i thought they would have at least sorted out the kernal to support himem. if XDA developers can do it for android 2.1 then why cant samsung! very lame and annoying as I have seen my friends phone slow down quite a few times now.
I flashed froyo JPD + voodoo lagfix and my RAM manger shows
191 / 304 MB.
I choosed level 1 and 2 and clean memory, now it is using 144 MB.
I guess it is supposed to show 512 MB.
If I kill everything, 142M free (stock JVK). I used to be able to get ~170M free with JPY...
I'm of the, sometimes controversial, opinion that unused RAM is wasted RAM though and don't really care how much is free - as long there's no lag!
Valeo said:
I'm of the, sometimes controversial, opinion that unused RAM is wasted RAM though and don't really care how much is free - as long there's no lag!
Click to expand...
Click to collapse
I have same opinion. We will never see 512mb ram available, as someones may think..we HAVE 512mb ram, but due technical issues, it won't be all usable for us..and as a linux based system, it's good to have mem full as possible. Generally speaking...
There is many topics about ram in xda..with lots of information..
sent from my i9000 w/ xda premium
209\329, jvk
As far as i can remember, we don't see the whole 512 mb RAM (or at least 400+) because of PowerVR GPU, which reserves a lot of ram for itself.

[MOD] Compcache on 2.03.405.3

Hi guys,
I compiled compcache and lzo compression modules for 2.03.405.3. For those of you that don't know what compcache is... it's a compressed block device in RAM which acts as swap disk. Because it is compressed it basically extends you RAM to some extent. It is also used in kyosa's CM6 ROM.
You can test it by doing:
Code:
insmod lzo_compress.ko
insmod lzo_decompress.ko
insmod ramzswap.ko disksize_kb=20480
swapon /dev/block/ramzswap0
...this loads needed kernel modules, makes/initializes one device with size of 20 MB and makes swap space on it.
Please feel free to test and report back.
Really really interesting..
Do you have found improvements? I'll try it asap!
Ps when do you take the source of compcache? Thanks!
Sent from my HTC Legend using XDA App
good job on bringing it out!
although after downloading, installing, and running it, did about 10 benchmarks (5 with compcache, 5 without) i kept losing performance with compcache...
so i decided to run it on my phone for awhile, to see after effects with it running for a little while, i noticed that my rom started graphically being choppy and slower after time...
quite interesting.........
Quanny2000 said:
although after downloading, installing, and running it, did about 10 benchmarks (5 with compcache, 5 without) i kept losing performance with compcache...
Click to expand...
Click to collapse
Yes, compcache has its own drawbacks... especially on slower processors - it can potentially drain more battery juice because of constant compressing/decompressing. And yes, it slows down over time that's for sure.
How big is your compcache swap?
BlaY0 said:
Yes, compcache has its own drawbacks... especially on slower processors - it can potentially drain more battery juice because of constant compressing/decompressing. And yes, it slows down over time that's for sure.
How big is your compcache swap?
Click to expand...
Click to collapse
20mb as stated in the original post...
Sent from my Legend using XDA App
Compcache is not a good idea on most phones.
It confuses the lowmemorykiller, because lowmemorykiller checks how much space is available in the RAM, it doesn't check how much is available in total due to compcache.
Also, Legends have a quite decent amount of RAM, 320 MB, which fits the CPU performance perfectly.
Just my $0.02.
Well, low memory killer is not an app but kernel module/driver. And it has bunch of parameters that can be set via /sys/module/lowmemorykiller/parameters in conjunction with settings in /proc/sys/vm. If you run compcache, I suspect that you can and know how to tune those parameters so your kernel won't explode...
It is so much good idea as also bad idea. It depends on how are you using it and why. Soccer ball can also be a deadly weapon, but that doesn't mean we stop playing soccer with it

Milestone available memory :(

My milestone run MIUI rom 1.7.8. Available memory is about 20-30 MB , so when I opened camera and taked a picture, It stucked there for a couple minutes. Then I rebooted my phone and Available memory is 40-50 MB, and nothing wrong with the camera ?? How can I fix the memory problem?? please help
Sorry for my English
I do believe that's because when you had 20~30 mb free, there were many others apps running in memory.
The camera app froze the phone 'cause it had no free memory.
When you restarted your phone you had more free memory because you were not running all those app you probably were before.
Sucks, but Milestone's memory is really low
felipefill said:
I do believe that's because when you had 20~30 mb free, there were many others apps running in memory.
The camera app froze the phone 'cause it had no free memory.
When you restarted your phone you had more free memory because you were not running all those app you probably were before.
Sucks, but Milestone's memory is really low
Click to expand...
Click to collapse
No man, I open task killer and kill everything. When I bought it , It had about 150 MB free memory man . So confuse ??
Lesson
mtnhan1996 said:
No man, I open task killer and kill everything. When I bought it , It had about 150 MB free memory man . So confuse ??
Click to expand...
Click to collapse
Ok clearly you are new to milestone. The thing is when you bought the phone it was probably running 2.1 eclair or 2.0 which uses very little ram: it had the least features (no jit or a2sd) hence it's the lightest on ram. However you have to understand that since froyo google has been trying to add more features to android and use exisitng resources to boost performance and since Google's flagship phone at the time of froyo was the nexus one (which had 512mb of ram whereas the milestoen only has 256mb of ram) and so they used ram to boost performance which is essentiall what JIT is. So there's an issue. The milestone is already short on ram and 2.2/2.3 uses more ram which is why they are sometimes slower (not all, something like froyo mod or cronos ginger/ho!no! is bloody fast) which is why you have less free ram.
but over to MIUI which has even MORE features than stock gb which means it uses up even MORE ram which is why you have so little free ram. use this script, it should help the ram issue http://forum.xda-developers.com/showthread.php?t=991276
thre3aces said:
Ok clearly you are new to milestone. The thing is when you bought the phone it was probably running 2.1 eclair or 2.0 which uses very little ram: it had the least features (no jit or a2sd) hence it's the lightest on ram. However you have to understand that since froyo google has been trying to add more features to android and use exisitng resources to boost performance and since Google's flagship phone at the time of froyo was the nexus one (which had 512mb of ram whereas the milestoen only has 256mb of ram) and so they used ram to boost performance which is essentiall what JIT is. So there's an issue. The milestone is already short on ram and 2.2/2.3 uses more ram which is why they are sometimes slower (not all, something like froyo mod or cronos ginger/ho!no! is bloody fast) which is why you have less free ram.
but over to MIUI which has even MORE features than stock gb which means it uses up even MORE ram which is why you have so little free ram. use this script, it should help the ram issue http://forum.xda-developers.com/showthread.php?t=991276
Click to expand...
Click to collapse
Thank you very much, so now I got 2 options ,right? I can flash froyo mod instead of MIUI or I can use the script to icrease ram a little bit huh?
mtnhan1996 said:
Thank you very much, so now I got 2 options ,right? I can flash froyo mod instead of MIUI or I can use the script to icrease ram a little bit huh?
Click to expand...
Click to collapse
well yes and no. in my experience you can have miui with zepplinrox's script but still only have around 30-45mb of free ram whereas on froyomod you can get far more.
I liked using cronos ginger but the thing is feeyo's roms have a lot of bugs and arent updated to the latest sources which is why they are usually a little bit behind.
Cronos GB 1.5.0 is really fast. And yes, it has bugs, but nothing impossible to live with.
This is the fastest GB rom I've tried ..
thre3aces said:
well yes and no. in my experience you can have miui with zepplinrox's script but still only have around 30-45mb of free ram whereas on froyomod you can get far more.
I liked using cronos ginger but the thing is feeyo's roms have a lot of bugs and arent updated to the latest sources which is why they are usually a little bit behind.
Click to expand...
Click to collapse
With the script, you can use slot 3 to choose how much free ram you want.
Performance levels out beyond 30mb free tho.
And android will make more ram available if needed anyway.
I use Froyomod and I have around 37 MB free after startup. I tried to play Cut the rope but it keeps killing it. Also happens with Google Maps. Could this be a problem of low memory?
ruisan said:
I use Froyomod and I have around 37 MB free after startup. I tried to play Cut the rope but it keeps killing it. Also happens with Google Maps. Could this be a problem of low memory?
Click to expand...
Click to collapse
yea it is. but if your on froyomod why not try to use advanced task killer and zepplinrox's supercharger

[Q] Change graphics memory size

As I previously read, out of the 512 MB of our O2X's, some 128-140 MB are reserved for the Tegra chip-set, and the rest of 380 MB are available to Android and applications.
With Froyo, there were usually 180-200 MB of memory free after booting/killing all apps, and like 90-130 MB free after normal usage. I'm not sure, but if I remember correctly, in the running apps screen, the sum of the used/available memory summed up to about the previous stated 380 MB.
After applying the GB update, after booting/killing all apps there are only 140 MB free and about 60 MB after some usage. If I go to Manage Apps -> Running apps, the sum of the used and available memory is around 310-320.
My question is: why is there less memory available in GB? Has LG increased the graphics memory from 128 MB to 192 MB? If yes, is it possible to change this allocation? Or is there a ROM that uses less graphics memory?
Maybe GB reports available memory differently, but it's definitely noticeable that there's less RAM available. If switching from browser to another app, with Froyo the page loaded was kept in memory, however with GB the page always has to be reloaded even if the switch lasted like 20-30 seconds.
Edit: I'd like to use less graphics memory and have more RAM so my apps run faster.
No the Vram is the same. The phone still has 380 mb ram to use for the OS and apps. Also free ram is wasted ram since apps are not cached so they will not launch faster.
taxas said:
No the Vram is the same. The phone still has 380 mb ram to use for the OS and apps. Also free ram is wasted ram since apps are not cached in for they will launch faster.
Click to expand...
Click to collapse
And therefore taskplanners are also not needed ;-)
KillerbeeNL said:
And therefore taskplanners are also not needed ;-)
Click to expand...
Click to collapse
Not completely true. Android kills automatically unneeded processes, that's true, but sometimes it happens that an app remains in background and uses the 100% of the CPU, so i use the task killers to terminate it.
Try Super charger, very efficient and not as resources consuming than apps. Search the dedicated thread.
And I don't think there is a way to free graphical memory. I don't think it's software driven but physical...
The only thing that had been made is to free the reserved memory for OTA LG service, that leaves you some more memory, but only available in some roms.
Striatum_bdr said:
Try Super charger, very efficient and not as resources consuming than apps. Search the dedicated thread.
And I don't think there is a way to free graphical memory. I don't think it's software driven but physical...
The only thing that had been made is to free the reserved memory for OTA LG service, that leaves you some more memory, but only available in some roms.
Click to expand...
Click to collapse
Its possible to give the GPU less memory, different defs have done it (i.e benee). But as far as i know most of them removed that tweak since it was causing alot of bugs.
And yes, free ram are most likely wasted ram.
Sent from my Optimus 2X using Tapatalk
If ya want to change vram look at this: https://raw.github.com/gist/1170959/73e5f41b1ad8b3bb65c8bd22d422a4fd877204a3/CarveoutMemory
It contains a little info about the things you need to change. Some skills required though
kiljacken said:
If ya want to change vram look at this: https://raw.github.com/gist/1170959/73e5f41b1ad8b3bb65c8bd22d422a4fd877204a3/CarveoutMemory
It contains a little info about the things you need to change. Some skills required though
Click to expand...
Click to collapse
Hi kiljacken !
I remember that you've made some times ago a kernel with 64mb more of ram...
Also for the stock rom...
butI can't find it anymore...
Any help?
Thanks for the replies guys!
It seems like if possible, it's very complicated to change the video memory allocation, so I'll leave it like that.
hey all!
i have question like that! im working on electronic factory and have no problems with solder out and in BGA chips even the smallest ones! now the question! if i will solder out the ram chip and solder back in 1GB ram chip of the same tipe and company(i have acces to all the part available on the market)?
oleg1981 said:
hey all!
i have question like that! im working on electronic factory and have no problems with solder out and in BGA chips even the smallest ones! now the question! if i will solder out the ram chip and solder back in 1GB ram chip of the same tipe and company(i have acces to all the part available on the market)?
Click to expand...
Click to collapse
How small is the solder required? Would be amazing if we could upgrade.
Sent from my LG-P990 using Tapatalk
oleg1981 said:
hey all!
i have question like that! im working on electronic factory and have no problems with solder out and in BGA chips even the smallest ones! now the question! if i will solder out the ram chip and solder back in 1GB ram chip of the same tipe and company(i have acces to all the part available on the market)?
Click to expand...
Click to collapse
I'm very unsure. I am sure though, that both kernel and boot image changes would be needed to run with the added memory
i think it's impposible to change the graphic memory size, maybe RAM hack? if you want to free RAM just use supercharger, i already used that and my free ram about 117-130 MB
It's completely possible, it's something that's controlled by the kernel.
Such kernels already were in the spring which reduced video memory by 64 Mb
Rusty! said:
It's completely possible, it's something that's controlled by the kernel.
Click to expand...
Click to collapse
so if I'm understanding correct if i will solder in new memory chip all i will need is to find how to change the ram value from 372 to 872?
oleg1981 said:
so if I'm understanding correct if i will solder in new memory chip all i will need is to find how to change the ram value from 372 to 872?
Click to expand...
Click to collapse
I suppose if LG's programmers were careful enough not to hard-code any values, the phone should detect the memory like a computer detects new RAM. However ROMs which target multiple devices with different RAM, like CM, shouldn't have such issues...
I would LOVE 1GB ram! What would such ram cost?
Guys, RAM amounts are hardcoded into the kernel, so a custom kernel would be needed to use the ram. IF it's even possible to use such amounts of RAM. There migth be limitations in the bootloader, which will cause problems, but kernel changes should be enough. If you try it on your device I would be glad to provide a kernel that supports that amount of RAM, but I don't think it's doable. AFAIK the RAM is tightly packed in the device with many other components. It might even be built into the SoC making it impossible to change. But IDK, feel free to try what you want, but remember it's your device that gets destroyed if something goes wrong.
Do it OP!
Sent from my Optimus 2X using Tapatalk

[Q] [9001]Ram?

Well as we all know our phones have 512 RAM but only 357 is usable.Why...I realy want the rest of the ram...mostly for multi tasking. So the question is HOW can we increse ur usable RAM to 512...and what system uses the rest...ram...allready when I start my phone the "system" takes more then 154 mb...with 0 apps running.
Choose a kernel with bigmem. They are all pushing 400 MB of available ram on the i9000.
SlimICS is just under 80 MB including Google apps.
To get the most out of multi-tasking you'll want to set the amount of ram the minfree taskkiller will keep, really low, like 25MB.
The 512mb of RAM is devided into two, for systems apps and for the user (you) you get 357mb while the other 100 odd is being used for system processes
Sent from my GT-I9300 using xda premium
Thx all and I understand that the systen uses 100 but what does use the 155 mb when I start my phone; we realy nees to make a kernel that supports at least 400+ mb it will help a lot for multi tasking
VisualTech48 said:
Well as we all know our phones have 512 RAM but only 357 is usable.Why...I realy want the rest of the ram...mostly for multi tasking. So the question is HOW can we increse ur usable RAM to 512...and what system uses the rest...ram...allready when I start my phone the "system" takes more then 154 mb...with 0 apps running.
Click to expand...
Click to collapse
You can't. These phones have 512mb of RAM. ~100mb is used as Shared Graphics Memory like on Intel based laptops and such. The rest is then allocated to the system. This usually leaves around 350mb - 400mb of RAM available.
I'm not 100% on this because I'm new to Android (Had my SGS for 2 weeks). I think when Kernels have "bigmem" or differing amounts of RAM all they're doing is reducing the amount allocated to the GPU and therefore giving the system a bit more to run with.
well that is what i want more ram, "bigmem", if anyone can make it to an kernel for I9001 I/We will be very happy...
Try and apply called RAM BOOSTER PRO to free a lot of ram it's very useful
Sent from my GT-I9000 using xda premium

Categories

Resources