Date: Mon, 18 May 1998 17:21:45 +0200 (MET DST) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: hasty@rah.star-gate.com (Amancio Hasty) Cc: regnauld@deepo.prosa.dk, current@FreeBSD.ORG Subject: Re: ATAPI CDDA Extraction under FreeBSD Message-ID: <199805181521.RAA07351@labinfo.iet.unipi.it> In-Reply-To: <199805181655.JAA04143@rah.star-gate.com> from "Amancio Hasty" at May 18, 98 09:55:22 am
next in thread | previous in thread | raw e-mail | index | archive | help
> Perhaps, it would be an interesting exercise to use dma to read audio > tracks on a IDE cdrom. i first want to see proper timeout handling on the IDE bus (and i don't see anyone else going to implement it, so ...) This said, there was probably someone who backported the IDE-DMA stuff to 2.2.X, but i also saw some comments on its little gain in performance, and maybe some stability problems ?, that did not encourage me to test them. > I don't think that for instance in a scsi subsystem that any one process > can hug a scsi drive for starters once the process is not running other > process will be able to issue disk requests. the problem i see is that a request can produce a lot of data back. Theoretically it could happen that process P makes a request then blocks, data start come in on the bus, thus blocking other processes from doing requests, process P wakes up because its data have come back (and maybe more are still coming), it issues another request finding the bus free, and so on. Unless of course something is preventing this form of synchronization between process and peripherals. I think we all have experienced this kind of problem when a big program coredumps and monopolizes requests to the FS layer. Things like this (capture effect) are also reported in the literature on ethernet. cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805181521.RAA07351>
