Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OT] Festplattendefragmentation
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
Realmaker
l33t
l33t


Joined: 17 Sep 2003
Posts: 683
Location: Bremen, Germany

PostPosted: Thu Aug 19, 2004 4:11 pm    Post subject: [OT] Festplattendefragmentation Reply with quote

Hallo
Ich benutze eine ReiserFS-Partition und manchmal, meistens dann wenn ich gerade gar nichts am Rechner mache (z.B. mein Zimmer aufräumen :) ), fängt die Festplatte an zu rattern, und das ziemlich lange. Ich habe mal gehört, dass ReiserFS sich selbstständig defragmentiert. Dagegen hab ich auch soweit nichts, nur stört es, wenn ich z.B. gerade Warcraft3 spiele, die Festplatte wieder anfängt zu rattern bis sich der Rechner ganz aufhängt (die Festplatte ratter aber munter weiter.).
Gibt es Tools für ReiserFS, mit denne ich gucken kann, wie stark meine Partition fragmentiert ist (und welche, mit denen ich sie defragmentieren lassen kann :) )?
Danke
_________________
Athlon 2600+ Barton, Asus A7N8x-X, nForce2, Asus Geforce FX5700 256mb, TwinMos 512ddr-sdram cl 2.5

Wer andern eine Bratwurst brät, der hat ein Bratwurstbratgerät.
Back to top
View user's profile Send private message
Crash80
n00b
n00b


Joined: 08 Jul 2004
Posts: 30

PostPosted: Thu Aug 19, 2004 4:15 pm    Post subject: Reply with quote

soweit ich weiss gibt es in den intelligenten dateisystem von linux keine defragmentierung, siehe dazu auch ( auch wenns für ext2 ist ):

Ext2 - Fragmentierung

hoffe ich verzapf kein blödsinn ;)
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Thu Aug 19, 2004 4:26 pm    Post subject: Reply with quote

Hört sich vielmehr nach dem updatedb cronjob an, der da bei dir läuft. Checke das mal.
_________________
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Back to top
View user's profile Send private message
Realmaker
l33t
l33t


Joined: 17 Sep 2003
Posts: 683
Location: Bremen, Germany

PostPosted: Thu Aug 19, 2004 5:10 pm    Post subject: Reply with quote

Also ich hab mir man cron durchgelesen und an den Stellen gesucht, die angegeben wurden, aber da war nichts von updatedb zu sehen.
Wie kann ich das anders kontrollieren?
_________________
Athlon 2600+ Barton, Asus A7N8x-X, nForce2, Asus Geforce FX5700 256mb, TwinMos 512ddr-sdram cl 2.5

Wer andern eine Bratwurst brät, der hat ein Bratwurstbratgerät.
Back to top
View user's profile Send private message
Fibbs
Guru
Guru


Joined: 26 Jan 2003
Posts: 448
Location: Forstern near Munich / Germany

PostPosted: Thu Aug 19, 2004 5:13 pm    Post subject: Reply with quote

Schau doch erstmal, woher das "Festplattenrattern" eigentlich kommt. Einfach während das wieder passiert, top aufrufen und schauen, welche Prozesse gerade Last verursachen.
Dann kannst Du immer noch schauen, woher der Prozess kommt, bzw. wie Du ihn deaktivierst.

Gruß,
Fibbs
Back to top
View user's profile Send private message
Realmaker
l33t
l33t


Joined: 17 Sep 2003
Posts: 683
Location: Bremen, Germany

PostPosted: Thu Aug 19, 2004 5:21 pm    Post subject: Reply with quote

Das setzt aber voraus, dass das rattern dann kommt, wenn ich nicht gerade etwas spiele :wink:
Aber wenn es "außerhalb" mal auftritt, gucke ich mal nach, danke für den Tipp.
_________________
Athlon 2600+ Barton, Asus A7N8x-X, nForce2, Asus Geforce FX5700 256mb, TwinMos 512ddr-sdram cl 2.5

Wer andern eine Bratwurst brät, der hat ein Bratwurstbratgerät.
Back to top
View user's profile Send private message
ketjow
Guru
Guru


Joined: 01 Apr 2004
Posts: 382
Location: Krakow, Poland

PostPosted: Thu Aug 19, 2004 5:22 pm    Post subject: Reply with quote

Wenn das "Festplattenrattern" wieder anfängt, dann starte mal "top" und guck, ob updatedb läuft. In cron ist es standardmässig an, aber unter dem Namen slocate ( /etc/cron.d/cron.daily ). Slocate benutzt die Datenbank, die mit updatedb aktualisiert wird.

Gruss,
ketjow
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Thu Aug 19, 2004 6:48 pm    Post subject: Reply with quote

Realmaker wrote:
Das setzt aber voraus, dass das rattern dann kommt, wenn ich nicht gerade etwas spiele :wink:
Ctrl-Alt-F2 :wink:
Back to top
View user's profile Send private message
Realmaker
l33t
l33t


Joined: 17 Sep 2003
Posts: 683
Location: Bremen, Germany

PostPosted: Thu Aug 19, 2004 7:10 pm    Post subject: Reply with quote

Schon klar, nur meistens schmiert der Rechner ab und die Festplatte rattert weiter. Das ist ja das seltsame
_________________
Athlon 2600+ Barton, Asus A7N8x-X, nForce2, Asus Geforce FX5700 256mb, TwinMos 512ddr-sdram cl 2.5

Wer andern eine Bratwurst brät, der hat ein Bratwurstbratgerät.
Back to top
View user's profile Send private message
christophd
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 76

PostPosted: Thu Aug 19, 2004 7:39 pm    Post subject: Reply with quote

bei mir ist das auch ähnlich. der computer "friert" bei mir ein. laut cron läuft dabei updatedb.

Was macht ein updatedb?
Warum hängt es sich auf?
Back to top
View user's profile Send private message
oma
Guru
Guru


Joined: 17 Feb 2004
Posts: 302
Location: /home/markus/heiligenhaus

PostPosted: Thu Aug 19, 2004 9:04 pm    Post subject: Reply with quote

Könnte sich um das Update von "locate" handeln - ist das drauf? Falls ja - vergleich mal das rattern mit
Code:
locate -u
sollte das update "per Hand" ausführen
_________________
"...ich bin Guybrush Threepwood - ein mächtiger Pirat!"
Back to top
View user's profile Send private message
Realmaker
l33t
l33t


Joined: 17 Sep 2003
Posts: 683
Location: Bremen, Germany

PostPosted: Thu Aug 19, 2004 9:39 pm    Post subject: Reply with quote

Japp, hört sich genauso an.
_________________
Athlon 2600+ Barton, Asus A7N8x-X, nForce2, Asus Geforce FX5700 256mb, TwinMos 512ddr-sdram cl 2.5

Wer andern eine Bratwurst brät, der hat ein Bratwurstbratgerät.
Back to top
View user's profile Send private message
Ezekeel
Apprentice
Apprentice


Joined: 10 Apr 2004
Posts: 285
Location: SW Germany

PostPosted: Thu Aug 19, 2004 10:07 pm    Post subject: Reply with quote

@christophd
updatedb oder locate -u (soweit ich weiss ist das das selbe) erstellt eine Datenbank für das schneller auffinden von Dateien. Die datenbank kann mit locate aufgerufen werden. man locate hilft weiter
und abschmieren darf er deswegen eigentlich nicht -> belastet zwar die HD, aber die CPU wird kaum belastet!
_________________
Das logische Denken ist das Muster einer vollständigen Fiktion.
Back to top
View user's profile Send private message
Realmaker
l33t
l33t


Joined: 17 Sep 2003
Posts: 683
Location: Bremen, Germany

PostPosted: Thu Aug 19, 2004 10:12 pm    Post subject: Reply with quote

Hm, ich hatte aber schon immer das Problem, dass mein Rechner bei Festplattenzugriffen reaktionsträge wird :?
_________________
Athlon 2600+ Barton, Asus A7N8x-X, nForce2, Asus Geforce FX5700 256mb, TwinMos 512ddr-sdram cl 2.5

Wer andern eine Bratwurst brät, der hat ein Bratwurstbratgerät.
Back to top
View user's profile Send private message
Jlagreen
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 211
Location: Baden-Württemberg, Germany

PostPosted: Thu Aug 19, 2004 10:37 pm    Post subject: Reply with quote

Hi,

in dem fall empfehle ich xfs

cpu auslastung macht da absolut nix aus 8)

einziger wermutstropfen ist, dass keine auto-kontrolle beim boot (alle bestimmte anzahlen von mounts) wie bei ext3 existiert, weißt da vielleicht jemand ne lösung?
_________________
Aktuelle Sys:
Dektop System
--> GF6800LE @ 12p/6v @ 415/900
-- >Think Linux, use Gentoo
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Thu Aug 19, 2004 11:17 pm    Post subject: Reply with quote

wieso auto-kontrolle?

genau der wegfall ist ja einer der vorteile des journaling :D
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
Inte
Veteran
Veteran


Joined: 15 Jul 2003
Posts: 1387
Location: Mannheim, GER

PostPosted: Fri Aug 20, 2004 7:18 am    Post subject: Reply with quote

Realmaker wrote:
Hm, ich hatte aber schon immer das Problem, dass mein Rechner bei Festplattenzugriffen reaktionsträge wird :?
Trotz aktiviertem DMA?
_________________
Gentoo Linux - Die Metadistribution
Back to top
View user's profile Send private message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Fri Aug 20, 2004 8:49 am    Post subject: Reply with quote

also ich habe gemerkt, dass als ich noch (vor zwei wochen?) Xfree 4.3 benutzt habe hat unter X die maus nicht geruckelt bei intensiven festplattenaktionen. jedoch unter X.org ruckelt die maus sehr. teilweise bleibt sie sogar ganz stehen. und ich kann dann für gewöhnlich den festplatten nutzenden prozess nicht mehr beenden (falls ich ihn selbst gestartet habe, z.b. cp oder mv von einer parti zur andern) weil sich die maus einfach nicht mehr bewegen lässt. auch tastatureingaben werden manchmal wenn es extrem ist erst eine minute später verarbeitet. somit muss ich dann geduldig abwarten :evil: also das ruckeln nervt eigentlich schon, ja, und ich denke 100%ig dass es an xorg liegt, weil ich das mit xfree nicht hatte. ansonsten habe ich an meinem rechnernichts geändert. und ein soooo übertrieben subjektiver eindruck kann es nicht sein. zumal ich von X.org (nach lesen viele threads) immer nur gehört habe dass es schneller, höher, weiter und besser ist :?
Back to top
View user's profile Send private message
christophd
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2003
Posts: 76

PostPosted: Fri Aug 20, 2004 8:56 am    Post subject: Reply with quote

Gibt es eine Möglichkeit updatedb bzw locate -u eine geringere Priorität zu geben? (Eine ganz ganz niedrige)
Back to top
View user's profile Send private message
hiroki
Guru
Guru


Joined: 29 Jul 2003
Posts: 327
Location: @home in germany

PostPosted: Fri Aug 20, 2004 9:01 am    Post subject: Reply with quote

also bei mir ist das anscheinend schon so gemacht... mit "nice":

/etc/cron.daily/slocate
Code:
#! /bin/sh

if [ -x /usr/bin/updatedb ]
then
        if [ -f /etc/updatedb.conf ]
        then
                nice /usr/bin/updatedb
        else
                nice /usr/bin/updatedb -f proc
        fi
fi
Back to top
View user's profile Send private message
makenoob
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 272
Location: /Germany/Düsseldorf

PostPosted: Fri Aug 20, 2004 9:17 am    Post subject: Reply with quote

Jlagreen wrote:
Hi,

in dem fall empfehle ich xfs

cpu auslastung macht da absolut nix aus 8)

einziger wermutstropfen ist, dass keine auto-kontrolle beim boot (alle bestimmte anzahlen von mounts) wie bei ext3 existiert, weißt da vielleicht jemand ne lösung?


Ich kenn mich mit Dateisystemen und esp. xfs nicht so aus, aber wozu sind denn dann die Parameter in /etc/fstab ? Im Handbuch steht doch was von fsck:


    Das sechste Feld wird von fsck ausgelesen um festzustellen, ob es nach unsauberem Herunterfahren des System nötig ist das Dateisystem auf Inkonsistenz zu prüfen. Das Root-Dateisystem sollte in diesem Feld eine 1 haben; alle anderen Dateisysteme eine 2 (Dateisysteme, bei denen keine Prüfung notwendig ist eine 0).


oder hab ich da jetzt was grundsätzlich falsch verstanden? Nagut, ein Intensivtest auf "Bad Blocks" wird da AFAIK nicht durchgeführt, aber das kann und sollte man dann ja auch von Hand machen.

Marc[/list][/code]
Back to top
View user's profile Send private message
Realmaker
l33t
l33t


Joined: 17 Sep 2003
Posts: 683
Location: Bremen, Germany

PostPosted: Fri Aug 20, 2004 12:11 pm    Post subject: Reply with quote

Eigentlich ja:
Code:
hdparm -i /dev/hda

/dev/hda:

 Model=SAMSUNG SP1614N, FwRev=TM100-24, SerialNo=S016J10X624994
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: (null):

 * signifies the current active mode

_________________
Athlon 2600+ Barton, Asus A7N8x-X, nForce2, Asus Geforce FX5700 256mb, TwinMos 512ddr-sdram cl 2.5

Wer andern eine Bratwurst brät, der hat ein Bratwurstbratgerät.
Back to top
View user's profile Send private message
Jlagreen
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 211
Location: Baden-Württemberg, Germany

PostPosted: Fri Aug 20, 2004 12:20 pm    Post subject: Reply with quote

makenoob wrote:

    Das sechste Feld wird von fsck ausgelesen um festzustellen, ob es nach unsauberem Herunterfahren des System nötig ist das Dateisystem auf Inkonsistenz zu prüfen. Das Root-Dateisystem sollte in diesem Feld eine 1 haben; alle anderen Dateisysteme eine 2 (Dateisysteme, bei denen keine Prüfung notwendig ist eine 0).



hab diese einstellung in der fstab und meine boot partition wird ja auch gecheckt, weil sie ja ext2 ist, bei xfs jedoch braucht man die xfsprogs und da gibts xfs_check und xfs_repair und die kennt fsck nicht, da es wohl nur mit ext2, ext3 läuft
_________________
Aktuelle Sys:
Dektop System
--> GF6800LE @ 12p/6v @ 415/900
-- >Think Linux, use Gentoo
Back to top
View user's profile Send private message
lolli78
Apprentice
Apprentice


Joined: 14 Jan 2004
Posts: 162
Location: Europe

PostPosted: Fri Aug 20, 2004 12:32 pm    Post subject: Reply with quote

hallo,

alle x mounts wird das passende fschk zur partition aufgerufen. da xfs aber die partition bei jedem mounten selbst checkt, tut das fschk von xfs nichts.
Code:
$ apropos fsck.xfs
fsck.xfs [fsck]      (8)  - do nothing, successfully


deshalb kann man in die fstab als letzte zahl auch getrost eine 0 eintragen, da es egal ist, ob fschk.xfs nun gar nicht aufgerufen wird oder ob fschk.xfs erfolgreich nichts tut 8)

xfs_check musst du schon selber aufrufen, aber es reicht meistens, wenn du das tust, wenn xfs dich beim mounten darauf aufmerksam macht.

lorenz
_________________
frag' doch deinadmin.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum