Re: festplattenperformance

From: Oliver Fromme <olli(at)secnetix.de>
Date: Mon, 5 Nov 2001 21:39:06 +0100 (CET)

Robert Lillack <rob(at)lillack.de> wrote:
> habe gerade die aktuellen mozilla-sourcen ausgepackt
> und es hat ganze zwanzig minuten gedauert.
>
> die cpu (athlon 1000) war nur zu 0-5% ausgelastet und
> ich habe eine ultra-ata platte -- also irgendwas stimmt da
> doch nicht?!? oder?
>
> so, wie kann ich also feststellen, wie meine platten
> angesprochen werden? und wie kann ich das auf udma
> stellen??

Erstmal in dmesg nachgucken, ob er Deinen UDMA-Controller
als solchen erkannt hat (sollte er eigentlich). Das kann
zum Beispiel so aussehen (bei Dir können's natürlich andere
sein):

   atapci0: <Intel PIIX4 ATA33 controller> port 0xfcd0-0xfcdf at device 7.1 on pci0
   ata0: at 0x1f0 irq 14 on atapci0
   ...
   ad0: 9590MB <IBM-DJSA-210> [19485/16/63] at ata0-master UDMA33
   acd0: DVD-ROM <TOSHIBA DVD-ROM SD-C2502> at ata0-slave using UDMA33

Dann versuch mal:

   sysctl hw.ata.ata_dma hw.atamodes

Die Ausgabe sollte etwa so aussehen (je nach Anzahl der
IDE-Channel und -Geräte):

   hw.ata.ata_dma: 1
   hw.atamodes: dma,dma,

Ändern kannst Du diese Einstellungen in /boot/loader.conf
(siehe auch die entsprechende Datei unter /boot/defaults).

Dann noch etwas anderes: Hast Du Soft-Updates auf Deinen
Partitionen aktiviert? »mount« sagt Dir das, z.B.:

   /dev/ad0s1a on / (ufs, local, soft-updates)
   /dev/ad0s1f on /usr (ufs, local, nodev, soft-updates)
   /dev/ad0s1g on /home (ufs, local, noatime, soft-updates)
   /dev/ad0s1e on /var (ufs, local, nodev, nosuid, soft-updates)
   mfs:29 on /tmp (mfs, asynchronous, local, nodev, nosuid)
   procfs on /proc (procfs, local)

Wenn da bei Dir nicht "soft-updates" steht, möchtest Du es
aktivieren, das geht z.B. per tunefs(8).

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 05 Nov 2001 - 21:39:08 CET

search this site