![]() |
Re: [DISCUSS] SDCard Swap Partition Methods..
True a GUI would be good that's why I started one, but it needs a lot of work.
Automatic Re-swapping can cause problems if your in the middle of something. My method has a separate event.d file (which I personally prefer over editing rcS-late) The two scripts you mention in your method are the same as Ereswap (currently in devel) wiki.maemo.org/Ereswap My method has one script to switch swap (automatically forcing onto uSD if not already) The other script is to switch to internal swap so the uSD/back cover can be removed. If you have Swap on uSD removing the back cover will (in the words of vi_) insta-unmount your swap, which is like pulling a RAM stick out of a desktop. My script is useful for if I need to get in the back while powered up. IIRC (from something I read on TMO) the swapon/swapoff is better done with the N900 unlocked. |
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
Was 384. |
Re: [DISCUSS] SDCard Swap Partition Methods..
But there is no reason for "glitch" to disappear :confused:
I have atm another SD card with real partition and my glitch appeared again once, but only once. It is a class 2 card, whereas the other was/is a class4. So totally confusing... |
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
Quote:
|
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
My sdcard is class 10. Also I can open (with 384 mb swap) 8-9 pages only in microb. After that system tells me about "pause and low memory". But conky shows about 100 mb of swap usage. |
Re: [DISCUSS] SDCard Swap Partition Methods..
It's seems silly to make your swap smaller than the standard 768mb.
I would be using between 3-4 times RAM amount upto 4GB swap, then on larger desktops over 4GB, 1:1 ratio is usually more than enough. Too much and too little will only cause problems. |
Re: [DISCUSS] SDCard Swap Partition Methods..
This is known glitch - 600 or more swap is sufficient for having everything working OK, but no less.
Of course, using 1.5GB swap (or more) makes it *much* more comfortable, as times between required reswaps increase considerably. BTW, I've just grasped real SanDisk class 4 microSD 32GB (for 17 USD :D), so I'm going to exploit big swaps very soon ;) /Estel |
Re: [DISCUSS] SDCard Swap Partition Methods..
ORLY?
Did not know that, thanks. Some more info/link to that? But it does not explain my SGX-alike UI-total-freezes, as I always had 768 MB on SD. And these freezes just came up when I had my eMMC swap fully disabled. Now I again have it online with lesser priority and everything is fine again (yippie). Code:
~# cat /proc/swaps |
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
Code:
if [ `id -u` != 0 ] ; then Although this "gainroot" script seems to make the banner repeat twice on the eject sd script, not sure how to fix. I don't think large swaps have a benefit. When fragmentation occurs, swapoff will take forever. |
Re: [DISCUSS] SDCard Swap Partition Methods..
@sixwheeledbeast
Did not yet check your scripts completely, but for the multiple banner I do have explanation: please check out last line of my template Code:
#!/bin/sh And for need to change the code by you. I never had the need as i always followed the above rule. So change back, put everything below and test again. About Quote:
(did not test yet, but am pretty sure) |
All times are GMT. The time now is 06:40. |
vBulletin® Version 3.8.8