Xref: utzoo comp.unix.xenix:3510 comp.unix.questions:9541 comp.unix.microport:1711 comp.sys.ibm.pc:19912 Path: utzoo!utgpu!water!watmath!clyde!att!alberta!ubc-cs!van-bc!sl From: sl@van-bc.UUCP (pri=-10 Stuart Lynne) Newsgroups: comp.unix.xenix,comp.unix.questions,comp.unix.microport,comp.sys.ibm.pc Subject: Re: *nix performance Message-ID: <1901@van-bc.UUCP> Date: 3 Oct 88 09:07:43 GMT References: <9902@ico.ISC.COM> <736@starfish.Convergent.COM> Reply-To: sl@van-bc.UUCP (pri=-10 Stuart Lynne) Organization: Wimsey Associates, Vancouver, BC. Lines: 34 In article <736@starfish.Convergent.COM> cdold@starfish.Convergent.COM (Clarence Dold) writes: >From article <9902@ico.ISC.COM>, by rcd@ico.ISC.COM (Dick Dunn): >>> | One of my main interests is whether a fast (25MHz with cache etc) 386 with >>> | some users attached to it can compare itself with a VAX/750 or other minis. >> >> Also, think very carefully about what sort of disk(s) you're going to put >This also harks back to the MAC - vs - PC discussion of a particular DMA >not being as fast as CPU data transfer. A DMA activity does take some setup >time. If the system (single-tasking) is going to be idle until the disk >transfer is complete, -and- the CPU is fast enough to handle disk data on the >fly, -then- CPU will be faster than DMA. >As soon as you talk multi-user, that argument goes away, because the CPU could >be working on a different process, while the DMA occurs offline. >Multi-user performance is distinctly different from single user. >Do buy the fastest disk you can. Don't forget that with the proper controller, >two slower disks might actually be faster in a multi-user setup. Not neccesarily. If the DMA channel takes over the bus for the duration of the transfer, or if each word transferred takes a a larger number of cycles than the CPU would and the system can't interleave processor cycles; then CPU is still a win. In both of those situations the CPU can't perform as much work during the DMA operation so it *may* be more efficent to allow the CPU to do it. Well designed DMA systems get around this by allowing the DMA to operate in an interleaved fashion with the CPU. In these systems you can sometimes beat DMA with CPU but at the expense of burning CPU cycles and you may wish to use DMA simply to allow more processing at the expense of increased data transfer time. -- Stuart.Lynne@wimsey.bc.ca {ubc-cs,uunet}!van-bc!sl Vancouver,BC,604-937-7532