On Tuesday 02 September 2008 21:14:25 Florian Philipp wrote:
> Neil Bothwick schrieb:
> > On Tue, 2 Sep 2008 14:15:03 -0300, Ale wrote:
> >>  I am thinking if i will get better performance  mounting /var/tmp/
> >> and/or /usr/portage in other partition.
> >
> > I use ext2 for each of these, as it is the fastest filesystem and
> > journalling isn't needed for filesystems that contain temporary data.
>
> Of course, if your system crashes, you have to do an fsck which takes
> approx. 10s for a filled portage-tree on a 5400rpm HDD and I understand
> the time it takes increases with the size of the partition, not (or not
> only) with the number of files on it.

It increases with the number of blocks and inodes in use mostly. Which 
generally does equate to bigger partitions take longer as they have more stuff 
stored in them

> You should also consider putting them near the beginning of the disk.
> You can do this by booting a live-CD and use gparted to move your
> root-partition.

These days you have absolutely no guarantee that a partition is in the 
location on the disk where the cylinder numbers imply they should be. Disk 
manufacturers are free to put the bits of a disk that add up to this mythical 
thing called a "cylinder" any place they like, as long as the mapping between 
them is maintained. There is also no way I know of to ask a disk where a 
specific sector actually resides.

-- 
alan dot mckinnon at gmail dot com

Reply via email to