Transfer Size: 256 k
My mind is literally boggling at this point.
You're claiming 90MB/sec based on a 256KB transfer. Are you aware of the fact that every currently available storage device has significantly variable limitations depending on the size of the transfer? Any benchmark site which is considered even slightly respectable will do a series of tests of different size transfers in order to build a picture of a hard disk's limitations.
I would regard tomshardware.com as 'slightly respectable', and here's an example of the minimal tests they run:
http://www.tomshardware.com/storage/20040525/samsung-160gb-03.htmlWe're interested about the IDE bus performance
Considering that it has been the disk which is the first limiting factor, not the bus, you're hardly going to be pushing the bus's potential at any point soon.
I don't think there's an IDE disk that can even do 90MB/sec transfer speed to a destination that isn't the same disk, currently available at the moment, let alone if it were in a Peg1/2.
Well you think wrong then. When we're comparing IDE DMA performance we want to compare readspeed from cache.
I'm sorry, what do you want to do, masturbate over benchmarks or get some practical results? And which cache? 256KB is a drop in the ocean of modern day disk cache, what's the point? Yeah, great, you made a bit of data go from one cache to another via a few bits of wire and you're getting
really impressive results. Now how about testing the actual device (ie. disk platters + drive heads + electronics) the data has to originally come from?
If you want to know whether DMA works, you need to go from one storage device to another and run analyses from that. Two reasons: one is data integrity (DMA isn't very useful if it toasts the data in transit) and the other is system stability/performance. If the DVD/CD drive is DMA capable, then CD -> disk transfers are an acceptable means of testing whether DMA is working in a stable, non-retarded fashion. Get a large file on a CD, get up some monitoring on the transfer speed, plus some on the CPU and the load on a reasonably-performing ~800MHz CPU should be minimal, certainly less than 10%, and with a decent DVD/CD drive I would expect over 10MB/sec. Unless of course you'd like to throw that test by making a CD drive with a 700MB cache and go
wow at memory <-> memory transfers.
DMA is not some single, standalone module in operating system design. In the context of storage devices, it has to be highly integrated into the storage control driver. There are lots of dependencies. DMA would be utterly useless if it didn't deliver particularly with regard to data integrity and system reliability. The original poster was asking if there is an issue with DMA on the A1. Your test might not even give the slightest indicator on a system that cannot stabily handle DMA transfers!
And, to be blunt, there is no single IDE hard disk that can do 90MB/sec in any practical scenario. And transferring a 256KB file and doing a bit of theoretical maths does not cut it, neither does transferring the same 256KB file 360 times in a row.
I'm not even sure there's a SCSI disk that can do 90MB/sec in any practical scenario, but I could be wrong about that, and wouldn't be greatly surprised if I was. A little surprised, perhaps.