View Single Post
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#5
Originally Posted by peterleinchen View Post
Thanks.

Even I do not really see the necessity. I do in no way want to criticize your work, but:
We have 1G of mem, from which 256M is reserved for ramzwap (swap usage). So if you not have heavily modded your device, lots of daemons running and/or tons of apps open at the same time, this should not make the device any faster.
And I do not know of any problems with swap fragmentation (as on te N900, need to defrag/re-swap).

Out of curiosity: where do you gain the additional swap space from? Increasing ramzwap (hereby decreasing real RAM) would not make sense. Or from "unused" mtd5? In latter case you should give a hint/warning (at least to 'old-style' ubiboot users) about using that device.
I often have situations, then I have about 50 mb RAM and ~400 mb (from 768) of SWAP free... With 255 mb SWAP my device works slower than with 768 mb...

Additional space - from rootfs.

Code:
dd if=/dev/zero of=myswapfile bs=1M count=513
So, I think, old-ubiboot users can sleep quietly...
 

The Following 5 Users Say Thank You to Ancelad For This Useful Post: