All of lore.kernel.org
 help / color / mirror / Atom feed
From: "M. Grabert" <xam@cs.ucc.ie>
To: Randolph Chung <randolph@tausq.org>,
	Grant Grundler <grundler@parisc-linux.org>,
	parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Re: 2.6.4-rc1-pa3 siimage/NS87415 IDE progess (and another mystery)!
Date: Mon, 12 Jul 2004 05:19:35 +0100	[thread overview]
Message-ID: <20040712041935.GA10211@sal.ucc.ie> (raw)
In-Reply-To: <20040712033752.GA10163@sal.ucc.ie>

Sorry, there was a typo:

On Mon, Jul 12, 2004 at 04:37:52AM +0100, xam wrote:
>
> hdparm -c /dev/hda showed DMA was turned on, and I even set it on
> again (hdparm -c 1), just to be sure, but it didn't make any
> difference in performance :(

I meant 'hdparm -d' of course ...

BTW, what are the supported DMA modes of the NS87415?
The kernel just reports this:

  DMA zone: 262144 pages, LIFO batch:16
    ide0: BM-DMA at 0x0a00-0x0a07, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x0a08-0x0a0f, BIOS settings: hdc:pio, hdd:pio
  hda: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=16383/255/63, (U)DMA
          
I suppose BM-DMA means BusMaster-DMA, but does the NS87415 support any
Ultra-DMA modes, or only Multi-Word DMA?
A 'hdparm -i /dev/hda' says this about the hdd settings/capabilities:

  PIO modes:  pio0 pio1 pio2 pio3 pio4
  DMA modes:  mdma0 mdma1 *mdma2
  UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5

Here's the performance table for pio/mdma/udma:

   pio0    3.33 MB/s
   pio1    5.22 MB/s
   pio2    8.33 MB/s
   pio3   11.11 MB/s
   pio4   16.67 MB/s
  mdma0    4.16 MB/s
  mdma1   13.33 MB/s
  mdma2   16.67 MB/s
  mdma3   33.33 MB/s
  udma0   16.67 MB/s
  udma1   25.00 MB/s
  udma2   33.33 MB/s
  udma3   44.44 MB/s
  udma4   66.67 MB/s
  udma5  100.00 MB/s
  udma6  133.33 MB/s

According to the current setting (mdma2), I should get about 16 MB/s
(the hard disk specified 'sustained data transfer rate' is >40 MB/s).
However with a 2.4 kernel I only get 3.3 MB/s and with a 2.6 kernel
I get just about 3.0 MB/s, which suggests it's running in 'pio0' mode.

Also there is a significant CPU load whenever I do a read/write access to
the IDE hard disk (compared to the CPU load when I access the SCSI disks),
which might be another indication that it's still using PIO and not DMA.


Final question:

Is 
  'hdparm -c 1' (enable 32bit I/O)
and
  'hdparm -u 1' (unmasq_irq)
useful/implemented on PA-RISC?


Greetings,
   Max
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

  reply	other threads:[~2004-07-12  4:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-09  6:29 [parisc-linux] Results of (IDE) kernel tests with modified io.c M. Grabert
2004-03-09  6:36 ` Randolph Chung
2004-03-09  7:11   ` M. Grabert
2004-03-09  7:29     ` Randolph Chung
2004-03-09 15:26       ` [parisc-linux] 2.6.4-rc1-pa3 siimage/NS87415 IDE progess (and another mystery)! M. Grabert
2004-07-11 22:18         ` [parisc-linux] " Grant Grundler
2004-07-11 22:48           ` M. Grabert
2004-07-11 23:14           ` Randolph Chung
2004-07-11 23:34             ` Randolph Chung
2004-07-12  0:12               ` Grant Grundler
2004-07-12  3:37               ` M. Grabert
2004-07-12  4:19                 ` M. Grabert [this message]
2004-07-12 16:14                   ` Grant Grundler
2004-07-12 18:51                     ` M. Grabert
2004-07-13  3:56                       ` Grant Grundler
2004-07-13  5:59                         ` Grant Grundler
2004-07-12 19:44                     ` Alan Cox
2004-07-12 16:05                 ` Grant Grundler
2004-07-12 18:39                   ` M. Grabert
2004-07-12 18:50                     ` Randolph Chung
2004-07-13  4:17                     ` Grant Grundler
2004-07-11 23:34             ` Grant Grundler
2004-03-09 18:38       ` [parisc-linux] Results of (IDE) kernel tests with modified io.c Grant Grundler
2004-03-09 15:25     ` John David Anglin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040712041935.GA10211@sal.ucc.ie \
    --to=xam@cs.ucc.ie \
    --cc=grundler@parisc-linux.org \
    --cc=parisc-linux@lists.parisc-linux.org \
    --cc=randolph@tausq.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.