in Stock ROM swap is enabled by default ! - LG Optimus 3D

Check it yourself.
Type in terminal:
su
cat /proc/meminfo
There is about 128Mb of swap.
What's your opinion about this?

would it be a big deal?

walterddr said:
would it be a big deal?
Click to expand...
Click to collapse
Actually I don't like the idea of swap in O3D
It may cause lags because we already have a dual channel 512MB ram
Is it necessary to have more 128MB of swap but slower? Also vm have to decide which is swap which is not swap...waste more cpu
Pls correct me if i was wrong
I added some "#" in /system/bin/swap_enable.sh...check it out

Yes it can cause some lags when dropping things to swap etc.
but maybe it can be sometimes useful?
Why lg did it in the stock ROM?
Do you notice any speed up after disabling it?

Yes before add those # I had some lags when finish an asphalt6 round, now lags gone.
On the other hand I thought because LG had a lot of bloatware in stock rom so they wanted to make sure there are enough memory, and they used swap.
I removed a lot of things that I don't need, tweak the minfree, vm, disable swap and everything still fine.

futranbg said:
Actually I don't like the idea of swap in O3D
It may cause lags because we already have a dual channel 512MB ram
Is it necessary to have more 128MB of swap but slower? Also vm have to decide which is swap which is not swap...waste more cpu
Pls correct me if i was wrong
I added some "#" in /system/bin/swap_enable.sh...check it out
Click to expand...
Click to collapse
Well, lg has a lot of crap in its stock rom.. i think its necessary

futranbg said:
Yes before add those # I had some lags when finish an asphalt6 round, now lags gone.
On the other hand I thought because LG had a lot of bloatware in stock rom so they wanted to make sure there are enough memory, and they used swap.
I removed a lot of things that I don't need, tweak the minfree, vm, disable swap and everything still fine.
Click to expand...
Click to collapse
I did the same but it still shows about 36mb of swap after the restart. Strange. I hope there will not be the case when eg. camera app or sth else will crash because of the lack of ram
So there is still 36mb swap script somewhere.

IFLPI said:
I did the same but it still shows about 36mb of swap after the restart. Strange. I hope there will not be the case when eg. camera app or sth else will crash because of the lack of ram
So there is still 36mb swap script somewhere.
Click to expand...
Click to collapse
probably you need to add 3 # in the beginning of each line. i did it that way and now have no swap at all.

I was mistaken. It's Ok now.

So what should we, inexperienced users, do?

stefankorun said:
So what should we, inexperienced users, do?
Click to expand...
Click to collapse
Everybody can try. You need root explorer. Open /system/bin/swap_enable.sh as text edit. Then just add 1 # before each line (3 lines). Reboot and experience yourself.
You may enjoy it or not...but at least you have 1 more choice

Won't you have less free RAM by doing this?

mrbandwidth said:
Won't you have less free RAM by doing this?
Click to expand...
Click to collapse
As far as i know the physical ram amount will not bechanged. Only it will be re-emptied earlier than it is with swap, which is practically no change in total.

wow this is really quite an eye opener, to think that lg opted to use swap because they new 512mb wouldnt cut it is quite bad in my eyes. i wonder if we can increase the amount of swap and see if that makes for more free active ram? as i find games like GTA3 it bogs down as its quite a memory hungry game

it was much better if LG added 1gb of ram to our phone from the beginning thought. i decide to exchange my optimus 3d for a atrix, photon or galaxy s 2 because im a heavy multitasking user, 512mb is not enought.

Related

Infuse ram

is there a way to increase the infuse ram?
well no and yes. you can't physically add ram very easily and i doubt the board has space for it even if you did have the specialized soldering equipment.
but there is a big ram mod on the galaxy s that was attempted on the infuse but was buggy that makes use of ram that was allocated for something else. if someone wants to do the kernel work i think something like 20-30 mb more could be available. i'm not really sure of the details but a stock galaxy s has like 300-315 mb available and most custom kernels make 335-345 available out of 384 physical (128 is video ram and i'm not counting that). the infuse physically has 512 mb so maybe we could use up to 470 if some work was done in that area. not really a big deal though, i dont have any lag associated with programs being dumped from ram and restarting. the 440 mbs that i have available now is plenty for a nice clean aosp rom.
if you really need more ram maybe swap space (the linux equivalent of a page file/virtual memory) could be setup on the sdcard. but that wont make the phone any faster, it would just give the cpu more work to do. it would strictly help with a situation where things were getting wiped from ram too often when ram was low.
Jack it up and park a SGS3 under it. :silly:
Dani897 said:
well no and yes. you can't physically add ram very easily and i doubt the board has space for it even if you did have the specialized soldering equipment.
but there is a big ram mod on the galaxy s that was attempted on the infuse but was buggy that makes use of ram that was allocated for something else. if someone wants to do the kernel work i think something like 20-30 mb more could be available. i'm not really sure of the details but a stock galaxy s has like 300-315 mb available and most custom kernels make 335-345 available out of 384 physical (128 is video ram and i'm not counting that). the infuse physically has 512 mb so maybe we could use up to 470 if some work was done in that area. not really a big deal though, i dont have any lag associated with programs being dumped from ram and restarting. the 440 mbs that i have available now is plenty for a nice clean aosp rom.
if you really need more ram maybe swap space (the linux equivalent of a page file/virtual memory) could be setup on the sdcard. but that wont make the phone any faster, it would just give the cpu more work to do. it would strictly help with a situation where things were getting wiped from ram too often when ram was low.
Click to expand...
Click to collapse
what rom and what launcher are you using becuase im experiencing abit of lag and i want it gone!!
Yoshiikim said:
what rom and what launcher are you using becuase im experiencing abit of lag and i want it gone!!
Click to expand...
Click to collapse
run this kernel:
http://forum.xda-developers.com/showthread.php?t=1134995
with this rom:
http://forum.xda-developers.com/showthread.php?t=1100625
^^^ lol. that kernel might have access to more ram but it's froyo. i doubt the lag the op is experienceing is ram related. but he can try it with it's misreported clock speeds and all.
my best experience with touchwiz roms is a stock debloated rom, odex, not deodex. and there is an overclock kernel around somewhere. the tw4 launcher works best for me, but of course that needs framework mods to run, the tw4.5 launcher in the market will work but some features don't work too well on the infuse. turn off auto rotate. the sony arc launcher and the latest tw3 launcher with looped scrolling are also nice. but i like tw4 for it's improved widget picker. the stock android widget picker is so slow.
best rom now is aosp. i'm running entropy's ics build but also enjoyed rem-ics. either the trebuchet launcher or the sgs3 launcher should be fine. i like folders in the app drawer on sgs3. but i keep my phone pretty clean, if you do a clean install with either a stock unmodified rom and custom kernel or a clean aosp rom and you still feel lag then you might want to invest in an sgs3.
If you got the knowledge you can rewright the code to use ram differently as noted earlier...but no amount of software hacking will actually get you more ram...I know linux has a thing called swap which is similar to ram but is its own partion of the HDD...if someone had the knowledge they could possibly create a partion of it and add some kernel hacks to utilize it...
But as far as actually adding more ram-impossible as far as I know...there is no chip on the mother board to add ram.like in a desktop or laptop...I believe its built into the motherboard so your stuck with what's on it
Sent from my HTC Holiday using Tapatalk 2

Dalvin.VM.Heapside

i just change i9001 Dalvin.VM.Heapside from 64 to 357 mb and the phone is faster.., aps are launching faster .and i have.minimun lag ...i am using stock GB rom no other tweks are made , i only cange the GPU drivers from i8150
freemanandrei87 said:
i just change i9001 Dalvin.VM.Heapside from 64 to 357 mb and the phone is faster.., aps are launching faster .and i have.minimun lag ...i am using stock GB rom no other tweks are made , i only cange the GPU drivers from i8150
Click to expand...
Click to collapse
and have bad multitasking
murad777 said:
and have bad multitasking
Click to expand...
Click to collapse
i didn nothis ani problem..only when i had cange it to 1024 i didn boot and when it was at 256 it was laging .. i got in antutu 3803 and quadrant 1357 .......i am runing aps like usual facebook messenger ..muzic player ...and gta 3 is better playbel now
freemanandrei87 said:
i didn nothis ani problem..only when i had cange it to 1024 i didn boot and when it was at 256 it was laging .. i got in antutu 3803 and quadrant 1357 .......i am runing aps like usual facebook messenger ..muzic player ...and gta 3 is better playbel now
Click to expand...
Click to collapse
how did u do it?Did u use rom toolbox
And this belongs in the development section why?
My recommendation to you is to lower that back. The way it works is that it allows an application to store a maximum of that much memory. Setting it high would force it to garbage collect much later which means more CPU cycles for the app. Bad thing is low RAM and bad multitasking as said by murad. Setting it low would cause it to garbage collect much sooner so better multitasking but worse performance. Overall this doesn't really affect performance that much unless making an app use up the whole of the phone like OP did which is an obviously bad thing.
64 is good and don't change it unless you are just testing.
Xistance said:
And this belongs in the development section why?
My recommendation to you is to lower that back. The way it works is that it allows an application to store a maximum of that much memory. Setting it high would force it to garbage collect much later which means more CPU cycles for the app. Bad thing is low RAM and bad multitasking as said by murad. Setting it low would cause it to garbage collect much sooner so better multitasking but worse performance. Overall this doesn't really affect performance that much unless making an app use up the whole of the phone like OP did which is an obviously bad thing.
64 is good and don't change it unless you are just testing.
Click to expand...
Click to collapse
i dont understand its running better and it was never that fast and i have no more wake uo lag and everythin is loding realy fast ...i chage it from build.prop whit root browser.....and i just try to run 3 smol games in the same time and lissen muzic ...and i didn get lag when i run ups in task manager the ram is use 315 mb.....
Very bad idea to take all the system ram and put it in dalvik heap.. way to much.. 64mb is default, if you take all ram for heap then everything will be preloaded by default. this may result in some faster loading times but the memory is constantly unnecessarily filled. when you have 315mb in use your almost at the limit.. think about it, any app that suddenly requires more ram will lack the ability to get it. And I'm not even mentioning LMK that is also active (so you force your memory to be full and lmk keeps killing apps since its full). This is how i think about it.
edit: just read that you don't use any specific lmk, so i guess that's lmk 20mb or so. still your idea just doesn't work out
Dude...way to big...usually the modders only use 140m max..but still not quite supported for multitasking...anyway not wrong to experiment it....cheers...
Sent from my GT-I9001 using xda premium
gjoy77 said:
Dude...way to big...usually the modders only use 140m max..but still not quite supported for multitasking...anyway not wrong to experiment it....cheers...
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
I set it back to 64Mb ....i nothis that aps when are open usual use ram betwen 50 to 100 and more .
freemanandrei87 said:
I set it back to 64Mb ....i nothis that aps when are open usual use ram betwen 50 to 100 and more .
Click to expand...
Click to collapse
Try 96m....i think that should be good enough to try...
Sent from my GT-I9001 using xda premium
gjoy77 said:
Try 96m....i think that should be good enough to try...
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
is runing normal know i just change it so i can run better gta 3 at hie seting

how to expand my ram

hi, ive been succesfully rooted my samsung galaxy gio s5660m and now im looking forward for my ram expansion and internal memory.. someone can help me for this topic? tnx a lot
badagila said:
hi, ive been succesfully rooted my samsung galaxy gio s5660m and now im looking forward for my ram expansion and internal memory.. someone can help me for this topic? tnx a lot
Click to expand...
Click to collapse
You need to go here to download the extra RAM for your device - if it's compatible.
Ram
SimonTS said:
You need to go here to download the extra RAM for your device - if it's compatible.
Click to expand...
Click to collapse
is it 100% safe? tnx
reply
Sewrizer said:
I don't think you can download RAM.. I know you can add RAM cards on computers and laptops but they have certain limitations(plus, they are hardware which you have to buy and apply correctly).. and on an android phone I'm not sure.. so if you could provide more details it would be great.
Click to expand...
Click to collapse
but you have any idea how to increase ram in a safe way? do you already root your cell phone?
Sewrizer said:
i have rooted a sgs2 and a htc sensation xe.
You can't increase RAM without the hardware (again, as far as i know). the only thing you can do is to use less RAM, thus making the device faster and more effective. try freezing the apps that you are not using with titanium back-up. a lot of apps work on background and you don't even need them. by freezing them, you prevent them from auto-starting. you can unfreeze them to make them work again. (you need to be rooted for this)
Click to expand...
Click to collapse
And then we get into the old falacy that "Free RAM is good". This is simply NOT true on Android. If you start running too short on free RAM then the Android system starts to kill applications to free up more RAM, but RAM is there to be used.
badagila said:
is it 100% safe? tnx
Click to expand...
Click to collapse
Ahahahaha :')
@OP I don't know if this'll work on your phone but on the HD2 at least you could create a swap partition on your SD card then flash a zRam script to increase RAM.
Sewrizer said:
So you are saying it is bad/useless to kill/freeze unused background applications?
Click to expand...
Click to collapse
Useless? Not necessarily, as long as you know what you are doing and are 100% certain about the apps you are freezing. However, I have never seen any real benefit in doing so. The Android built-in task manager normally does a failry good job of managing the memory without any real intervention.
SimonTS said:
Useless? Not necessarily, as long as you know what you are doing and are 100% certain about the apps you are freezing. However, I have never seen any real benefit in doing so. The Android built-in task manager normally does a failry good job of managing the memory without any real intervention.
Click to expand...
Click to collapse
Actually I personally have found that killing apps on devices with low RAM makes the phone feel a lot faster.
Nigeldg said:
Actually I personally have found that killing apps on devices with low RAM makes the phone feel a lot faster.
Click to expand...
Click to collapse
Manually killing them is something I do as well. I just don't buy into the task-killer type apps.
Sewrizer said:
I was suggesting freezing and killing unused apps on background because on phones with low RAM (his gio has less than 512 MB of ram) system is laggy, mostly because of pre-installed software which users don't use. He said he has just rooted his phone, therefore he can't have uninstalled the network carrier apps/social networks apps, which may be running on background. And in my experience as an android user, if anything is laggy or stops working, i restart the phone. And after restarting it always works smoother.
About the android built-in task manager, it does indeed do a good job, but on 2.x android versions is a little harder to find and use. thanks for replies
Click to expand...
Click to collapse
Freezing / killing the apps as root can be useful, but as I said you need to be certain what apps you are freezing and why. How many times have you read on XDA from someone who has frozen a load of the 'Background' apps, and then finds their device won't even boot up and they have to do a full flash to recover, often losing a load of data as well?
ram topic
Nigeldg said:
Ahahahaha :')
@OP I don't know if this'll work on your phone but on the HD2 at least you could create a swap partition on your SD card then flash a zRam script to increase RAM.
Click to expand...
Click to collapse
my phone is samsung galaxy gio s5660m and yes i rooted

Note Slowing down

So I Have been spending a lot of time and effort with my GS3, tweaking the kernal and rom for battery performance and it seems to be working well, now I need to address my Note. Its gotten really slow and feels laggy. My memory used by running apps is less then half. I have greenify freezing a bunch of stuff i dont really need. Im rooted on stock for Rom, with stock Kernel. I was eyeballing some Roms but really dont want to lose any TW functionality, but was hoping to hold off on that until some 2014 Roms popped up. I run Apex as a launcher right now.
Has anyone noticed speed differences with Custom TW Roms or Kernels? or have a good CPU monitor app, they all look pretty, meh, on the play store (i really wish you could see number of dl's and raters from the list view on the play store)...
Up for any suggestions....
Your problem likely has nothing to do with "available RAM" or "processes".
... how full is your internal flash (your "sdcard")?
Neflhiem said:
So I Have been spending a lot of time and effort with my GS3, tweaking the kernal and rom for battery performance and it seems to be working well, now I need to address my Note. Its gotten really slow and feels laggy. My memory used by running apps is less then half. I have greenify freezing a bunch of stuff i dont really need. Im rooted on stock for Rom, with stock Kernel. I was eyeballing some Roms but really dont want to lose any TW functionality, but was hoping to hold off on that until some 2014 Roms popped up. I run Apex as a launcher right now.
Has anyone noticed speed differences with Custom TW Roms or Kernels? or have a good CPU monitor app, they all look pretty, meh, on the play store (i really wish you could see number of dl's and raters from the list view on the play store)...
Up for any suggestions....
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.rs.autokiller&hl=en
Try 'Moderate' profile.
https://play.google.com/store/apps/details?id=com.zdvdev.sef&hl=en
Set to 512. It's the same as seeder but I felt this is much more stable. I'm using this despite paying for seeder.
Nikorasu said:
https://play.google.com/store/apps/details?id=com.rs.autokiller&hl=en
https://play.google.com/store/apps/details?id=com.zdvdev.sef&hl=en
Click to expand...
Click to collapse
I'm sorry, but both of those apps are essentially useless. Task killers are completely unnecessary with the version of Android we're using, and "Seeder" type apps have been shown to have no benefit (the entropy pool is refreshed a different way in post 3.0 kernel versions).
I'm still waiting for the OP to tell me how much free space is left on his internal flash; that measurement has actual deterministic correlation to lag.
Nikorasu said:
https://play.google.com/store/apps/details?id=com.rs.autokiller&hl=en
Try 'Moderate' profile.
https://play.google.com/store/apps/details?id=com.zdvdev.sef&hl=en
Set to 512. It's the same as seeder but I felt this is much more stable. I'm using this despite paying for seeder.
Click to expand...
Click to collapse
Autokiller is not a task killer.
I'm aware that seeder does not work as well for Ics/Jb, compared to 2.x. On my Razr, seeder has more obvious effects on 4.0, 4.1 compared to 4.2 and 4.3. Perhaps I have a crapload of apps/games on my phone/tablet so the effects are more obvious.
Boths apps are free and are reversible so no harm trying.
kcrudup said:
I'm sorry, but both of those apps are essentially useless. Task killers are completely unnecessary with the version of Android we're using, and "Seeder" type apps have been shown to have no benefit (the entropy pool is refreshed a different way in post 3.0 kernel versions).
I'm still waiting for the OP to tell me how much free space is left on his internal flash; that measurement has actual deterministic correlation to lag.
Click to expand...
Click to collapse
Ok.. for the internal, out of 25.87 GB i have 18.86 GB Available
On Ram, from Application Manager im showing .93G used 863 MB free
While it may not seem like it, this im sure is the problem. I do get the "only xxmb left of internal memory" warnings, but im not sure where im looking to clear that up... im only using half of each..
Nikorasu said:
Autokiller is not a task killer.
Click to expand...
Click to collapse
Might as well be- its page says it "fine tunes android systems inner memory manager to keep your device fast over time", so it modifies the various low-memory-killer limits so Android does the killing, but the idea is the same. People have to get out of the mindset that "bloat" means anything, need to remember that unused memory is wasted memory and that the system has a better idea of how to manage the apps you've chosen.
Neflhiem said:
... for the internal, out of 25.87 GB I have 18.86 GB available
Click to expand...
Click to collapse
You have a 32GB unit, right? If not you're looking at your SD-Card, and I need to know the used/free percentages on your /data (or /sdcard, close enough) partition. But if you do have a 32GB device, that's actually quite empty, which is a good thing. If you're rooted, have you tried running an "fstrim" app on the device like this app?
On RAM, from Application Manager I'm showing [930 MB] used 863 MB free ... this I'm sure is the problem.
Click to expand...
Click to collapse
No, not at all- in fact, you're underusing most of your memory.
I do get the "only xxmb left of internal memory" warnings
Click to expand...
Click to collapse
From where? When do these occur?
You have a 32GB unit, right? If not you're looking at your SD-Card, and I need to know the used/free percentages on your /data (or /sdcard, close enough) partition. But if you do have a 32GB device, that's actually quite empty, which is a good thing. If you're rooted, have you tried running an "fstrim" app on the device like this app?
Click to expand...
Click to collapse
Yeah, 32GB unit, No, havent tried an Fstrim app, grabbing it now...
No, not at all- in fact, you're underusing most of your memory.
Click to expand...
Click to collapse
Sorry, that didnt read right, i see i have plenty of open mem, i ment that i suspect the lag is comeing from some sort of storage/memory problem. An unseen one per say.
From where? When do these occur?
Click to expand...
Click to collapse
When i install an app. thats when i get it. I couldnt remember at first.. was thinking its random, but it seems to pop up when i install and app. I cant tell if its only play store or sideloaded as well, dont do enough of the latter.
Ill install Fstrim, and see if it helps some.
thanks for taking the time to do this.
Neflhiem said:
I do get the "only xxmb left of internal memory" warnings
Click to expand...
Click to collapse
Neflhiem said:
When I install an app. That's when I get it. I couldn't remember at first. Was thinking it's random, but it seems to pop up when I install an app.
Click to expand...
Click to collapse
OK, something isn't right here. Can you do me a favor? Run "adb shell df" and send me that?
kcrudup said:
Might as well be- its page says it "fine tunes android systems inner memory manager to keep your device fast over time", so it modifies the various low-memory-killer limits so Android does the killing, but the idea is the same. People have to get out of the mindset that "bloat" means anything, need to remember that unused memory is wasted memory and that the system has a better idea of how to manage the apps you've chosen.
You have a 32GB unit, right? If not you're looking at your SD-Card, and I need to know the used/free percentages on your /data (or /sdcard, close enough) partition. But if you do have a 32GB device, that's actually quite empty, which is a good thing. If you're rooted, have you tried running an "fstrim" app on the device like this app?
No, not at all- in fact, you're underusing most of your memory.
From where? When do these occur?
Click to expand...
Click to collapse
Yup, it tweaks Android internal memory killer. I won't recommend this if it didn't work for me.
Changing it to moderate preset is pretty safe.
Thanks, I'll send that probably Monday. Thanks again
Sent from my SGH-I747 using xda app-developers app
Neflhiem said:
While it may not seem like it, this im sure is the problem. I do get the "only xxmb left of internal memory" warnings, but im not sure where im looking to clear that up... im only using half of each..
Click to expand...
Click to collapse
How odd! I got today this same warning too. I have 2,2gig free space i my internal memory and I was installing some app and got a message that i have only 1,48mb free or so.
Sent from my GT-N8000 using Tapatalk 4
enigma_x said:
How odd! I got today this same warning too. I have 2,2gig free space i my internal memory and I was installing some app and got a message that i have only 1,48mb free or so.
Sent from my GT-N8000 using Tapatalk 4
Click to expand...
Click to collapse
We have two note 10.1 tablets(wifi only). One is 16 gb the other is 32 gb... On the 16 there is about 5.6 gb free. When installing some apps from google play we get the same message . and it says 1.48 free.. I think this is a Bug with the new play store. The message will NOT Come up when side loading apps is what i have noticed.Unless it prevents you from installing the apps i would not worry about that message.
Wait for 4.3 and the TRIM support.
elzeus said:
Wait for 4.3 and the TRIM support.
Click to expand...
Click to collapse
We have TRIM already.
---------- Post added at 02:58 PM ---------- Previous post was at 02:57 PM ----------
For you folks seeing "Not enough free space" issues, how are you determining your "Free Flash" numbers?
kcrudup said:
We have TRIM already.
Click to expand...
Click to collapse
Really?
Sent from my GT-N8000 using Tapatalk 4
kcrudup said:
We have TRIM already
Click to expand...
Click to collapse
enigma_x said:
Really?
Click to expand...
Click to collapse
Yes. The stock kernel has it, see that "discard" option:
Code:
/dev/block/mmcblk0p12 /data ext4 noatime,nosuid,nodev,discard,noauto_da_alloc,journal_async_commit,errors=panic wait,check,encryptable=footer
... and my kernels have that, plus at boot time I run "fstrim" on every partition:
Code:
/system/bin/logwrapper /sbin/fstrim -v /data
/system/bin/logwrapper /sbin/fstrim -v /cache
/system/bin/logwrapper /sbin/fstrim -v /system
4.3 runs that last part more often, but technically if the system is running the "discard" option on the filesystems, at least once at boot should really be enough.
kcrudup said:
OK, something isn't right here. Can you do me a favor? Run "adb shell df" and send me that?
Click to expand...
Click to collapse
hmm. I dont have a PC to connect to, and am having an hard time finding something i can run from my Note. any suggestions on how to run ADB Shell DF locally?
i use system tuner pro. esp if you are rooted. gives a great overall outlook on what is going on with the system.
i personally haven't tried any custom rom's yet. and i can tell also my Note starting to feel laggy.
really hoping a 4.4 custom rom comes along. I heard they added IR blaster support in 4.4 and would really love that to be available. really the only functionality holding me back from custom roms atm.
killerskincanoe said:
i use system tuner pro. esp if you are rooted. gives a great overall outlook on what is going on with the system.
i personally haven't tried any custom rom's yet. and i can tell also my Note starting to feel laggy.
really hoping a 4.4 custom rom comes along. I heard they added IR blaster support in 4.4 and would really love that to be available. really the only functionality holding me back from custom roms atm.
Click to expand...
Click to collapse
ok.. will try that out.. creepy ass avatar by the way..

[Q] Nexus 5: set the size of devices as you want

Hello,everyone!
I have a Nexus 5 whose ram size is about 2GB. Now, I want to change the ram size to 1G or anything else below 2.
Do you have any idea? If so, please share with us now. I'll appreciate that very much!
Someone told me that I might try the bootloader, but I havn't figured that out yet. Please help me out! Thanks again!
Hi,
But... Why do you want to reduce your RAM size????
RAM is allocated to user apps, system, GPU, etc... it's possible (for some devices) to re allocate the RAM for the GPU (a little more) for example at kernel level, but here you want to re allocate 1 Gb of RAM, seriously? Why? Even if it was possible, here what do you expect?
For other devices with an unlock bootloader it's the system partition size (I don't remember the exact name) you re allocate to be used for the user (apps), maybe it will be possible in the future for the N5?
But here, honestly, I don't uderstand why you want that
viking37 said:
Hi,
But... Why do you want to reduce your RAM size????
RAM is allocated to user apps, system, GPU, etc... it's possible (for some devices) to re allocate the RAM for the GPU (a little more) for example at kernel level, but here you want to re allocate 1 Gb of RAM, seriously? Why? Even if it was possible, here what do you expect?
For other devices with an unlock bootloader it's the system partition size (I don't remember the exact name) you re allocate to be used for the user (apps), maybe it will be possible in the future for the N5?
But here, honestly, I don't uderstand why you want that
Click to expand...
Click to collapse
Firstly, thanks for your response!
Now I'm doing a series of experiments on swap partition. For the ram size of N5 is a little too large to make use of the swap area I created.
So I want to make the ram size small enough so that the device could run out of memory and would swap things out to emmc(swap area).
Have I made it clear to you? Looking forward to your reply!:fingers-crossed:
Hi,
Yes it's a little clearer, maybe, but why do you want that? What kind of experimentation are you doing? It's totaly counter productive...
Some apps like Ram Manager for example (Play Store) can create a swap file, there is also some kernel like Faux123 with, grrr don't remember exactly the name, something like Zramswap or... not sure...
But you don't reduce the RAM size, on 2Gb, you have about 1,8 Gb free for the system, apps and that's all, you can't reduce this part. At the end with a clean and light system booted you have about 1,6 Gb free. What you want will virtualy increase the RAM size (with the swap file).
In any case with the app above, use it to create and use your swap file, open one or two "big" apps, a game and you will see that it is used...
Tweak also the OOM settings to run Out Of Memory earlier, see Google.
You want reduce the amount of free RAM not reduce the RAM size. For me it's not the same thing.
Or I don't understand again, and I'm sorry. But I don't see the point...
Sent from my LG-D802 using xda premium
viking37 said:
Hi,
Yes it's a little clearer, maybe, but why do you want that? What kind of experimentation are you doing? It's totaly counter productive...
Some apps like Ram Manager for example (Play Store) can create a swap file, there is also some kernel like Faux123 with, grrr don't remember exactly the name, something like Zramswap or... not sure...
But you don't reduce the RAM size, on 2Gb, you have about 1,8 Gb free for the system, apps and that's all, you can't reduce this part. At the end with a clean and light system booted you have about 1,6 Gb free. What you want will virtualy increase the RAM size (with the swap file).
In any case with the app above, use it to create and use your swap file, open one or two "big" apps, a game and you will see that it is used...
Tweak also the OOM settings to run Out Of Memory earlier, see Google.
You want reduce the amount of free RAM not reduce the RAM size. For me it's not the same thing.
Or I don't understand again, and I'm sorry. But I don't see the point...
Sent from my LG-D802 using xda premium
Click to expand...
Click to collapse
Well, actually it's quite simple. The Nexus 5's RAM size is too large(ok, it's about 1.8Gb free or less). Even After I have run a lot of apps, there are still serval hundred Mb RAM free(Maybe I can run more apps, but it doesn't worth. Or I should choose another device with smaller RAM size. But that's out of my budget). Yes, as you said I want to reduce the amount of free RAM. But reducing the RAM size can also work for me.
All in all, I want to see the benefit of swap area through the experimnt?
Ok, my friend, you have got that right? It's ok, if you still feel confused. I'm glad to tall with you!
Cant you increase swappiness?
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
rootSU said:
Cant you increase swappiness?
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Click to expand...
Click to collapse
What do you mean?
Just now, I found a way out! Make large enough ramdisk in RAM. In that way, the RAM decresed!
Thank you all the same!
zxcoolid said:
What do you mean?
Just now, I found a way out! Make large enough ramdisk in RAM. In that way, the RAM decresed!
Thank you all the same!
Click to expand...
Click to collapse
For future info.
http://en.wikipedia.org/wiki/Swappiness
Just use scavenger pro and slight of hand pro. Then you never run out of memory and you can swap apps really fast!!!!
Sent from my SGH-M919 using xda app-developers app
rootSU said:
For future info.
http://en.wikipedia.org/wiki/Swappiness
Click to expand...
Click to collapse
Thanks for your message!

Categories

Resources