1 |
A idéia é simples. O que acham de criarmos uma theard com opções de tuning |
2 |
para desktop ? |
3 |
Eu tenho bastante coisa modificada no /proc que pesquisei na web, gostaria |
4 |
de compartlhar e receber algumas modificações. |
5 |
|
6 |
Se toparam vão as minhas 3 primeiras dicas, ext3, reiserfs, xfs. |
7 |
|
8 |
ext3 |
9 |
|
10 |
tune2fs -O dir_index /dev/sdax |
11 |
|
12 |
tune2fs -o journal_data_writeback /dev/sdax |
13 |
|
14 |
/dev/sdax /home ext3 defaults,noatime,data=writeback 0 0 |
15 |
|
16 |
tune2fs -l /dev/sdax |
17 |
|
18 |
### |
19 |
|
20 |
xfs |
21 |
|
22 |
/dev/sdax/ xfs logbufs=8,noatime,nodiratime 0 0 |
23 |
|
24 |
So here is how to defrag your XFS filesystem |
25 |
|
26 |
make sure that you have xfsdump installed and the run: |
27 |
sudo xfs_db -r /dev/[your xfs partition] |
28 |
at the prompt xfs_db> type in frag to view the fragmentation factor |
29 |
and then type in quit to exit the xfs_db util. |
30 |
If your fragmentation factor is above 10% then I would recommend |
31 |
defragmentation. |
32 |
Now, to actually defrag the filesystem you need to do this |
33 |
sudo xfs_fsr -v /dev/[your xfs partition] |
34 |
|
35 |
### |
36 |
|
37 |
reiserfs |
38 |
|
39 |
/dev/sda1 /home reiserfs notail,data=writeback,noatime,nodiratime 0 0 |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
** |