Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hdparm, festplatte optimieren
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)
View previous topic :: View next topic  
Author Message
razor
n00b
n00b


Joined: 23 Jan 2003
Posts: 28

PostPosted: Tue Mar 04, 2003 11:50 am    Post subject: hdparm, festplatte optimieren Reply with quote

Guten Tag.

Wie wäre es wenn wir gemeinsam unsere hdparm-Ausgabe vergleichen um so zu besseren Ergebnissen zu gelangen?

Bei mir läuft die Platte scheinbar noch auf 16, anstelle von 32. Was gibt es noch zu optimieren?

Code:

root@chaingun:~$ hdparm -t /dev/hde

/dev/hde:
 Timing buffered disk reads:  64 MB in  1.41 seconds = 45.39 MB/sec
root@chaingun:~$ hdparm -v /dev/hde

/dev/hde:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 158816/16/63, sectors = 160086528, start = 0

Back to top
View user's profile Send private message
MasterOfMagic
l33t
l33t


Joined: 20 Aug 2002
Posts: 677
Location: Vienna, Austria

PostPosted: Tue Mar 04, 2003 12:03 pm    Post subject: Reply with quote

auf meinem dell inspiron 8200 habe ich ein paar mal mit hdparm experimentiert, jedoch musste ich feststellen, dass bei mir die defaulteinstellungen den besten durchsatz liefern, scheinbar ist das auch vom eingesetzten chipsatz abhängig. jedenfalls hat es bei mir nichts gebracht.

mfg
masterofmagic
_________________
Gentoo 1.4
Kernel 2.4.24
KDE 3.1.5
Back to top
View user's profile Send private message
floe-de
Apprentice
Apprentice


Joined: 25 Jul 2002
Posts: 233

PostPosted: Tue Mar 04, 2003 12:40 pm    Post subject: Reply with quote

Bei mir sieht es so aus, dabie hab ich in der /etc/conf.d/local.start
nur den DMA Support aktiviert mit hdparm -d 1 /dev/hdb



root@XViper floe-de # hdparm -v /dev/hdb

/dev/hdb:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 7476/255/63, sectors = 120103200, start = 0
Back to top
View user's profile Send private message
Haldir
Guru
Guru


Joined: 27 Sep 2002
Posts: 546

PostPosted: Tue Mar 04, 2003 2:10 pm    Post subject: Reply with quote

Ich würds gleich in die Kernel mit eincompilen (DMA support), dann spart man sich das hdparm gesetze
Back to top
View user's profile Send private message
tux-fan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 131
Location: Paderborn, Germany

PostPosted: Tue Mar 04, 2003 2:25 pm    Post subject: Reply with quote

Hab die Einstellungen aus dem Installations-Dokument genommen.
Die Parameter bringen bei mir die größte Performance.

Replace hdX with your disk device.
# hdparm -d 1 /dev/hdX Enables DMA
# hdparm -d1 -A1 -m16 -u1 -a64 /dev/hdX <--- diese hier
(Enables DMA and other safe performance-enhancing options)
# hdparm -X66 /dev/hdX
(Force-enables Ultra-DMA -- dangerous -- may cause some drives to mess up)
Back to top
View user's profile Send private message
serg
n00b
n00b


Joined: 20 Oct 2002
Posts: 35
Location: Halle/W.

PostPosted: Tue Mar 04, 2003 7:08 pm    Post subject: Reply with quote

wie testet man wie schnell eine festplatte ist?
:)
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Tue Mar 04, 2003 8:29 pm    Post subject: Reply with quote

serg wrote:
wie testet man wie schnell eine festplatte ist?
:)
Etwa so:
Code:
hdparm -tT /dev/hda
 
/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.45 seconds =284.44 MB/sec
 Timing buffered disk reads:  64 MB in  1.41 seconds = 45.39 MB/sec
Back to top
View user's profile Send private message
Attila
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2003
Posts: 93

PostPosted: Tue Mar 04, 2003 8:50 pm    Post subject: Reply with quote

Hiho,

WOW ! - Was'n das für eine Festplatte ? Knapp 45MB/sec !
Oder hat die nur einen riesigen Cache ?

Atti
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Tue Mar 04, 2003 8:56 pm    Post subject: Reply with quote

Attila wrote:
WOW ! - Was'n das für eine Festplatte ? Knapp 45MB/sec !
Oder hat die nur einen riesigen Cache ?

Das ist 'ne WD1200JB, 7200rpm, 8MB Cache. Und super leise. ;-)
Back to top
View user's profile Send private message
jew.de
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 226
Location: Frankfurt/Main

PostPosted: Thu Mar 20, 2003 7:20 pm    Post subject: Reply with quote

Hi ho,

ich würde ja auch gerne ein wenig an der Perfomance meiner Pladde basteln, ich weiß aber nicht, wie sie heißt.... Kann man das ohne Aufschreiben rausbekommen?
Wenn ich den Namen habe, kann man die besten Einstellungen für die Pladde ermitteln?

thx,

jew.de
_________________
http://www.jew.de
Back to top
View user's profile Send private message
Attila
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2003
Posts: 93

PostPosted: Fri Mar 21, 2003 5:38 am    Post subject: Platte rausfinden ... Reply with quote

Hiho,

Mach mal ein "df -k".
Da siehst du was von "/dev/hdXY" oder "/dev/sdXY" - "/dev/sdX" bzw. "/dev/hdX" ist dann deine Festplatte (oder zumindest die, wo der Mountpoint hinzeigt) !
Normalerweise ist das aber "/dev/hda" bei IDE !

mit "fdisk /dev/hdX" (bzw. /dev/sdX) und dann "p" kannst du dir die Partitionierung anschauen - mit "q" dann am besten gleich wieder raus, bevor man da unsinn macht ! :-)

Atti
Back to top
View user's profile Send private message
jew.de
Apprentice
Apprentice


Joined: 25 Sep 2002
Posts: 226
Location: Frankfurt/Main

PostPosted: Fri Mar 21, 2003 5:42 am    Post subject: Re: Platte rausfinden ... Reply with quote

Attila wrote:
Hiho,

Mach mal ein "df -k".
Da siehst du was von "/dev/hdXY" oder "/dev/sdXY" - "/dev/sdX" bzw. "/dev/hdX" ist dann deine Festplatte (oder zumindest die, wo der Mountpoint hinzeigt) !
Normalerweise ist das aber "/dev/hda" bei IDE !

mit "fdisk /dev/hdX" (bzw. /dev/sdX) und dann "p" kannst du dir die Partitionierung anschauen - mit "q" dann am besten gleich wieder raus, bevor man da unsinn macht ! :-)

Atti


Soviel ist mir auch schon klar :D

Mir geht es um ein Tool, ähnlich wie lspci, wo ich auch den Herrsteller und das Model rauskriege.

jew.de
_________________
http://www.jew.de
Back to top
View user's profile Send private message
zypher
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 416
Location: Cologne, ger.

PostPosted: Fri Mar 21, 2003 6:57 am    Post subject: Reply with quote

Versuchs mit hdparm -I /dev/hdX
_________________
linux user 65882
Back to top
View user's profile Send private message
hakan
Apprentice
Apprentice


Joined: 11 Jul 2002
Posts: 252
Location: Aachen, Germany

PostPosted: Mon Mar 24, 2003 1:49 am    Post subject: Reply with quote

Ihr habt mich insperiert auch mal was mit hdparm zu exprementieren.

Die Ergebnisse verwundern mich ein bisschen.

Wenn ich DMA deaktiviert habe, erhalten ich folgendes:
Code:

/dev/hdb:
 Timing buffer-cache reads:   128 MB in  0.52 seconds =248.06 MB/sec
 Timing buffered disk reads:  64 MB in  9.64 seconds =  6.64 MB/sec


Mit aktiviertem DMA:
Code:

/dev/hdb:
 Timing buffer-cache reads:   128 MB in  0.53 seconds =243.35 MB/sec
 Timing buffered disk reads:  64 MB in  1.80 seconds = 35.52 MB/sec


Mich verwundert der buffered disk read. Dort erkennt man nun wirklich einen gravierenden Unterschied.

Woran liegt das?
_________________
-der kleine eine-
Back to top
View user's profile Send private message
hakan
Apprentice
Apprentice


Joined: 11 Jul 2002
Posts: 252
Location: Aachen, Germany

PostPosted: Mon Mar 24, 2003 1:54 am    Post subject: Reply with quote

Noch eine Frage:

Passt zwar nicht ganz hier hin, aber ich will deswegen keinen neuen Thread aufmachen.

Wenn ich große Dateien kopiere, dann stockt mein System. Also es ruckelt wirklich extrem.

Woran kann das liegen?

[Ich benutze ReiserFS und ext3.]
_________________
-der kleine eine-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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