Jonathan Gray wrote:
On Tue, Jan 30, 2007 at 08:50:53AM +0100, Heinrich Rebehn wrote:
attaching the drive to a notebook via a IDE/USB converter easily yields 20 MB/s. So the drive *is* faster. While i could live with 8 MB/s i cannot accept the high CPU usage. It seems to make the installed crypto accelerator almost ineffective because the interrupts cannot be served fast enough. I suspect that the disk is not running in DMA mode. Is there any tool to verify that (like Linux's hdparm)?

Cheers,
        Heinrich

A dmesg and the output of "atactl wd0"


dmesg talks about DMA:
-------
[EMAIL PROTECTED] [~] # dmesg|grep wd1
wd1 at pciide0 channel 0 drive 1: <FUJITSU MHV2120AT>
wd1: 16-sector PIO, LBA, 114473MB, 234441648 sectors
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
dkcsum: wd1 matches BIOS drive 0x81

No word about DMA in atactl:

[EMAIL PROTECTED] [~] # atactl wd1
Model: FUJITSU MHV2120AT, Rev: 000000A0, Serial #:         NS17T6B27U4D
Device type: ATA, fixed
Cylinders: 16383, heads: 16, sec/track: 63, total sectors: 234441648
Device capabilities:
        ATA standby timer values
        IORDY operation
Device supports the following standards:
ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 ATA-7
Master password revision code 0xfffe
Device supports the following command sets:
        READ BUFFER command
        WRITE BUFFER command
        Host Protected Area feature set
        Read look-ahead
        Write cache
        Power Management feature set
        Security Mode feature set
        SMART feature set
        Flush Cache command
        Device Configuration Overlay feature set
        Automatic Acoustic Management feature set
        Set Max security extension commands
        Power-up in standby feature set
        Advanced Power Management feature set
        DOWNLOAD MICROCODE command
        IDLE IMMEDIATE with UNLOAD FEATURE
        SMART self-test
        SMART error logging
Device has enabled the following command sets/features:
        READ BUFFER command
        WRITE BUFFER command
        Host Protected Area feature set
        Read look-ahead
        Write cache
        Power Management feature set
        SMART feature set
        Flush Cache command
        Device Configuration Overlay feature set
        Automatic Acoustic Management feature set
        Advanced Power Management feature set
        DOWNLOAD MICROCODE command

BTW, as others suggested, i can increase the throughput by using a larger blocksize, but the CPU usage remains that high.

--Heinrich

Reply via email to