Gentoo Archives: gentoo-user-br

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

Replies

Subject Author
Re: [gentoo-user-br] Tuning desktop. Raphael MD <raphamejias@×××××××××.br>