Gentoo Archives: gentoo-user-br

From: Bruno Linhares <oandarilho01@×××××××××.br>
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] Tuning desktop.
Date: Tue, 18 Sep 2007 20:10:55
Message-Id: 913785.1215.qm@web54409.mail.yahoo.com
In Reply to: Re: [gentoo-user-br] Tuning desktop. by Felipe 'chronos' Prenholato
1 --- Felipe 'chronos' Prenholato
2 <philipe_rp@×××××××××.br> escreveu:
3
4 > Eu li um artigo no gentoo.org e o artigo no fórum do
5 > gentoo.
6 > O data_writeback o deixa sem journal, e por isso ele
7 > fica mais rápido,
8 > mas qual a vantagem de usar um FS com journaling sem
9 > journaling ....
10 >
11 > eu to usando journaling full, data=journal, no
12 > rootopts.
13 >
14 > Cabral wrote:
15 > > A idéia é simples. O que acham de criarmos uma
16 > theard com opções de
17 > > tuning para desktop ?
18 > > Eu tenho bastante coisa modificada no /proc que
19 > pesquisei na web,
20 > > gostaria de compartlhar e receber algumas
21 > modificações.
22 > >
23 > > Se toparam vão as minhas 3 primeiras dicas, ext3,
24 > reiserfs, xfs.
25 > >
26 > > ext3
27 > >
28 > > tune2fs -O dir_index /dev/sdax
29 > >
30 > > tune2fs -o journal_data_writeback /dev/sdax
31 > >
32 > > /dev/sdax /home ext3
33 > defaults,noatime,data=writeback 0 0
34 > >
35 > >
36 > > tune2fs -l /dev/sdax
37 > >
38 > > ###
39 > >
40 > > xfs
41 > >
42 > > /dev/sdax/ xfs logbufs=8,noatime,nodiratime 0 0
43 > >
44 > > So here is how to defrag your XFS filesystem
45 > >
46 > > make sure that you have xfsdump installed and the
47 > run:
48 > > sudo xfs_db -r /dev/[your xfs partition]
49 > > at the prompt xfs_db> type in frag to view the
50 > fragmentation factor and then type in quit to exit
51 > the xfs_db util.
52 > >
53 > > If your fragmentation factor is above 10% then I
54 > would recommend defragmentation.
55 > > Now, to actually defrag the filesystem you need to
56 > do this
57 > > sudo xfs_fsr -v /dev/[your xfs partition]
58 > >
59 > > ###
60 > >
61 > > reiserfs
62 > >
63 > > /dev/sda1 /home reiserfs
64 > notail,data=writeback,noatime,nodiratime 0 0
65 > >
66 > >
67 > >
68 > >
69 > >
70 > > **
71 >
72 >
73 >
74 > Felipe 'chronos' Prenholato.
75 > MZO Interativa - www.mzo.com.br
76 > Linux User nº 405489
77 > Eu apoio: www.gentoobr.org, www.sancalivre.org.br
78 > --
79 > ¿Ele é o melhor ¿
80 > ~ Virús,Keyloger,Trojan sobre o Windows
81 > http://desciclo.pedia.ws/wiki/Windows
82 > Sempre é bom se divertir :].
83 > --
84 > gentoo-user-br@g.o mailing list
85 >
86 >
87
88 Cara, tu deixaste escapar 1 detalhe importante.. Vou
89 transcrever o trecho exato:
90
91 " In data=writeback mode, ext3 doesn't do any form of
92 data journaling at all, providing you with similar
93 journaling found in the XFS, JFS, and ReiserFS
94 filesystems (metadata only). "
95
96 Ou seja, com data=writeback o sistema não faz DATA
97 journaling, mas continua fazendo METADATA journaling.
98
99
100
101 Flickr agora em português. Você clica, todo mundo vê.
102 http://www.flickr.com.br/
103 --
104 gentoo-user-br@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-br] Tuning desktop. Felipe 'chronos' Prenholato <philipe_rp@×××××××××.br>