ubuntuusers.de

p-ata performance probleme..

Status: Ungelöst | Ubuntu-Version: Ubuntu 8.04 (Hardy Heron)
Antworten |

cypeak

Avatar von cypeak

Anmeldungsdatum:
24. April 2007

Beiträge: 39

hallo allerseits...da ich nicht weiß wie ich das problem löse (falls es eines ist) poste ich mal hier und hpffe das einihe von euch mir helfen können..

in meinem shuttle xpc rechner (amd am2 cpu, nvidia nforce 630a chipsatz) werkeln zwei interne festplatten - eine 160gb samsung (s-ata) und eine 200gb seagate (p-ata). das problem: die p-ata platte ist recht langsam. während kopieren auf der s-ata platte recht fix geht (ca. 60-70mb/s) lahmt die p-ata platte; ca. 8mb/s sind das höchste der gefühle. die platte sollte das 6-7fache erreichen. ich habe bereits mit smartctl nachgeschaut ob ein problem vorliegt..es ist soweit alles ok.. tests mit hdparm geben folgendes aus:

p-ata platte (schön wäre es wenn man nur in die nähe der 59mb/s kommen würde ;-/)

/dev/sda1:
 Timing cached reads:   1932 MB in  2.00 seconds = 966.40 MB/sec
 Timing buffered disk reads:  178 MB in  3.02 seconds =  59.00 MB/sec

die s-ata platte: (die schafft dieses auch wirklich)

/dev/sdb1:
 Timing cached reads:   1316 MB in  2.00 seconds = 658.09 MB/sec
 Timing buffered disk reads:  164 MB in  3.00 seconds =  54.61 MB/sec

lspci ausgabe sieht so aus:

00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:04.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:04.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP67 IDE Controller (rev a1)
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP67 PCI Bridge (rev a2)
00:09.0 IDE interface: nVidia Corporation MCP67 AHCI Controller (rev a2)
00:0a.0 Ethernet controller: nVidia Corporation MCP67 Ethernet (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:0d.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:0f.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:10.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:11.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:08.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
02:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GT] (rev a1)

weitere infos die hdparm preisgibt:

/dev/sda:
 IO_support    =  0 (default) 
16-bit)
 HDIO_GET_UNMASKINTR failed: Inappropriate ioctl for device
 HDIO_GET_DMA failed: Inappropriate ioctl for device
 HDIO_GET_KEEPSETTINGS failed: Inappropriate ioctl for device
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 24321/255/63, sectors = 390721968, start = 0

Model=ST3200822A                              , FwRev=3.01    , SerialNo=            4LJ0GHLG
 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=390721968
 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: ATA/ATAPI-6 T13 1410D revision 2:  ATA/ATAPI-1,2,3,4,5,6

 * signifies the current active mode

ich glaube das kernelmodul für den ide controler ist das "pata_amd"

bei aufruf von "dmesg | grep sda" erhalte ich folgendes:

[   22.849465] sd 0:0:0:0: [sda] 390721968 512-byte hardware sectors (200050 MB)
[   22.849474] sd 0:0:0:0: [sda] Write Protect is off
[   22.849476] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   22.849488] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   22.849522] sd 0:0:0:0: [sda] 390721968 512-byte hardware sectors (200050 MB)
[   22.849528] sd 0:0:0:0: [sda] Write Protect is off
[   22.849530] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   22.849540] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   22.849543]  sda: sda1
[   22.877153] sd 0:0:0:0: [sda] Attached SCSI disk
[   38.679550] EXT3 FS on sda1, internal journal

wie gesagt...recht langsam die pata platte..da ist eine externe usb platte schneller: meine externe western digital platte hier schafft 25-30mb/s. ich habe einwenig gegogelt- aber keine wirklichen lösungsansätze gefunden die erfolg versprechen.. irgendwo habe ich gelesen das kernel neu kompilieren mit einigen geänderten optionen abhilfe bringen- aber bevor ich mich mit meiner nicht vorhandenen erfahrung in sachen kernel kompilieren ans frickeln mache dachte ich ich frage mal hier nach - villeicht hatte der eine oder andere von euch das gleiche problem...

Antworten |