![]() |
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
Which may make reswap painfully long, is many programs opened (which eats memory and increase amount of swap used), as more data need to be reswapped. Thus, it's recommended to reswap without any programs opened (or lightweight ones like terminal). Extreme example of bad idea is reswapping with ED Chromium open, and 10+ tabs with real pages inside. It can take 10 minutes or more to reswap... /Estel |
Re: [DISCUSS] SDCard Swap Partition Methods..
Sorry to bump this discussion again, but I am interested what people have settled on lately for swap management?
Personally I am swapping manually as required, mainly because I am not keen on ereswap (where it installs it'self, modifing rcs-late). |
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
|
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
If there is a demand I may take another look at making a swap GUI application. I can understand switching swaps between position 1 and 2 (this is the way I would design my swap app,), but why 3. This is the other reason I am not keen on ereswap you swapon and swapoff twice for no reason at each reswap. |
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
3 swap partitions was just an example, 2 would be sufficient (one of emmc and one on microsd), but it wouldn't take much effort to make the number unlimited, which may be usefull in some use cases (e.g. someone might have two swap partitions on sd card in order to not use emmc swap at all, but keeps the emmc partition for ability to take the back cover off without rebooting device). |
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
When I say "demand" I mean if it is needed. |
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
1. add/remove swap partitions (no need to automatically detect i guess? that would be too much to ask for;) ) and ability to set the default one selected upon startup and fallback one used when default one is not available during startup 2. set the interval (timer or maybe time of day to do this - maybe alarmd can be used?) when reswaps should be done and between which partitions added in point 1 and in which order (or disabling automatic reswapping) 3. ability to manually reswap to any partition added in point 1 That would be perfect for me... system-ui applet or hildon-home-menu applet, because it would be easily accessible from whole system... Edit: ok, forget th system-ui or hildon-home-menu ideas, maybe a control panel applet would be best, as it is a good place for setting this and maybe there's no need to put more garbage into other places (after all, setting reswap intervals or manual reswapping shouldn't be done that often, so no need for easy access). However, I would hate to have it as a normal application visible on application list. |
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
|
Re: [DISCUSS] SDCard Swap Partition Methods..
PowerMenu seems best place, IMO. In settings belong things you set once (or twice) and never llok at it any further. While settings of the particular swap-parameters could find a nice place in settings.
Would love to have a reswap button in my powerMenu. Right now I am using ereswap + alarmd to do reswap every night. |
Re: [DISCUSS] SDCard Swap Partition Methods..
Quote:
Edit: Like mr_pingu wrote, set this once and forget it's there untill really needed ;) Edit 2: Or, maybe split it - in config panel, the setup of swap partitions and automatic reswapping schedule and in power menu just option to stop automatic reswapping and performing a manual reswap. What do you think? |
All times are GMT. The time now is 12:16. |
vBulletin® Version 3.8.8