hdparm (DMA) einstellen bzw erhöhen

K

ketchup

Grünschnabel
Hallo erstmal.

folgendes problem habe ich.

Wenn ich per Samba ein File (700mb) vom Win PC auf den Linux übertrage sagt mir windows es würde 2 Minuten dauern was dann ja einer Übertragungsrate von ca 5-6 mb/s entspäche.

also gab ich am Linux im Terminal ein:

hdparm -d /dev/hdd

und mir wird gesagt using_dma 1 (on)

wie setze ich den wert höher??

Fedora 6 distri
seagate 160gb hdd (80pin kabel angeschlossen)
 
dma 0 = off
dma 1 = on

Anner als an geht nicht[1].

Zeig mal die Ausgabe von

Code:
hdparm /dev/hdd

also *ohne* Schalter.

Ggf. lässt sich da noch was optimieren.

[1] Auszug aus man hdparm

Code:
     -d     Disable/enable the "using_dma" flag for this drive.  This option
              now  works  with  most combinations of drives and PCI interfaces
              which support DMA and which are known to the kernel IDE  driver.
              It  is also a good idea to use the appropriate -X option in com-
              bination with -d1 to ensure that the drive itself is  programmed
              for the correct DMA mode, although most BIOSs should do this for
              you at boot time.  Using DMA nearly always gives the  best  per-
              formance, with fast I/O throughput and low CPU usage.  But there
              are at least a few configurations of  chipsets  and  drives  for
              which  DMA  does not make much of a difference, or may even slow
              things down (on really messed up hardware!).  Your  mileage  may
              vary.
 
Zuletzt bearbeitet:
hdparm

/dev/hdd

multcount =16 (on)
IO_support = 1 (32-bit)
unmaskirq =1 (on)
using_dma =1 (on)
keepsettings = 0 (off)
readonly =0 (off)
readahead = 256 (on)
geometry = 19457/255/63, sectors =312581808, start = 0
 
was du suchst ist vielleicht ?
Code:
hdparm -X"udma1" -d 1 /dev/hdX

was deine platte/dvd kann bekommst du mit

Code:
hdparm -iI /dev/hdX
 
Zuletzt bearbeitet:
# hdparm -X"udma1" -d 1 /dev/hdd

/dev/hdd:
setting using_dma to 1 (on)
setting xfermode to 65 (UltraDMA mode1)
using_dma = 1 (on)

# hdparm -iI /dev/hdd

/dev/hdd:

Model=ST3160812A, FwRev=3.AAD, SerialNo=XXX
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, 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: Unspecified: ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

* signifies the current active mode


ATA device, with non-removable media
Model Number: ST3160812A
Serial Number: XXX
Firmware Revision: 3.AAD
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128705
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 312581808
device size with M = 1024*1024: 152627 MBytes
device size with M = 1000*1000: 160041 MBytes (160 GB)
Capabilities:
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 208, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 *udma1 udma2 udma3 udma4 udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
Security:
Master password revision code = asdf
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 1 determined by the jumper
Checksum: correct
#
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

UDMA modes: udma0 *udma1 udma2 udma3 udma4 udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

* signifies the current active mode

wie man schön sogar hier am * sehen kann udma0 *

so nun wieder die Frage wie krieg ich da MEHR POWER (zitat von tim T.)
 
Zuletzt bearbeitet:
schnarch...... *g

jo udma 5 wäre angebracht wie mach ich das am besten ?
 
So wie du vorher auf udma1 gestellt hast *g*

Code:
hdparm -X"udma5" -d 1 /dev/hdd
 
hdparm -X"udma5" -d 1 /dev/hdd

/dev/hdd:
setting using_dma to 1 (on)
setting xfermode to 69 (UltraDMA mode5)
using_dma = 1 (on)

UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5

jo scheint er gemacht zu haben.
dennoch per samba so langsam
 
vielleicht ist das netzwerk der flaschenhals aber ohne benchmarks brauchen wir hier garnicht weiter machen!:headup:
 
jo dann sag ich mal fett danke für die SCHNELLE hilfe.

udma ist aktiv das schonmal wichtig.

thx
 
Dann ist dein Netz lahm, nicht die Platte.

Tante Edit sagt, ich bin auch zu lahm heute. Naja, hier ist das soo warm, da darf ich langsam machen ;)
 
hängt an fritzbox per 100mbit's 2 rechner diese wiederum ist per wds auf eine andere fritzbox verbunden.

es könnte also möglich sein das der hingeht und mir das per w-lan übers Gateway schiebt

hdparm -tT /dev/hdd

/dev/hdd:
Timing cached reads: 820 MB in 2.01 seconds = 408.14 MB/sec
Timing buffered disk reads: 98 MB in 3.02 seconds = 32.42 MB/sec
 
Zuletzt bearbeitet:

Ähnliche Themen

ASUS CUR-DLS (Serverworks) IDE-Laufwerk sehr langsam

Zurück
Oben