Jump to content

looks like t-mobile have released the 2.1 source at last


Recommended Posts

Posted (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 by peelie
Posted (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 by Krinyo
Posted

THere are two versions of Swapper in my market, which one are people using?

Guest Totyasrác
Posted
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
THere are two versions of Swapper in my market, which one are people using?

Swapper2.

Posted (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 by tgomas
Guest Fusion0306
Posted (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 by Fusion0306
Guest ambrozija
Posted
The phone is faster and more responsive with swapper 2. That's my experience

+1

Posted (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 by gusthy
Posted
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
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...

Posted
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
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 (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 by ambrozija
Posted

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 (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 by cleguevara
Guest Totyasrác
Posted
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
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 (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 by gwenhwyfaer
Guest craigb244
Posted
/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 craigb244
Posted
Which a2sd version you are using?

darktremor 2.7.5 rc2 2010-08-09

what ever came with FBL 1.5

Posted (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 by Ellia
Posted (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 by gusthy

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.