Xref: utzoo comp.unix.aix:720 comp.periphs.scsi:150 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!snorkelwacker!think!samsung!xylogics!world!madd From: madd@world.std.com (jim frost) Newsgroups: comp.unix.aix,comp.periphs.scsi Subject: Re: Risc System/6000 Message-ID: <1990Mar13.024350.19594@world.std.com> Date: 13 Mar 90 02:43:50 GMT References: <1660@aber-cs.UUCP> <51507@sgi.sgi.com> <1990Mar9.022931.4674@world.std.com> <132788@sun.Eng.Sun.COM> Organization: Saber Software Lines: 43 mjacob@wonky.Sun.COM (Matt Jacob) writes: >My own personal opinion is that geometry based filesystems are >getting to be a bad microoptimization. With the coming of SCSI-2 >multiple command targets, it seems to me that one should just >concentrate on getting requests out to the target as quickly >as possible and let the microprocessor on the drive figure out >the best order do them in. You'd be wrong no matter what you did. Let's face it, there's no way you can know what someone wants to do with your drive. IBM has had hardware keying in its drives for years and years, and I know people who absolutely swear it's faster than software keying could EVER be. What's the problem with this? For every access technique I've ever seen, there's an optimal and a suboptimal series of requests. There are a number of techniques which boast near-even access times all the time, and a number of them which produce access times which are near optimal for the hardware for specific sequences. None that I've seen can offer near optimal ALL the time, for ALL given sequences. You'd have to do that to get hardware to perform as well as software would when software can know ahead of time how the accesses are going to be done. The application writer has the ability to examine how accesses are going to be done and optimize the data layout based on that knowledge. The drive manufacturer does not. Therefore, if the software just happens to use the worst-case access sequence, it gets terrible performance. There are a hell of a lot of algorithm books out there which bend over backwards trying to prove that you can't fool all of the people all of the time, which is what you're wishing for if you think the hardware designer can predict what everyone is going to want to do with the hardware. Happy hacking, jim frost saber software jimf@saber.com