Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
frage zu hdparm und sata
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
Stone
Guru
Guru


Joined: 11 Mar 2003
Posts: 352

PostPosted: Tue May 24, 2005 12:56 pm    Post subject: frage zu hdparm und sata Reply with quote

huhu.

ich weiss da wurde schon eine menge gefragt und ich hab auch gesucht aber leider wurde ich nicht schlau.
hdparm ist ja für sata platten nicht gedacht aber wenn ich so einen test mache kommt mir dabei das raus:

Code:
hdparm -tT /dev/sda
/dev/sda:
 Timing cached reads:   1320 MB in  2.00 seconds = 658.45 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  172 MB in  3.02 seconds =  56.89 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device

da hab ich jetzt zwei fragen dazu.
warum kommen diese zwei "fehlermeldungen" und warum ist meine hdd so langsam? sollte die nicht etwas schneller unterwegs sein?
in meinem server schaff ich grad mal 9xxMB und 16xMB

sind beides seagate 200GB SATA platten.

kann mir da wer helfen?
Back to top
View user's profile Send private message
Donpasquale
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 150
Location: Munich

PostPosted: Fri May 27, 2005 10:46 am    Post subject: Reply with quote

das schaut doch alles ok aus vom speed her. der fehler kommt weil hdparm raw commands auf dem bus versucht auszuführen und der sata treiber die nicht abdeckt.

Ich wäre übrigens froh mit dem speed. habe hier grade ne workstation stehen die grade mal 15 mb/s liest weil der olle ati ixp chipset nicht sauber sata macht.
Back to top
View user's profile Send private message
SvenFischer
Veteran
Veteran


Joined: 05 Feb 2003
Posts: 1033
Location: Berlin

PostPosted: Fri May 27, 2005 1:58 pm    Post subject: Reply with quote

80 GB WD raptor
/dev/sda:
Timing buffered disk reads: 154 MB in 3.02 seconds = 51.05 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
/dev7sdb: No such file or directory

250 GB Maxtor:
/dev/sdb:
Timing buffered disk reads: 160 MB in 3.01 seconds = 53.15 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
_________________
Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front!
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1844
Location: Oranienburg/Germany

PostPosted: Fri May 27, 2005 2:27 pm    Post subject: Reply with quote

Code:
/dev/sda:
 Timing cached reads:   1992 MB in  2.00 seconds = 995.65 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  120 MB in  3.01 seconds =  39.89 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device


^ 40gb udma133 maytor ide+sata-adapter an einem silicon image 3112 onboard adapter.

Code:
/dev/hda:
 Timing cached reads:   2024 MB in  2.00 seconds = 1010.13 MB/sec
 Timing buffered disk reads:  158 MB in  3.03 seconds =  52.22 MB/sec


^ 80gb udma133 maxtor an nforce2 udma ide controller.

also so langsam ist deine platte dann doch nicht :D
_________________
Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Fri May 27, 2005 2:28 pm    Post subject: Reply with quote

SAMSUNG SP1614C
/dev/sda:
Timing cached reads: 2924 MB in 2.00 seconds = 1460.76 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
Timing buffered disk reads: 164 MB in 3.01 seconds = 54.49 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Sun May 29, 2005 3:57 pm    Post subject: Reply with quote

Ich habe eben festgestellt, dass die Platte diesen Wert (54.49 MB/sec) beim kopieren von Daten bei Weitem nicht erreicht.
vmstat 1 sowie cp -g zeigen, dass es nur um die 5-10 MB/sec sind. Mir ist aufgefallen, dass bei top der Wert 'wa' ziemlich hoch wird.
Im Kernel hab ich sata_nv fest drin. Meine IDE-Platte ist um einiges schneller.
Kann mir jemand sagen woher dieser doch sehr große Geschwindigkeitsunterschied kommt?
Falls es etwas bringt hier noch die Ausgabe von hdparm /dev/sda:

Code:
/dev/sda:
 IO_support   =  0 (default 16-bit)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 19457/255/63, sectors = 160041885696, start = 0

_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Mon May 30, 2005 9:01 pm    Post subject: Reply with quote

*bump*
_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
Hasw
n00b
n00b


Joined: 31 Dec 2004
Posts: 68
Location: Germany

PostPosted: Tue May 31, 2005 4:54 pm    Post subject: Reply with quote

Ist mir auch schon aufgefallen das der wa-Wert beim Kopieren mit der SATA-Platte recht hoch wird, ueber IDE ist der Wert kleiner.
Chipsatz ist ein Via K8T800 Pro. Beim nForce3 ist der Wert auch recht hoch, hier ist aber keine IDE-Platte dran um vergleichen zu koennen.

Die Uebertragungsraten sind aber in Ordnung:

Code:

root@hasw hasw # hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   3352 MB in  2.00 seconds = 1675.42 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
 Timing buffered disk reads:  188 MB in  3.01 seconds =  62.41 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device


Code:

bonnie++ -d /tmp -r 1024

Version 1.93c       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
hasw             2G   370  99 46361  16 23376   9   863  97 55780   8 253.5   2
Latency             65257us    8034ms     203ms   67342us     189ms   90557us
Version 1.93c       ------Sequential Create------ --------Random Create--------
hasw                -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  2246  88 +++++ +++ +++++ +++  2786  98 +++++ +++ 10599  95
Latency               670ms   21104us   20805us   65932us      46us   20199us
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Tue May 31, 2005 6:21 pm    Post subject: Reply with quote

Ich hab gestern schon mal bonnie++ laufen lassen, aber ehrlich gesagt find ich den output allgemein sehr unübersichtlich, auf welche Werte kommts denn an?
Wie gut/schlecht ist das hier:
Code:
Version 1.93c       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
zapp             2G   315  97 34280  12 14172   5  1047  95 50878   4 261.4   5
Latency             80135us    1636ms     868ms   41954us     112ms     570ms
Version 1.93c       ------Sequential Create------ --------Random Create--------
zapp                -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  2631  88 +++++ +++ +++++ +++  2905  96 +++++ +++ 10015  94
Latency             30164us     252us     467us   21358us      87us   16590us
1.93c,1.93c,zapp,1,1117564202,2G,,315,97,34280,12,14172,5,1047,95,50878,4,261.4,5,16,,,,,2631,88,+++++,+++,+++++,+++,2905,96,+++++,+++,10015,94,80135us,1636ms,868ms,41954us,112ms,570ms,30164us,252us,467us,21358us,87us,16590us

_________________
gentoo - compile your own world
Back to top
View user's profile Send private message
Hasw
n00b
n00b


Joined: 31 Dec 2004
Posts: 68
Location: Germany

PostPosted: Tue May 31, 2005 6:51 pm    Post subject: Reply with quote

Sequential Output/Input Block wuerde ich sagen. Das spielt wohl die meiste Rolle beim Kopieren von groesseren Dateien. Die Prozessorlast sollte
dabei auch moeglichst niedrig sein. Ist bei dir ja in Ordnung mit 34MB/s schreiben (12%) und 50MB/s lesen (4%).

Da sollte das Kopieren eigentlich flotter gehen, von wo nach wo kopierst du etwas? Wie gross?
Back to top
View user's profile Send private message
76062563
l33t
l33t


Joined: 16 Aug 2004
Posts: 637
Location: 127.0.0.1

PostPosted: Tue May 31, 2005 7:09 pm    Post subject: Reply with quote

2,5 GByte... in den ersten Sekunden ist der Wert sehr gut, dann sinkt er ab...
Egal ob ich von der S-ATA Platte auf die IDE Platte kopiere oder von S-ATA auf 'sich selbst'
mir ist klar dass ich im letzteren Fall nicht ganz so viel erwarten kann, aber die IDE Platte kopiert 'auf sich selbst' wesendlich schneller...
Die CPU-Last ist vollkommen in Ordnung ich bekommen nur ein hohes 'wa' bei top.
Ab welcher Dateigröße wirkt sich das auf die Geschwindigkeit aus?
_________________
gentoo - compile your own world
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