From owner-freebsd-questions Fri Jul 5 8:32:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 317CE37B400 for ; Fri, 5 Jul 2002 08:32:27 -0700 (PDT) Received: from fep06-app.kolumbus.fi (fep06-0.kolumbus.fi [193.229.0.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8159943E31 for ; Fri, 5 Jul 2002 08:32:25 -0700 (PDT) (envelope-from juha.ylitalo@iki.fi) Received: from coat.st-paul ([212.54.20.95]) by fep06-app.kolumbus.fi with ESMTP id <20020705153223.HJMM20539.fep06-app.kolumbus.fi@coat.st-paul> for ; Fri, 5 Jul 2002 18:32:23 +0300 Received: from shoes.st-paul (shoes.st-paul [10.10.10.10]) by coat.st-paul (8.12.3/8.12.3) with ESMTP id g65FWMNB026032 for ; Fri, 5 Jul 2002 18:32:22 +0300 (EEST) (envelope-from juha.ylitalo@iki.fi) Received: from shoes.st-paul (localhost [127.0.0.1]) by shoes.st-paul (8.12.3/8.11.6) with ESMTP id g65FWLtN000391 for ; Fri, 5 Jul 2002 18:32:21 +0300 (EEST) (envelope-from juha.ylitalo@iki.fi) Received: (from jylitalo@localhost) by shoes.st-paul (8.12.3/8.12.3/Submit) id g65FWKw4000390; Fri, 5 Jul 2002 18:32:20 +0300 (EEST) X-Authentication-Warning: shoes.st-paul: jylitalo set sender to juha.ylitalo@iki.fi using -f Subject: DMA on ATAPI (or lack of it ....) From: Juha Ylitalo To: questions@FreeBSD.ORG Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-fXMnpWY47bTPXIE3HvEG" X-Mailer: Ximian Evolution 1.0.5 Date: 05 Jul 2002 18:32:20 +0300 Message-Id: <1025883140.270.53.camel@shoes.st-paul> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-fXMnpWY47bTPXIE3HvEG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I am going to give you all the relevant stuff below. I ended up having so much of that stuff, that I decided to move my original question to the beginning and all system related stuff to the end. My noname Athlon box seems to work nicely, except for those times, when I try to watch DVD movies (with ogle 0.8.4). Problem in movies is that framerate is 17-20 fps.=20 With quick check on system, problem turns out to be that DMA is turned on ATA, but not on ATAPI. Is there something (in BIOS, rearrange IDE devices, sysctl, kernel, ...) that I could do to change DMA on for atapi and that way I would get better performance from DVD drive or should I simply settle on what I get out of it at the moment (since movies really are only area, where it bothers me) and worry about it, when I buy my next machine, which will probably take at least 4-5 years (based on interval on my previous hardware upgrades). Hardware: Motherboard: Soltek SL-72KAV-X VIA Apollo KT133A Series (All Primary Master PIO and Primary Master UDMA settings are Auto=20 in BIOS) DVD: LG DRD-8160 FreeBSD says following: bash-2.05a$ uname -a FreeBSD shoes.st-paul 4.6-RELEASE FreeBSD 4.6-RELEASE #2: Sun Jun 16 16:18:59 EEST 2002 root@shoes.st-paul:/usr/obj/usr/src/sys/SHOES=20 i386 bash-2.05a$ sysctl -a | grep ata kern.ipc.max_datalen: 136 hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.tags: 0 hw.ata.atapi_dma: 0 bash-2.05a$ dmesg [interesting stuff from there] Origin =3D "AuthenticAMD" Id =3D 0x644 Stepping =3D 4 Features=3D0x183f9ff AMD Features=3D0xc0440000<,AMIE,DSP,3DNow!> real memory =3D 536805376 (524224K bytes) atapci0: port 0xd000-0xd00f at device 7.1 on pci0atapci0: Correcting VIA config for southbridge data corruption bug ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 9 at device 7.2 on pci0 ad0: 38166MB [77545/16/63] at ata0-master UDMA100 acd0: DVD-ROM at ata1-master PIO4 acd1: CD-RW at ata1-slave PIO4 bash-2.05a$=20 Motherboard's manual says: Primary Master/Slave UDMA: Ultra DMA33/66/100 implementation is possible only if your IDE hard drive supports it, if operating environment includes a DMA drive, and if your system software both support Ultra DMA33/66/100. ... According to LG's manual on DVD drive: Performance: Transfer Rate: ... Burst(ATAPI): 16.67MBps (PIO mode 4) 16.67Mbps (Muliword DMA Mode 2) [ It probably should be Multiword, but...] 33.3 MBps (Ulta DMA) --=20 Juha Ylitalo juha.ylitalo@iki.fi +358 40 562 6152 http://www.iki.fi/jylitalo "Some tools are used, because its policy, others because they are good." --=-fXMnpWY47bTPXIE3HvEG Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQA9JbwET3Z0FVGK5qMRAmF3AKCBPWGjSBCz2RN8cEYlmU5mGnozQACfSf4s 3hVGYU+HkPi4KaDXdRRw+FE= =6GI4 -----END PGP SIGNATURE----- --=-fXMnpWY47bTPXIE3HvEG-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message