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

Re: Recommendation on partition sizes



On Mon, Nov 05, 2018 at 08:34:41AM +0000, Curt wrote:
I was reading about swap recently and fell upon (like a sword) this
remark from 2005 from Andrew Morton:

 Create the swapfile when the filesystem is young and empty,
 it'll be nice and contiguous.  Once created the kernel will never add
 or remove blocks.

Can it be inferred that excessive (LVM) resizing would be detrimental
contiguity-wise, and thus also performance-wise, or is this
insignificant and not a concern?

LVs grow at a multiple of the physical extent size, which is at least several MBytes, and usually grow in increments of hundreds or thousands of MBytes. It is extremely unlikely that a given LV would end up with significant fragmentation in normal operation.


Reply to: