From: Grant Grundler <grundler@parisc-linux.org>
To: "M. Grabert" <xam@cs.ucc.ie>
Cc: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] C3000 and 2.6 - need config help
Date: Wed, 26 Nov 2003 23:15:57 -0700 [thread overview]
Message-ID: <20031127061557.GE1321@colo.lackof.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0311270444110.9783@sal.ucc.ie>
On Thu, Nov 27, 2003 at 04:45:49AM +0000, M. Grabert wrote:
> I forgot to mention my current IDE settings (unchanged since August):
>
> root@beast:/home/xam# hdparm -c /dev/hda
>
> /dev/hda:
> IO_support = 1 (32-bit)
The above info is either wrong or ignored.
"data" register for PC87560 is 16-bits only.
(IDE function is NS87415 compatible)
> root@beast:/home/xam# hdparm -d /dev/hda
>
> /dev/hda:
> using_dma = 1 (on)
Given only 3MB/s, I find it hard to believe.
SuckyIO (PC87560UBD) Data sheet claims 16MB/s per channel.
However, I just now wonder if the limiting factor is not the IDE if the
kernel is copying data to/from kernel to user space. Our copy_to/from_user
could be alot more efficient (2x guesstimate) for the PA8500 CPU.
I see max bandwidth of 4-5MB/s on a PA8600 (552Mhz) over 100BT.
With a 32X CD-ROM drive in my c3k, "time dd" is only getting 925 KB/s.
I'll guess a few more factors could be muddying the waters here.
root@gggc3k:~# hdparm -i /dev/cdrom
/dev/cdrom:
Model=CD-532E-B, FwRev=2.0A, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=DualPortCache, BuffSize=128kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
AdvancedPM=no
* signifies the current active mode
root@gggc3k:~# hdparm /dev/cdrom
/dev/cdrom:
HDIO_GET_MULTCOUNT failed: Invalid argument
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 1 (on)
readahead = 8 (on)
HDIO_GETGEO failed: Invalid argument
Note the mdma2 and using_dma settings don't agree.
I tried to set using_dma:
root@gggc3k:~# hdparm -d 1 /dev/cdrom
/dev/cdrom:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)
root@gggc3k:~# uname -a
Linux gggc3k 2.4.22-pa17 #18 Fri Nov 21 21:16:31 PST 2003 parisc GNU/Linux
BTW, I checked that CONFIG_IDEDMA_ONLYDISK is off.
grant
next prev parent reply other threads:[~2003-11-27 6:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-20 18:52 [parisc-linux] C3000 and 2.6 M. Grabert
2003-11-20 19:02 ` Matthew Wilcox
2003-11-20 19:24 ` M. Grabert
2003-11-20 19:45 ` Matthew Wilcox
2003-11-21 0:38 ` M. Grabert
[not found] ` <200311210820.42414.pacman@leovey-szki.sulinet.hu>
2003-11-21 12:47 ` [parisc-linux] Re: HP9000-K460,K420,Dx70/2 Matthew Wilcox
2003-11-27 3:07 ` [parisc-linux] C3000 and 2.6 - need config help M. Grabert
2003-11-27 4:21 ` Grant Grundler
2003-11-27 4:33 ` M. Grabert
[not found] ` <Pine.LNX.4.58.0311270444110.9783@sal.ucc.ie>
2003-11-27 6:15 ` Grant Grundler [this message]
2003-11-27 15:16 ` M. Grabert
2003-11-27 18:15 ` Grant Grundler
2003-11-27 18:21 ` M. Grabert
2003-11-27 18:49 ` Grant Grundler
2003-11-27 18:29 ` Joel Soete
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=20031127061557.GE1321@colo.lackof.org \
--to=grundler@parisc-linux.org \
--cc=parisc-linux@lists.parisc-linux.org \
--cc=xam@cs.ucc.ie \
/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.