Bug#613796: partman-partitioning: Put swap at begin of disk instead of at end
On Thu, Feb 17, 2011 at 10:09:37PM +0100, Olaf van der Spek wrote:
> On Thu, Feb 17, 2011 at 9:52 PM, Michael Tokarev <firstname.lastname@example.org> wrote:
> > There should be absolutely no difference for performance.
> > If by "performance" here you mean you want faster swap,
> > I'd say you want _no_ swapping instead, and if you're
> > heavily swapping, no swap relocation will ever help.
> That's true.
> > In contrary to that, you really want your main filesystems
> > to be at the beginning of the drive - the data you access
> > most often.
> A 256 mb swap partition before a 1 tb root partition isn't really
> going to make a difference.
> > For resizing, -- there's no big deal to temporary remove
> > or move swap in case you're resizing root filesystem.
> > Root filesystem can be resized only when booting from
> > a rescue/install media (so swap isn't used), and you
> > can always remove swap space from a running system
> > if there's enough RAM (and there should be enough of
> > it, see above).
> Not true, ext supports online resize.
Assuming 'resize' is defined as 'making bigger', and that you prepared
it ahead of time for such future expansions. At least that's what I
recall it being.