Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-desktop
Navigation:
Lists: gentoo-desktop: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-desktop@g.o
From: Adam James <ad@...>
Subject: Re: disk partitioning
Date: Tue, 6 Feb 2007 19:59:26 +0000
On Tue, 6 Feb 2007 12:20:26 -0600
"Boyd Stephen Smith Jr." <bss03@...> wrote:

> On Tuesday 06 February 2007, Mikko Husari <husku@...> wrote 
> about 'Re: [gentoo-desktop] disk partitioning':
> > hmm, im really new to all that lvm stuff but i think i have a
> > general idea about it, does it reduce performance at all?
> 
> Yes, but it's a completely insignificant amount compared to the
> additional flexibility it gives.  Commercial UNIXes (HP-UX and AIX)
> have been defaulting to LVM for years, if not decades. 

LVM works by dividing the disk into "physical extents" (the size of
which are configurable on volume group creation), thus it is not
guaranteed that all the data contained within a logical volume will be
in one contiguous area on the disk. If this is the case, then the disk
head will spend more time seeking, increasing the latency of a
read/write operation. You can mitigate this on a per partition basis by
specifiying '--contiguous y' when creating a logical volume with
lvcreate.

If you do decide to use a separate partition for portage then it is
sensible to specify a block size of 2048 bytes when you format it
(this is the -b option, at least for mkfs.ext* and mkreiserfs). As most
files in the tree are ~2KiB, there is a significant amount of
wastage with the default blocksize of 4096 bytes. It reduced the
filesystem usage of the tree on my system from ~500MiB to ~250MiB, if I
recall correctly.

--atj
-- 
gentoo-desktop@g.o mailing list


References:
disk partitioning
-- Mikko Husari
Re: disk partitioning
-- Daniel Gryniewicz
Re: disk partitioning
-- Mikko Husari
Re: disk partitioning
-- Boyd Stephen Smith Jr.
Navigation:
Lists: gentoo-desktop: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: disk partitioning
Next by thread:
Re: disk partitioning
Previous by date:
Re: disk partitioning
Next by date:
Re: Mails getting lost?


Updated Jun 17, 2009

Summary: Archive of the gentoo-desktop mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.