laptop swap, best placement?
Desktops and exotic laptops aside, with 1 drive in a laptop is there a preferred position for the swap partition?
Looking at some install notes and faqs suggests head left->right: /boot /swap /home / what about as last: /boot /home / /swap some backup imaging tools won't do the swap and this makes a same layout restore onto a fresh or wiped hdd tricky at best. Having swap at end precludes that hassle. whadya think? |
Quote:
maybe it would bring some performance benefites. but linux does not uses much swap. Quote:
dd + bzip2 is nice way to do back-up whole disk with partition level. but lilo may not like it. grup would like it. i use this / swap on same disk /home on different disk. |
Quote:
Quote:
Positioning Swap in-between / and /home partitions is wise. (By this you have three successive partitions: Partition1 (Root) + Partition2 (Swap) + Partition3 (/home). Quote:
Hope this helps. Good luck. |
ok fair enough you guys :) thanks
Sure with enough ram swap isn't accessed much. I'm aware of using 'dd' for pure sector copy and in fact a few tools use that under the surface. Playing with some practice installs I recollect one didn't like a slightly resized layout on a restore where the UUID changed. Actually, thought of another point and maybe stay in this thread. Have you had 1 or more extra distros sharing a /swap and would that cause trouble if there had been any suspend and then a normal boot trying to 'resume' ? sounds like just have a 2nd /swap eh? |
Quote:
For suspend to work you must have enough free space in swap to accept the contents of memory plus a little. The only way to guarantee this is to have a separate swap for suspend; presumably it must have enough space to accept the contents of memory plus any used swap space. If resume is to work the contents of swap-for-suspend must be untouched after suspend until resume. For a multi-boot system that implies a swap-for-suspend partition for each bootable OS. |
ok ta, confirmed my suspicions :)
|
All times are GMT -5. The time now is 05:04 PM. |