[Xperia Arc Android Development] alexander-n8hgeg5e:
Yes i agree it will be slower in some use cases.

On my phone it runs fast enough.

If I access an already loaded app it has to read swap and at the same time some files of my data partition. My experience is the phone runs better and it think faster.

The main thing that i experience, it is more stable and can do jobs that otherwise would cause reboots. At least this is my impression. The speed is not the thing, it's more the stability. I did no comparative tests.

I played the game "Transmission" from the playstore. During that there where 300 mb! of swap in use. I don't know how the phone will handle that without swap. The game runs playable. Osmand runs better too. And before swap i think firefox was not useable.

Think of that, all things that are not necessary for the current job can be swapped out, so the phone can get it's "mind free" to do something big, that normally would be too big. I can tune the settings so that it will use the swap only in emergency cases. If you don't set any parameters (everything default) and just add swap than the "traffic" is very little. With LX-CM12.1 I set only swapiness to 100 and it freed aprox 40mb of ram. With LX-CM13 i refused to use more than few mb (less than 10) .Than I set extra_free_kbytes.

But I'm worried about my sdcard now.

I will try to switch of swap and start that game again...

I tried it without swap now.

The game works flawlessly.

I enabled zram. It works good too.

With this rom, it seems that hardly something is swapped out, even with the extra_kbytes parameter.

My feeling is that something that the "swappiness" is not as good as with 12.1I can 't really tell the difference.

With LX-CM12.1 i got sometimes aprox 200mb swapped out constantly now its only for short periods, mostly only 60 or so.

Swap saved my firefox sometimes from getting killed, i think, so that the taps where still open.

It's nice to experiment with, but now I switched swap of.

I don't want to kill my sdcard for nothing.

Now I believe that it will die soon because of the dynamic wear levelling.

How many spare space will there be? If it's 1G than my card will die(with my last asumption(20G/day) 5000 writes) in 250 days...

But It could be only a few megs. That would mean just few days...

---------- Post added at 06:01 PM ---------- Previous post was at 05:49 PM ----------

[/COLOR]

I think so too,....

I did not see your post because of my laggy netbook, i edited my last post but it should be a new one, thats what i wrote:

Ok, I searched the Internet, what i described is static wear levelling.

It can move blocks that are in use.

Dynamic wear levelling is the other thing. It needs free spare blocks.

Free spare means extra blocks not shown to the user or blocks the controller knows that they are free.

Therefore, some cards read the preformated fat filesystem, but it works only with such a special filesystem.

But if there is not much of free spare, a area that is continuously written will wear out fast. In my case it is almost sure that there are no much spare blocks because i flashed the whole card by copying from another card.

After reading a little the internet, i think it is questionable that there is static wear levelling on my card....

Now I'm a little bit worried...