1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hi, just one more idea that came to my mind, |
5 |
|
6 |
reiserfs uses a technique to save small files in the filesystem tree |
7 |
which uses less disk space then. In ext3 a 1 byte file will take up 4k, |
8 |
while this is not the case in reiserfs. |
9 |
This yields a performace hit of about 5% (people say, not that i have |
10 |
measured anything) |
11 |
|
12 |
If you have enough free space you can disable this, make the small files |
13 |
consume more space again and gains some speed improvement. |
14 |
|
15 |
Another thing you could do is disable the writing of accesstimes. |
16 |
Read man mount how to do this. The mount options are noatime,notail. |
17 |
|
18 |
Concerning your observation I would start looking at how the |
19 |
fragmentation is measured. |
20 |
Maybe this also depends on the filesystem implementation in the kernel. |
21 |
Anyway: |
22 |
you can not get much better 1.043.. parts per file. This means that |
23 |
almost every file(96,12 % in your case) is contiguous. |
24 |
|
25 |
have fun |
26 |
|
27 |
|> |
28 |
| |
29 |
| I did a little test. Something fishy here. I did a test with the /data |
30 |
| partition. I store pictures and documents there and it was fragmented. |
31 |
| I cp -av to another reiserfs formatted partition then remade the file |
32 |
| system and copied it back using basically the same command just in |
33 |
| reverse. This is what I got now: |
34 |
| |
35 |
| root@smoker / # /root/fragck.pl /data/ |
36 |
| 3.88457269700333% non contiguous files, 1.04344379261138 average |
37 |
fragments. |
38 |
| root@smoker / # |
39 |
| |
40 |
| That is not a lot better than it was before. It was 4.6% before. How |
41 |
| is that? I copied it over then ran the command right after without even |
42 |
| touching the files. |
43 |
| Any ideas? Is there a limit to the fragmenting "smallness"? |
44 |
| |
45 |
| Dale |
46 |
| |
47 |
| :-) :-) |
48 |
|
49 |
-----BEGIN PGP SIGNATURE----- |
50 |
Version: GnuPG v2.0.7 (GNU/Linux) |
51 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
52 |
|
53 |
iD8DBQFHtE6PrpEWPKIUt7MRAoAhAJ4wJ1Ygs7A75ayFCIAs+uXjW+uUbwCfdeaB |
54 |
rDCDg4kPoAfrKbMUZdJ/EdU= |
55 |
=WkET |
56 |
-----END PGP SIGNATURE----- |
57 |
-- |
58 |
gentoo-user@l.g.o mailing list |