Guest peelie Posted September 14, 2010 Report Posted September 14, 2010 (edited) try switching ON button then OFF buttion a couple of times - worked for me - also make sure you tick Safe Unmount and Safe Remount in Swapper Settings btw i am using i think a class 2 card :lol: - can't really tell much difference though! hopefully my class 4 card should arrive soon! Edited September 14, 2010 by peelie
Guest Krinyo Posted September 14, 2010 Report Posted September 14, 2010 (edited) Appearently there's an issue with a2sd swap... With swapper it is smooth, with a2sd's built in swap it is crappy :-o I dont have any problems with a2sd swap, smooth for me, but I'll try the other metod too. Thanx for the tip. Edit: don't feel too much difference between the two metods. Swapper really simple, set and go. I created 64MB file, my system using 20 MB swap just now. Edited September 14, 2010 by Krinyo
Guest tgomas Posted September 14, 2010 Report Posted September 14, 2010 THere are two versions of Swapper in my market, which one are people using?
Guest Totyasrác Posted September 14, 2010 Report Posted September 14, 2010 I dont have any problems with a2sd swap, smooth for me, but I'll try the other metod too. Thanx for the tip. Edit: don't feel too much difference between the two metods. Swapper really simple, set and go. I created 64MB file, my system using 20 MB swap just now. Well, I'm on FLBv1.5 at the moment. Created a 32MB swap partition with AmonRA recovery (repartitioned the whole SD anyways). And after reboot it is activated by Darktremor's a2sd but it is just soooo slow. Now that I've disabled it and installed Swapper2 I am back to an excellent ROM. It happened the same way to Zsolabola, another MoDaCo user (we discussed it via chat). I am wondering what can cause this, and if there's something I'm missing/doing_wrong...
Guest Totyasrác Posted September 14, 2010 Report Posted September 14, 2010 THere are two versions of Swapper in my market, which one are people using? Swapper2.
Guest tgomas Posted September 14, 2010 Report Posted September 14, 2010 (edited) Swapper2. Ty, I tried the one witht he green logo and its not very easy to use. PS Swapper 2 seems to be using 23mb of ram, surely that is kinda defeating the object of using swap to solve our ram problems... Edited September 14, 2010 by tgomas
Guest Fusion0306 Posted September 14, 2010 Report Posted September 14, 2010 (edited) Ty, I tried the one witht he green logo and its not very easy to use. PS Swapper 2 seems to be using 23mb of ram, surely that is kinda defeating the object of using swap to solve our ram problems... It works better for me than the a2sd swap with partition. With a2sd swap, the phone was way slower than before. The phone is faster and more responsive with swapper 2. That's my experience Edited September 14, 2010 by Fusion0306
Guest ambrozija Posted September 14, 2010 Report Posted September 14, 2010 The phone is faster and more responsive with swapper 2. That's my experience +1
Guest gusthy Posted September 14, 2010 Report Posted September 14, 2010 (edited) Don't get it. Then what is the point to move the dalvik cache to SD? It is make more free memory to installed apps/data and the system, or not? It is a bad and wrongly used terminology. The phone has internal storage which is similar to SD-card, that you can imagine as an intenal hard disk. Unfortunately it is sometimes called "internal memory". a2sd moves the installed apps from that internal storage to SD card, so you can INSTALL more apps. On the other hand there is RAM like in you PC - it is simple DRAM, and swap extends it to SD-card so that you can RUN more apps. Edited September 14, 2010 by gusthy
Guest gusthy Posted September 14, 2010 Report Posted September 14, 2010 I don't know about swappiness, but if you set your options, then press menu and Swap-> then create. Then press on. Swappiness tells the system how intensively it should use swap. http://kerneltrap.org/node/3000 My estimation is that with Pulse, low swappiness (10) and big swap place is a very good swap strategy, but it needs testing.
Guest smudgeroo Posted September 14, 2010 Report Posted September 14, 2010 It works better for me than the a2sd swap with partition. With a2sd swap, the phone was way slower than before. The phone is faster and more responsive with swapper 2. That's my experience I set up a swap partition using GPARTED, and I can agree that A2SD swap was very, very nasty. However, I cannot get Swapper 2 to play nice with either a swap file or swap partition: - Creating swap file FAIL - Changing permissions FAIL - Formatting swap FAIL ...and so forth... I'm also confused at the swap partition in advanced settings, default being /dev/block/mmcblk0p3 - that's beyond me... Any ideas? Sooooo close..! Thanks in advance...
Guest Bakes Posted September 14, 2010 Report Posted September 14, 2010 Im extracting it now. im not a coder or anything but it looks "right" to me :lol: im guessing a lot of peoples faith in t-mobile and huawie will be restored! Faith? T-Mob and Huawei could get sued if they didn't do that!
Guest Fusion0306 Posted September 14, 2010 Report Posted September 14, 2010 However, I cannot get Swapper 2 to play nice with either a swap file or swap partition: - Creating swap file FAIL - Changing permissions FAIL - Formatting swap FAIL ...and so forth... It did that to me too... I just pressed ON and OFF keys a couple of times... and then it worked :lol: good luck :)
Guest ambrozija Posted September 14, 2010 Report Posted September 14, 2010 (edited) Anybody else experiencing problems with swapper2? It seems that swapper2 has problem when mounting sd card. I enabled and disabled "USB Mass storage" option in the settings, and the swap file wasn't created! I have "Run Swapper at startup" checked, also "Safe Unmount" and "Safe Remount". So, when I uncheck "USB Mass Storage" I don't get swap file created. Have to do it manually :lol: I'll try what happens on restart... Edit: On restart the swap file is there, but it isn't enabled! You have to disable and enable it from the application. Damn it! the app behaves so buggy! It seems that this is going to be a deal breaker (sigh!) Edited September 14, 2010 by ambrozija
Guest Simon O Posted September 15, 2010 Report Posted September 15, 2010 Big help please. If anybody is using the A2SD swap could you please do the following in the terminal: cat /proc/sys/vm/swappiness and tell me the output number. I'm trying to find out exactly what A2SD sets this to, or if Android randomly sets this. It'll help me with a fix I've got an idea for. Thanks :lol:
Guest cleguevara Posted September 15, 2010 Report Posted September 15, 2010 (edited) /proc/sys/vm/swappiness is 60 here EDIT: I set swappiness to 10 via "echo 10 > /proc/sys/vm/swappiness". After issuing "a2sd reswap" the value is unchanged (so a2sd doesn't seem to set swappiness at all). EDIT2: OK - after a reboot swappiness is 60 again Edited September 15, 2010 by cleguevara
Guest Totyasrác Posted September 15, 2010 Report Posted September 15, 2010 Big help please. If anybody is using the A2SD swap could you please do the following in the terminal: cat /proc/sys/vm/swappiness and tell me the output number. I'm trying to find out exactly what A2SD sets this to, or if Android randomly sets this. It'll help me with a fix I've got an idea for. Thanks :lol: Okay - let's assume that swappiness parameter is the intensiveness factor of usage of the swap. Then if it is set to too high it's gonna slow down the phone (SD can never be as fast as DRAMs are...) Now that might be the root cause of A2SD swap slowing down the phone so much? :)
Guest ambrozija Posted September 15, 2010 Report Posted September 15, 2010 Okay - let's assume that swappiness parameter is the intensiveness factor of usage of the swap. Then if it is set to too high it's gonna slow down the phone (SD can never be as fast as DRAMs are...) Now that might be the root cause of A2SD swap slowing down the phone so much? :lol: i'm using swapper2, with swap file with swapiness of 60 and i don't have any slow downs. on the contrary.
Guest gwenhwyfaer Posted September 15, 2010 Report Posted September 15, 2010 (edited) My experience tallies that reported already by a number of people. For the last day or two I've been using a2sd swap with a 32MB partition, which routinely resulted in 20MB of swap being used and an incredibly sluggish phone at times. So I disabled a2sd's swap, set swappiness to 15, and turned swap on myself (swapon /dev/block/mmcblk0p3) - and the phone feels much snappier. (I'm also using a2sd's moderate lmkiller settings.) I guess that the presence of swap means the OS can assume it has 32MB more RAM than it actually does, which gives the lmkiller a bit of a day off; but the low swappiness value means it'll only page out stuff when it absolutely has to. Whatever - I now have a nice snappy phone with about 750kB swap usage, which I suspect is probably about optimal. ed. Mind, it's worth remembering that the simple act of turning swap off and on again forces everything that had been swapped out to be swapped back in again, and may kick the lmkiller into killing a couple of tasks to make room for it - which will raise performance in itself. Any improvement will only really become obvious once the swap's been in use for a while. Edited September 15, 2010 by gwenhwyfaer
Guest craigb244 Posted September 15, 2010 Report Posted September 15, 2010 /proc/sys/vm/swappiness is 60 here EDIT: I set swappiness to 10 via "echo 10 > /proc/sys/vm/swappiness". After issuing "a2sd reswap" the value is unchanged (so a2sd doesn't seem to set swappiness at all). EDIT2: OK - after a reboot swappiness is 60 again mine says 60 to. my phone feels VERY fast. using multitask manager I have ran loads of apps (market, music player, browsing internet, terminal emulator + few more) and not has any closed ere is what i did: Flashed the kernal with swap added 32m Swap partition on class 6 SD A2sd started swap but phone was SSSLLOOOWWW Disabled A2sd swap (su a2sd noswap) restarted phone and check for no swap (su a2sd check) Download swapper 2 from the market (on mine it was the second one) once installed be sure it is granted superuser permission Before turning it on press menu then settings press swappiness and set to what you like (I picked 60 but it was set at 10) scroll down and press Advanced preferences tick box "use swap partition" click back/home twice so your back on the swapper app. now press ON It may take a fews seconds so dont touch anything till you see All done! on the list. ive seen errors on the list but as long as you see -> Formatting swap partition OK -> Enabling swap(partition) OK -> All done! it will be fine check its working with su a2sd check or su free
Guest Ellia Posted September 15, 2010 Report Posted September 15, 2010 Which a2sd version you are using?
Guest craigb244 Posted September 15, 2010 Report Posted September 15, 2010 Which a2sd version you are using? darktremor 2.7.5 rc2 2010-08-09 what ever came with FBL 1.5
Guest Ellia Posted September 15, 2010 Report Posted September 15, 2010 (edited) darktremor 2.7.5 rc2 2010-08-09 what ever came with FBL 1.5 I'm using the same version and have an own swap partition on my card. But after I applied that, the Pulse get faster and not slower. And my card is definitely not faster even slower. Uhm, how can we locate this issue? Edit: My partition size is 32mb too. Edited September 15, 2010 by Ellia
Guest gusthy Posted September 15, 2010 Report Posted September 15, 2010 (edited) Fibble: I was thinking about the following: Android starts different apps "randomly", not really randomly, but as a response for different events. This apps use memory, and they are used rarely. So if the swap is big enough, they keep swapped, and not killed. This means that if swap space is high enough, then what really happens is that the frequently used apps will be loaded from swap, and kernel autokilling feature will work very rarely, since there is nothing to kill (if swap is big enough to keep all the apps + the autokill threshold.) If this theory is right, then - after the first some minutes - almost everything will be swapped, and swap size will not increase. This means that from this point the value of swappiness is irrelevant - the most used apps will be in RAM and others in swap. So the optimal setting is big swap and any swappiness. (My experience supports this idea, this is exactly how my phone works now - and it is fast.) Of course this strategy is good only if the user uses mostly the same apps. When you let's say install and remove applications every day, or if you use very big apps, it will be slower. Thats why i do the following after reboot: I start all of my favorite applications (they are 6 or 7), and then use the phone as usually. Opinion? Edited September 15, 2010 by gusthy
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now