|
|
2012-07-05
, 07:06
|
|
Posts: 1,797 |
Thanked: 4,223 times |
Joined on Feb 2011
@ Germany
|
#62
|
, but at the moment I have removed a whole bunch of stuff from a standard PR1.3 install and copied the whole rootfs to a folder under /home (which I partitioned to be 8GB).| The Following 9 Users Say Thank You to reinob For This Useful Post: | ||
|
|
2012-07-05
, 18:05
|
|
Posts: 2,280 |
Thanked: 4,121 times |
Joined on Apr 2010
@ England
|
#63
|
con: Each copy of the swap contents means another writing process on a fairly limited amount of flash cells, eventually decreasing the cell's lifetime. But I don't think that's an issue unless you intend to keep your N900 for a decade or so.
| The Following User Says Thank You to sixwheeledbeast For This Useful Post: | ||
|
|
2012-07-06
, 06:56
|
|
Posts: 803 |
Thanked: 1,594 times |
Joined on Feb 2010
@ Gdynia, Poland
|
#64
|
On my 64Gb card I am thinking 2x 800Mb swap spaces, 5Gb Document partition and whatever's left for a Music partition.
Can anybody see any issues I may come across with this?
With music on the card I am hoping for smooth multi tasking while playing music under heavy load.
| The Following 3 Users Say Thank You to misiak For This Useful Post: | ||
|
|
2012-07-06
, 07:56
|
|
Posts: 912 |
Thanked: 3,195 times |
Joined on Jan 2011
@ Germany
|
#65
|
| The Following 3 Users Say Thank You to sulu For This Useful Post: | ||
|
|
2012-07-06
, 21:52
|
|
Posts: 2,280 |
Thanked: 4,121 times |
Joined on Apr 2010
@ England
|
#66
|
Music (read-only) and documents (small files, very few writes) shouldn't cause much trouble if they are on the SD card with the swap partition.
|
|
2012-07-10
, 22:35
|
|
Posts: 2,280 |
Thanked: 4,121 times |
Joined on Apr 2010
@ England
|
#67
|
description "Micro SD Swap Location on Startup"
author "sixwheeledbeast"
console output
start on started rcS-late
script
swapon /dev/mmcblk1p2
sleep 10
swapoff /dev/mmcblk0p3
end script
cat /proc/swaps | awk '/dev/ {print $1}'
|
|
2012-07-10
, 22:46
|
|
|
Posts: 139 |
Thanked: 181 times |
Joined on Nov 2011
@ Oulu, Finland
|
#68
|
|
|
2012-07-11
, 01:29
|
|
|
Posts: 5,028 |
Thanked: 8,614 times |
Joined on Mar 2011
|
#69
|
I would just use ereswap but that would defeat the object of lowering flash wear by only swapping one way.

| The Following User Says Thank You to Estel For This Useful Post: | ||
|
|
2012-07-11
, 16:56
|
|
Posts: 2,280 |
Thanked: 4,121 times |
Joined on Apr 2010
@ England
|
#70
|
Not just wear, this also should shorten the swapoff/on refresh slowness a fair bit since this ring moves the swap one way.

Why so? In ereswap config, you can define both main and "backup" swap as partitions on microSD ,(mmcblk1p2 and mmcblk1p3 in this case) which leaves internal swap out of use (it can even not exist) making it fully compatible with your use case
If you don't need these additional 768MB on your emmc it doesn't hurt to keep the stock swap partition anyway.
Changing between swap partitions via a cron essentially does what Estel's ereswap does if you set it up to automatically switch the partition, so it has the same pros and cons:
pro: You get a "fresh" swap every morning.
con: Each copy of the swap contents means another writing process on a fairly limited amount of flash cells, eventually decreasing the cell's lifetime. But I don't think that's an issue unless you intend to keep your N900 for a decade or so.