1 |
On 2/8/06, David Guerizec <david@××××××××.net> wrote: |
2 |
> So the directories sensible to fragmentation are IMHO, /var/tmp |
3 |
> and /usr/portage, and they are the ones to put on different partitions. |
4 |
|
5 |
I tend to agree with you. They should also be no larger than |
6 |
necessary. My current partition setup is: |
7 |
|
8 |
/boot 100M |
9 |
/ 6G |
10 |
/tmp 2G |
11 |
/var 5G |
12 |
/usr/portage 1G |
13 |
/usr/portage/packages 6G (includes distfiles) |
14 |
/usr/src 2G |
15 |
/home 66G (the rest of the disk) |
16 |
|
17 |
My feeling is that if you partition sensibly, you don't need to worry |
18 |
much about fragmentation. |
19 |
|
20 |
> Now, I don't have exact numbers to prove my sayings, but anyone can make the |
21 |
> test themself, if they already have /var/tmp and/or /usr/portage on separate |
22 |
> partitions. |
23 |
|
24 |
_Many_ people have reported speedups from having portage on a small |
25 |
separate volume/partition. |
26 |
|
27 |
> I didn't have time yet to sort out what kind of filesystem is more or less |
28 |
> sensible to fragmentation, but from my experience, ext[23] is not a good |
29 |
> candidate for /var/tmp or /usr/postage. Reiser3 has proven to fragment too, |
30 |
> and one of the last system I installed was formated with XFS, which I will |
31 |
> "defragment" in a few weeks. Hopefully I could then come with numbers. |
32 |
|
33 |
XFS is probably the most resistant to fragmentation due to it's |
34 |
extents based format and delayed allocation feature. But in all of |
35 |
the tests I've done on my system, xfs was slower than ext3 for the |
36 |
tasks I care about (backup and restore performance). But there were |
37 |
some improvements in xfs in 2.6.16 that I have been meaning to try |
38 |
out. |
39 |
|
40 |
There is an excellent paper written by the ext3 authors on what they |
41 |
are working on. It gives a good basis for understanding the tradeoffs |
42 |
between xfs, ext3, and reiserfs and their different features: |
43 |
|
44 |
http://ext2.sourceforge.net/2005-ols/paper-html/index.html |
45 |
|
46 |
-Richard |
47 |
|
48 |
-- |
49 |
gentoo-amd64@g.o mailing list |