home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / vmsnet / internal / 1158 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  3.4 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!mips!munnari.oz.au!network.ucsd.edu!mvb.saic.com!macro32
  2. From: "(Jon Pinkley, Westinghouse (216)486-8300 x1335)"
  3. Newsgroups: vmsnet.internals
  4. Subject: DRM-600 CD-ROM mini-changer (Hardware Virtual Disks)
  5. Message-ID: <9208120329.AA16811@relay1.UU.NET>
  6. Date: Tue, 11 Aug 92 22:58:48 -0400
  7. Organization: Macro32<==>Vmsnet.Internals Gateway
  8. X-Gateway-Source-Info: Mailing List
  9. Lines: 64
  10.  
  11. I just received a patched set of firmware for a Pioneer DRM-600 that
  12. allows it to be used with the standard DKDRIVER in a VAXStation.  If you
  13. were at the spring 1992 DECUS in Atlanta, you may have seen the
  14. VAXStation 4000-60 with a Pioneer DRM-600A attached.  The DRM-600 is a
  15. CD-ROM drive with a 6 disc mini-changer.
  16.  
  17. In the default configuration, the drive assigns SCSI Logical Unit Numbers
  18. zero through five to disc one through six.  The VMS DKDRIVER is happy to
  19. deal with this.
  20.  
  21. In the startup file on the VAXStation, I have sysgen commands to connect
  22. the UCBs for DKB101-DKB105.  The UCB for DKB100 is automatically created.
  23. Now it appears that all drives are available, and you can indeed mount 6
  24. different CD's at the same time.  The disks are "demand loaded" when
  25. accessed.  This all works quite well if you access only a single drive at
  26. a time.
  27.  
  28. Now for the bad news.  If you attempt to access multiple drives, you will
  29. witness disk thrashing.  The situation is exacerbated when DKDRIVER
  30. starts getting timeouts and kicks in mount verification.  I had to
  31. dismount/abort/cluster all the drives without and files open, and then
  32. had to dismount/abort/cluster/ignore=checks one the remaining drives that
  33. did have files open.
  34.  
  35. I would like to have a shared access to the drives, but prevent disk
  36. trashing.  Ideally, I would like make it as transparent as possible.
  37. Here are the goals.
  38.  
  39. o   VMS should be able to mount all disks simultaneously.
  40.  
  41. o   It should still be possible to MSCP serve the drives to the
  42.     cluster.
  43.  
  44. o   If only one disk on the DRM-600 is being accessed, then the
  45.     access control should not cause any perceivable delay.
  46.  
  47. o   If more than one disk is being used, they should round robin
  48.     with a quantum of maybe 60 seconds.  If the drive became idle
  49.     during the quantum (no I/O for idle_time, maybe 5 seconds)
  50.     then the physical drive should become available to the next
  51.     waiting disk for up to a quantum.
  52.  
  53.     The values I suggest for quantum (60 seconds) and idle (5
  54.     seconds) were picked somewhat arbitrarily, however, note that
  55.     is takes about 7 seconds to swap disks.  Once you get the
  56.     disk loaded, it is best if you can get some work done before
  57.     you are forced to give up the drive.
  58.  
  59. o   It would really be nice if some caching of data could also be
  60.     done.  Paul Sorenson's CDDRIVER ([VAX89B1.AEPSC.CDDRIVER])
  61.     could perhaps be used for this function.
  62.  
  63. I've been thinking about this for about a week.  I've spent a good bit
  64. of time reading the Device Support and Reference Manuals. CDDRIVER
  65. intercepts I/O requests for the drive, so I figured that would be a good
  66. place to start.  My plan is to modify the CDDRIVER to add the capability
  67. to specify that a disk has a shared drive.  I will probably use a CRB
  68. stucture, but it won't be the CRB that UCB$L_CRB of the disk points to,
  69. and it won't use the standard REQPCHAN/RELCHAN macros.
  70.  
  71. Has anyone else had to do something similar to this?  Do you have any
  72. advice?
  73.  
  74. Jon Pinkley jon@clevax.wec.com ...uunet!tron!clevax!jon (216)486-8300 x1335
  75.