Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hdparm help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
maZan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2004
Posts: 78
Location: Sweden

PostPosted: Thu May 13, 2004 6:18 am    Post subject: hdparm help Reply with quote

It seems that I cant get my disk to speed up!
When I do a:hdparm -tT /dev/hda
Code:
/dev/hda:
 Timing buffer-cache reads:   2108 MB in  2.00 seconds = 1054.16 MB/sec
 Timing buffered disk reads:    8 MB in  3.08 seconds =   2.59 MB/sec

After I do a: hdparm -c1 -d1 /dev/hda
Code:
/dev/hda:
 setting 32-bit IO_support flag to 1
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 IO_support   =  1 (32-bit)
 using_dma    =  0 (off)

Why dose the dma show (off)?
Then Ill test it again, this is what happend :
Code:
/dev/hda:
 Timing buffer-cache reads:   2180 MB in  2.00 seconds = 1089.62 MB/sec
 Timing buffered disk reads:   14 MB in  3.28 seconds =   4.27 MB/sec

Not impressive! right?
Have I forget something in my kernel or cant I get more speed from my disk? This is the data from my disk:
Code:
/dev/hda:

 Model=IBM-DTLA-307045, FwRev=TX6OA60A, SerialNo=XXxxxXXX
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=16
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=90069840
 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=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:

 * signifies the current active mode


Plz give me some hints ;>
Tnx all! this is the greatest forum!!! 8O
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Thu May 13, 2004 6:52 am    Post subject: Reply with quote

Because you're saying that this is such a great forum, I won't flame you... :lol:
But try searching the forum for

"HDIO_SET_DMA failed: Operation not permitted"

You'll get to threads like

https://forums.gentoo.org/viewtopic.php?t=162065&highlight=hdiosetdma+failed+operation+permitted
https://forums.gentoo.org/viewtopic.php?t=171042&highlight=hdiosetdma+failed+operation+permitted
https://forums.gentoo.org/viewtopic.php?t=158707&highlight=hdiosetdma+failed+operation+permitted
https://forums.gentoo.org/viewtopic.php?t=125228&highlight=hdiosetdma+failed+operation+permitted
https://forums.gentoo.org/viewtopic.php?t=160032&highlight=hdiosetdma+failed+operation+permitted
https://forums.gentoo.org/viewtopic.php?t=157363&highlight=hdiosetdma+failed+operation+permitted

etc...
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
maZan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2004
Posts: 78
Location: Sweden

PostPosted: Thu May 13, 2004 6:59 am    Post subject: Reply with quote

ok tnx...
But I did search the forum! (alote) ...
Anyhowe, did miss to define the words like you did...

Tnx! should check the links right away!
Back to top
View user's profile Send private message
maZan
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2004
Posts: 78
Location: Sweden

PostPosted: Thu May 13, 2004 7:44 am    Post subject: Reply with quote

OK.
This is what Ill got from my disk:
Code:

Timing buffered disk reads:  106 MB in  3.05 seconds =  34.76 MB/sec

Tnx man the links really helped me! :D :D

But can I ask U one more thing without U flame me :D
If U read my data do you or anyone think Ill can get some more speed from my disk, or should I giv it a rest!
Code:
/dev/hda:

ATA device, with non-removable media
powers-up in standby; SET FEATURES subcmd spins-up.
        Model Number:       IBM-DTLA-307045                         
        Serial Number:      XXxxXXXxxXXX
        Firmware Revision:  TX6OA60A
Standards:
        Used: ATA/ATAPI-5 T13 1321D revision 1
        Supported: 5 4 3 2 & some of 6
Configuration:
        Logical         max     current
        cylinders       16383   4047
        heads           16      16
        sectors/track   63      255
        --
        CHS current addressable sectors:   16511760
        LBA    user addressable sectors:   90069840
        device size with M = 1024*1024:       43979 MBytes
        device size with M = 1000*1000:       46115 MBytes (46 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        bytes avail on r/w long: 40     Queue depth: 32
        Standby timer values: spec'd by Standard, no device specific minimum
 R/W multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: unknown setting (0x0000)
        Recommended acoustic management value: 128, current value: 254
        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:
           *    NOP cmd
           *    READ BUFFER cmd
           *    WRITE BUFFER cmd
           *    Host Protected Area feature set
                Release interrupt
           *    Look-ahead
           *    Write cache
           *    Power Management feature set
                Security Mode feature set
                SMART feature set
                Automatic Acoustic Management feature set
                SET MAX security extension
                Address Offset Reserved Area Boot
                SET FEATURES subcommand required to spinup after power up
                Power-Up In Standby feature set
                  *    READ/WRITE DMA QUEUED
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
                frozen
        not     expired: security count
        not     supported: enhanced erase
        38min for SECURITY ERASE UNIT.
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
Checksum: correct
 Advanced Power Management feature set

Just wondering ;)
Tnx again m8'ts ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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