Related
So from what I understand linix swap is a method to make your phone run faster. My phone has been acting a bit sluggish lately when loading the home screen.
When partitioning my sd card (using ra recovery) it asked how large of a swap to use, I checked another thread and found out that the recommened size for cupcake is 64mb. I set it at that. Is my phone currently using the swap or do I need to activate it/ use an app
In addition to the obove questions could someone outline the advantages/disadvantages.
Thanks a lot for any help.
asb123 said:
So from what I understand linix swap is a method to make your phone run faster. My phone has been acting a bit sluggish lately when loading the home screen.
When partitioning my sd card (using ra recovery) it asked how large of a swap to use, I checked another thread and found out that the recommened size for cupcake is 64mb. I set it at that. Is my phone currently using the swap or do I need to activate it/ use an app
In addition to the obove questions could someone outline the advantages/disadvantages.
Thanks a lot for any help.
Click to expand...
Click to collapse
In cyanogen you will need to edit the user.conf or userinit.sh, I'm not sure which, to activate linux-swap as he uses compcache as default
It depends on who you ask... CompCache (CC), IMO, is better than swap for many reasons, the most of which is that it seems to be faster in scientific testing, and the best test of all, the seat of your pants test.
The problem with CC is that if you want to flash a ROM that is huge, ie a Hero ROM, you run out of room, so it becomes slower compared to a swap where you are actually adding "RAM" by using the SD card to do this. Some have been able to make Hero small enough to work with CC, but not enough for most people wanting all the bells and whistle's of Hero.
CC has some draw backs, the biggest being that it is slower than no CC in a solo task since the CPU has to uncompress the data when you re-open a program (You really see this when you open your browser back up and it takes 5 seconds to "reload" the page). But this is about the only real draw back.
Swap has a few more draw backs... it burns up your SD card, although it isn't a "huge" deal, it is still a draw back. As well, like CC, the CPU has to pull this data off the SD card, it isn't just sitting in memory like true RAM, so it's speed is limited by the speed of the SD card and the speed of the G1 at reading the SD card. In the end, since swap tends not to be compressed anywhere close to what CC is, it ends up being not that big of a deal in terms of actual speed... ie the browser might take half a second longer to open than CC right out of the box, but if you end up with 15 apps running and Rosie(what makes a Hero ROM a Hero ROM) it will take less time since it is at least still in the "RAM" and doesn't have to be re-opened 100%.
I hope this makes sense, and for those wiser than I, if I misrepresented let me know and I shall bow down like red chowder bows down to white chowder.
you can also use the app "user.conf v.030"
that's what i use, because i can control swappiness
i have now compcach enabled 64MB, ccbackinswap (swappiness 50), and 128MB linux-swap (swappiness 50)
works like a charm
shmigao said:
you can also use the app "user.conf v.030"
that's what i use, because i can control swappiness
i have now compcach enabled 64MB, ccbackinswap (swappiness 50), and 128MB linux-swap (swappiness 50)
works like a charm
Click to expand...
Click to collapse
And I take it that this will make my phone run quicker? My phone has been a bit sluggish in loading the home dash
would this make my phone run quicker? and cold you explain swappiness
asb123 said:
would this make my phone run quicker? and cold you explain swappiness
Click to expand...
Click to collapse
It depends, try it out and see how it works for you. Every person uses their phone differnetly, so for some it is an improvement, for others it is not.
And "swappiness" means the actual amount of data being swapped...
ie:
I have my linux-swap partition at 200MB, and my swappiness set at 96MB, meaning that only 96MB of data are actually being swapped on to the SD card.
Now, I don't use swap at all myself on donut, I stick to compcache or nothing depending on what the chef decided to do. If it uses swap out of the box, I will turn it off and put it onto compcache for a donut build.
Before you start playing around with swap, maybe get a task killer installed and use it sparingly (Android runs better when you don't kill stuff because of the way it is designed, but there is a limit, so task killers are nice, especially to kill something like music player or video player running in the background) This will speed things up just by keeping heavy CPU/RAM use programs actually fully closed.
Also, how slow is slow? At first, any ROM fly's on snapping back etc... but they all slow down a bit, some more than others. Actions should not and will not be instant, they should take time... not 15 seconds, but if it takes a second to load the home screen, so be it, that is damn good my friend.
Hi everyone, This is my first post ever on XDA, I bought my New Galaxy S the other day from Ebay (i know.. but box was sealed and everything so all good)
and for some reason my internal storage is only 5.78GB! not 8GB..
I'm really quite annoyed as its a fookin expensive phone, anyone got any ideas??
whats the best mix of firmware / rom for speed / everyday use?
im currently on... ROOTED
PDA - XWJG1
PHONE - XXJG1
CSC - XXJF9
Also my rom is 1.74GB is that the same as everyone here's?
I have applied SU lag fix and the lag fix suggested in the forums and running autokiller set to max, its quick but still some noticeable lag at times.
also i think because of lag fix (su one) I can no longer install ashphelt.
Cheers
same for all models, they took 2gig and kept it for programs apps and stuff and god only knows lol its no big deal as its space we would just fill up anyway, just get a sd card if you want room to play with.
Its normal.
Did you know that even when you have a 80 gig hard drive you can use only around 74?
And that 1.7 gigs you mentioned do come out of 8 gig memory as well.
I've noticed that my G1 (Running CM6) tends to run out of RAM fairly often, I was thinking maybe having swap space might help me a bit with this, however I only have a Class 2 SDHC Card (16GB), would I see any performance increment or should I just wait until I can afford a much faster one? (eg. The Kingston Class 10 one)
I would suggest to use no swap at all ... if RAM is too low, try to enable compcache it will help you probably a bit. I noticed a massive performance drop when enabling swap on CM6.
Sent from my Htcclay's Superfly G1 using XDA App
Swap and CM5/6 don't get along. The memory killer in the kernel thinks that swap is actually free RAM and keeps more things open, stopping tasks from being killed at all. If you want to use swap, I recommend you use a donut/cupcake/hero rom that uses a different kernel so that things don't get down to a screeching halt. And anyways, the fastest speed I have ever seen my phone write something from my computer to the phone via USB is 2.7mb/s, compared with 6-12mb/s I get from an sdcard reader. That means that even when your phone is writing at top speed, it is just barely far from the 2mb/s write speed guaranteed by a class 2. You will definately see better performance with swap on a class 4, but anything higher won't benefit your phone much at all, unless you regularly transfer large amounts of files to your memery card via a card reader.
AndDiSa said:
I would suggest to use no swap at all ... if RAM is too low, try to enable compcache it will help you probably a bit. I noticed a massive performance drop when enabling swap on CM6.
Sent from my Htcclay's Superfly G1 using XDA App
Click to expand...
Click to collapse
Compcache didn't improve performance at all, for me at least.
mejorguille said:
Swap and CM5/6 don't get along. The memory killer in the kernel thinks that swap is actually free RAM and keeps more things open, stopping tasks from being killed at all. If you want to use swap, I recommend you use a donut/cupcake/hero rom that uses a different kernel so that things don't get down to a screeching halt. And anyways, the fastest speed I have ever seen my phone write something from my computer to the phone via USB is 2.7mb/s, compared with 6-12mb/s I get from an sdcard reader. That means that even when your phone is writing at top speed, it is just barely far from the 2mb/s write speed guaranteed by a class 2. You will definately see better performance with swap on a class 4, but anything higher won't benefit your phone much at all, unless you regularly transfer large amounts of files to your memery card via a card reader.
Click to expand...
Click to collapse
What if I have a task killer app? Because running out of RAM is just as bad as having too much running...I don't have many apps as I only keep what I actually use as well.
I have to ask, what are you seeing as the symptom of "running out of ram" the system will always use all ram so it will always have nearly none free.
By this I of course mean what is taking forever from you the end users perspective.. from there we can tweek in the right direction or work on making the phone prioritize what is needed to be useful.
Many times people put tons of swap only to find the the problem application is still removed from ram/swap due to configuration and the system is even slower with swap.
Also before enabling swap try the settings -> adw -> system -> system persistent is enabled. (Or equivalent on other launchers)
If you really want to try swap, it wont be fast but in very little amounts
ezterry said:
I have to ask, what are you seeing as the symptom of "running out of ram" the system will always use all ram so it will always have nearly none free.
By this I of course mean what is taking forever from you the end users perspective.. from there we can tweek in the right direction or work on making the phone prioritize what is needed to be useful.
Many times people put tons of swap only to find the the problem application is still removed from ram/swap due to configuration and the system is even slower with swap.
Also before enabling swap try the settings -> adw -> system -> system persistent is enabled. (Or equivalent on other launchers)
If you really want to try swap, it wont be fast but in very little amounts
Click to expand...
Click to collapse
Well, if I have MSN Talk open, the home screen tends to fall out of memory (Yeah, I have System persistent enabled) and Messaging is extremely slow (To the point where a letter appears a good second after I press the key), it's that kind of thing when I run certain programs, it makes it hard to have stuff like JuiceDefender running because I always run out of RAM even just running the Speedtest app then.
Hi there,
im new on the Optimus X2 and i am trying to figure out what you can do withit.
i got several questions and hope you can tell and or help me withit.
My first action on using Android was to put version 2.2.2 i think, on my HD2 Leo using clockwork and NAND. Had no experience to do stuff like that before, but great forum here helped me trough it.
so...
1.
I´ve heard about problems with the battery, that lifetime is not displayed right.
I think i may have something like that too. sometimes battery run out after only about 5-9 hours (using web and/or games)of course i am using it in that time but that seems to be a little bit too fast. In standby sometime it is turning off after 12-18 hours, of course using it with calls and sms sometimes.
2.
There normally should be an update or something, i thought the X2 is beeing delivered with android 2.3.? or will be updated soon after selling?
Are there any official information?
3.
I thought X2 will be out with 512mb ram?
when i start 3-4 apps and close them down, sometimes the advanced task killer shows before closing programs only 50-60 mb ram (is it ram?), after closing goes back up to about 180.
its not that nice when you want to take pictures or record video in F-HD is not working properly. have to close down everything before.
4.
What is this Cm7? i read alot about it, but i still dont know exactly what it is?
I`ve allready rooted my phone, whats a good app for deinstalling systemstuff and preinstalled games and apps?
5.
What are the 10 most useful and must have apps/programs to configure, style, and use youre phone?
6.
Are you guys using different roms? are there faster ones, more stable, less battery using?
7.
I got an 8gb external sd card, system only is showing , 4,9gb of 5,9gb free, maybe an sdcard bug like HD2 Leo had a time ago?
phone specification:
phone is rooted
I am using android 2.2.2
Baseband version 1035.21_20110405
Kernel version 2.6.32.9
Build number FRG83G
LG Version LGP990-V10d
Vodafone Germany Branding
answer in english or german
antworten gerne in deutsch oder englisch
thx for help and best regards
kingleroy85 said:
1.
I´ve heard about problems with the battery, that lifetime is not displayed right.
I think i may have something like that too. sometimes battery run out after only about 5-9 hours (using web and/or games)of course i am using it in that time but that seems to be a little bit too fast. In standby sometime it is turning off after 12-18 hours, of course using it with calls and sms sometimes.
Click to expand...
Click to collapse
Battery life is a bit of an issue with the stock rom, since, on Froyo, there apparently is a problem with idle power consumption. This is much better on some of the custom roms based on Gingerbread, e.g. CM7.
kingleroy85 said:
2.
There normally should be an update or something, i thought the X2 is beeing delivered with android 2.3.? or will be updated soon after selling?
Are there any official information?
Click to expand...
Click to collapse
The "official" rumours are, that there will definatelly be a 2.3.* update, though when is not clear, we will possibly have to wait until fall to get it.
kingleroy85 said:
3.
I thought X2 will be out with 512mb ram?
when i start 3-4 apps and close them down, sometimes the advanced task killer shows before closing programs only 50-60 mb ram (is it ram?), after closing goes back up to about 180.
its not that nice when you want to take pictures or record video in F-HD is not working properly. have to close down everything before.
Click to expand...
Click to collapse
Ideally, Android should be managin the RAM for you. The device does have 512 MB RAM, but mind that there is alot of stuff on the stock rom. You can have more available to you by
deleting or disabling widgets on the stock rom
installing a custom rom
kingleroy85 said:
4.
What is this Cm7? i read alot about it, but i still dont know exactly what it is?
I`ve allready rooted my phone, whats a good app for deinstalling systemstuff and preinstalled games and apps?
Click to expand...
Click to collapse
It is called CyanogenMod7, and is a very popular custom rom, which exists for a lot of different Android devices, including the LGOS. It is also based on 2.3.4, so it basically already is a Gingerbread Rom, but I think it still has a Froyo kernel and/or userspace, so not completely native.
kingleroy85 said:
5.
What are the 10 most useful and must have apps/programs to configure, style, and use youre phone?
Click to expand...
Click to collapse
I'm not gonna call out 10 apps here, but living in Germany, you should definatelly check out "Öffi" (free). I also find Maverick (payware), GPS Essentials (Free) and Dropbox (free) to be quite handy.
kingleroy85 said:
6.
Are you guys using different roms? are there faster ones, more stable, less battery using?
Click to expand...
Click to collapse
This depends on how happy you are with modding your phone and flashing things on it. There can be quite a bit of work necessary to get a custom rom running on your phone, but it might be worth your while. I've used custom roms mainly for the fact that they can have massively lower battery consumption when the phone is idling (e.g. display off, standby). When using the phone actively, I've not found differences to be that big regarding battery life.
kingleroy85 said:
7.
I got an 8gb external sd card, system only is showing , 4,9gb of 5,9gb free, maybe an sdcard bug like HD2 Leo had a time ago?
Click to expand...
Click to collapse
You are probably confusing the internal sd card with your external one. Keep in mind that the LGOS has a 6GiB internal sd card.
ok
thank you for this detailed answer.
i will take a look on the other Roms and will try it i think.
The problem with the sd card is not from confusing with the internal one.
Using the App, App 2 SD Free phone memory is showing me 1,45GB, on SD Card which must be the internal one shows me 5,51GB and on moveable which seems to be the external sd card it shows me 1,45GB again instood of my 8GB SD?
thx for help
If anyone could help me out here I will love you LONG time:
I am wondering id I should set up a swap partition and use it with this script (apps/data 2 ext, supports swap). I am starting fresh on my Nexus One installing a Gingerbread MIUI ROM using this script for the first time. I was wondering if I should use a SWAP with my class 4 16gig sd card. I will have a 1gb EXT partition. If anyone could state simple pros/cons I would MUCH appreciate it. I have heard good but mostly bad about swap on gingerbread saying that it is not needed and can cause bad.
Does the N1 really need SWAP with Gingerbread? I'm shaking in my pants posting this but I have not seen any related articles, let alone for the N1. I have done a Google search but that doesn't help, it confused me more if it is worth it.
Thanks again. Deuces.
There are some comments from experienced users here on swap, most are against. Here is a link that has a lot of comments--
http://zerocredibility.wordpress.com/2009/08/24/why-android-swap-doesnt-make-sense/
I am no android tech, but never used and don't have issues. I run a lot of apps over a hundred from the Market alone
Thanks! Exactly what I needed. No SWAP for me!
Glad to help--
I'm no expert either. But I do have a 256MB swap partition.
Swap *should* only be used when physical memory is low, and more is still needed by the system. If you're low on memory and need more, then swap might be useful then.
There's a kernel setting called "swappiness". I have this set to a low setting "5", which I believe means that swap should only be used as a last resort i.e. more importance is put on using physical memory over swap.
Yes swap is slower. If a system is swapping out, then it's logical to add more physical memory to the system. However as we cannot upgrade physical memory on our phones, so I suppose swap is the next best thing.
Anyhow that's just my personal thinking. My Nexus is running sweet and I don't notice any considerable slowdowns. However perhaps my swap has never really been required?!
Swap is made for desktop OS, where there is such thing as "lack of memory".
Such thing doesn't exist on Android, mobile OS of completely different design.
The reason is - desktop OS can't kill the tasks you've left running. Mobile OS can, and will, once it senses that it needs more memory. And the tasks themselves are built to be killed.
Adding SWAP is fooling Android that it has more actual memory than there really is - and the OS is using it like it was real memory, not killing tasks when it should. And while doing that, SWAP is far slower than just killing and reloading tasks - because it requires writing to and reading from the SWAP partition the whole app, while when killing and loading it, only reading is required - making the process MUCH faster.
I believe that's the essence of the earlier reference.
Shortly, unless there is severe lack of RAM (and on N1 there isn't by any parameters) - SWAP will make things worse, not better.
By activating compcache (~18% should do), and kernel samepage merging, there is no need for swap. I think texasice confirmed this, although I am not sure.
Sent from my Nexus One using Tapatalk
I would never use swap for GB. Tough there is discussion of using it on ICS, the few times I have tried it I did not use it.
I used swap a long time ago on CM6 or early 7 and there was absolutely no benefit in my opinion. Doesn't swap force more read/write times on SD which can decrease the life as well? That's just my $0.02.
TheAndroidStop said:
I used swap a long time ago on CM6 or early 7 and there was absolutely no benefit in my opinion. Doesn't swap force more read/write times on SD which can decrease the life as well? That's just my $0.02.
Click to expand...
Click to collapse
Swap isn't useful when it's not being used, and FroYo or Gingerbread hardly uses that much RAM. ICS, however, with its full hardware acceleration, is a real memory hog. Now, though, if we enable kernel samepage merging and a zram amount of like 18%, we wouldn't need a swap partition. Like it's been said before, swap is very slow, much slower than actual RAM.
Sent from my Nexus One using Tapatalk
Swap seems as use full as a taskiller in Android....
Sent from my Nexus One using xda premium
Hello, does not swap hard Android phone for auxiliary memory damage the hard?