Linux swap speed suggestion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I strongly suggest to add the option whether to prefer to place swap at the
beginning or at the end of the swap partittion (leaving the other end free
when the swap usage is low).

This is useful for performance as the user could suggest to the kernel how to move the
HDD tracks less. For example I have swap partition before root partition and so would
want to put actual swap pages at the end of my swap partition to move HDD tracks less.

This should be option for both swapon command and for mkswap (to set the default for
swapon) command. (Instead of adding an option to swapon command, a kernel option may
be added.) (Imagine the situation of a swap partition BETWEEN two Linux root
partitions to understand why this should be configurable run-time, not only when doing
mkswap.)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux