home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / KAYPRO / KRAMDISK.TZT / KRAMDISK.TXT
Text File  |  2000-06-30  |  47KB  |  746 lines

  1.  RAMDISK -- The Most Cost-Effective Hardware Add-On For Kaypro CP/M Systems
  2.  ==========================================================================
  3.                 Richmond Kaypro Users Group Newsletter Article
  4.                               by John W. Alwood
  5.                                    3/4/86
  6.  
  7. Often, I get involved in conversations or debates concerning the relative
  8. merits or advantages that one PC offers over another.  Some of these
  9. conversations center around the future of micro-computer technology.  Others
  10. gravitate toward issues related to currently available products and/or
  11. systems.  I enjoy these conversations.  They help keep me on my toes and
  12. enable me to put my knowledge and experience up against occasionally worthy
  13. competition. Eventually, after the discussion has progressed far enough, it
  14. will turn toward "my" system.
  15.  
  16. "WHAT?", the newcomer cries!  "Did I just understand you to say that the only
  17. system you own is a KAYPRO?  Why, haven't you heard!  CP/M computers are
  18. obsolete.  Let's face it, almost everything else on the market today can run
  19. circles around your KAYPRO."    "Not quite" I reply.  Then they will usually
  20. respond with something like "What do you mean by that!".  This, of course, is
  21. when I move in for the kill.
  22.  
  23. -----------------------------------------------------------------------------
  24.  
  25. This newsletter article will discuss several possible ways in which the
  26. average Kaypro CP/M user can improve the performance of his computer.  In
  27. particular, I will discuss what I consider the most significant upgrade
  28. available for CP/M Kaypro computers:  a Ramdisk!  I guess one of the first
  29. things I should do is to give a little background information on myself in
  30. order to establish credibility.  Where someone stands on any given issue often
  31. is related to where they sit.  A lot of my time is spent sitting at my Kaypro.
  32.  
  33. I purchased my Kaypro II back in April, 1983.  I have been using it
  34. extensively for nearly 3 years -- for both professional and personal work.
  35. Like many other computer users, I have invested a large amount of time and
  36. effort in a attempt to master my computer, its operating system, and its
  37. applications software.  At the time I purchased my Kaypro, I considered it the
  38. best cost/benefit buy on the market.  And I believe that the value of the
  39. money I have invested in hardware and software is insignificant when compared
  40. to the value of the time I have spent learning how to make it all work.  That
  41. learning process started with the Richmond Kaypro User's Club.
  42.  
  43. I have been a dues paying member of the RKUG since its beginning (I was its
  44. first vice-president).  I guess the first 6-months were a time of exploration
  45. and experimentation.  After the first 6-months, my professional career began
  46. to be the primary occupant of my after-hours spare time.  As a result, my
  47. participation in the RKUG diminished to that of a monthly subscriber,
  48. infrequent attender, and null contributor.  This is my first formal
  49. contribution to the monthly newsletter.  I hope it will be the first of many.
  50. I have climbed many learning curves since I began, and I now have the time to
  51. share the experience with others who may be but beginning the journey.
  52.  
  53. Over 50% of my computer time has been spent using Perfect Writer and Perfect
  54. Calc.  For those of you who use Perfect Writer, I will mention that I have
  55. purchased just about every book that I ever saw published on the subject.  If
  56. anyone is interested in perusing any of those Perfect Writer books, I would be
  57. glad to bring them in.  Some are better than others, and it doesn't hurt to
  58. look first and buy later.
  59.  
  60. The remaining 50% of my time is spent using KAMAS, Smartkey & Smartprint,
  61. Nevada COBOL, and various Public Domain utilities.  Other software that I own
  62. (but use infrequently): Nevada FORTRAN, Nevada EDIT, Nevada PILOT, TURBO
  63. Pascal, Fancy Font, SBASIC, and MBASIC.  I also have Plu-Perfect Writer -- but
  64. it doesn't work with my CoPower-88 Ramdisk, so I don't use it.
  65.  
  66. When I purchased my Kaypro, I also purchased an Epson FX-80 dot-matrix
  67. printer.  Two years later, I purchased a Brother HR-15 letter quality printer
  68. with cut-sheet feeder.  Both printers are presently connected to my Kaypro via
  69. a Black Box X-Switch (cross-over switch).  Last December, I purchased a 64K
  70. external Quick-Link print buffer ($159) from Peopletalk Associates.  The print
  71. buffer is installed between the Kaypro and the X-Switch (it buffers both
  72. printers, one at a time).  The Quick-Link 64K Print Buffer will hold over
  73. 25-pages of printed output and feed that data to your printer -- allowing you
  74. to use your Kaypro while your printer is printing.  This is a real benefit
  75. when dealing with multi-page output, especially when using a daisy-wheel
  76. printer whose top speed is 12 characters per second!  I would recommend the
  77. Peopletalk 64K Quick-Link buffer anytime (it also works OK with Fancy Font).
  78.  
  79. NOTE: Black Box sells a similar 64K print buffer ($169) that does not work!  I
  80. ordered one; had to send it back for a replacement; and then had to send the
  81. replacement back for a refund.  I tried the Black Box print buffer on my
  82. Kaypro/Epson at home and on my IBM-PC/Epson printer at work.  It didn't work
  83. on either system.
  84.  
  85.               MY KAYPRO -- A Brief History of Hardware Upgrades
  86.  
  87. As I've already stated, I purchased a 1983 Kaypro II.  Like most computer
  88. buyers, the additional speed and other advantages it gave me over the "old"
  89. way of doing things (ie, "manual") was rapidly taken for granted after the
  90. first two or three months of use.  Thereafter, the emphasis was on trying to
  91. get more and more performance using less and less effort.  I believe that I
  92. have successfully accomplished this task -- within the limits of the hardware.
  93. In order to achieve this, I had to install "several" upgrades to the original
  94. equipment.
  95.  
  96. My first hardware upgrade was fairly simple and straightforward (if not
  97. inexpensive).  About 18 months ago, I installed a 256K CoPower-88 Ramdisk.
  98. This is the upgrade that I considered the most significant.  More than
  99. anything else, the Ramdisk has speeded up overall processing the most.  It
  100. enables my Kaypro to read and write data to files located on the Ramdisk at
  101. electronic speeds with no noise, no delay, and no wear or tear on either the
  102. disk drives or the diskettes.  If you are uneasy about hardware upgrades, I
  103. would recommend that you at least get a Ramdisk.  I will discuss the benefits
  104. of Ramdisks in greater detail later on.
  105.  
  106. My second hardware upgrade took place about 2 months after the Ramdisk was
  107. installed.  It consisted of installing a 8 MegaHertz Advent TurboCard.  The
  108. "speed" at which a micro-computer runs is measures in "Hertz" (cycles per
  109. second).  The more CPU cycles per second, the faster things get done.  My
  110. original Kaypro II ran at 2.5 MHz (ie, 2,500,000 cycles per second).  As
  111. micro-computers go, that is rather slow.  The Advent TurboCard increased the
  112. speed of my original Kaypro by 320%, or up to 8 MHz.  This upgrade, in
  113. combination with the Ramdisk, made my Kaypro faster than any CP/M Kaypro on
  114. the market.
  115.  
  116. My third hardware upgrade was prompted by the failure of one of my original
  117. Single-Sided disk drives.  Both drives probably had over 100,000 miles on
  118. their odometers.  I figured that the second drive could not be far behind the
  119. first -- so about a year ago, I had both of the original full-height
  120. single-sided disk drives replaced with new half-height double-sided drives.
  121. This upgrade effectively turned my original Kaypro II into a Kaypro 4.  While
  122. it didn't speed processing up any, it did double the size of available
  123. diskette storage.  However, reformatting and copying all of my single-sided
  124. diskettes into double-sided diskettes took almost forever!
  125.  
  126. My fourth hardware upgrade was a rather minor one.  About 2 months ago, I
  127. replaced the original character ROM (the chip inside the Kaypro that
  128. determines what the letters and characters on your screen look like) with a
  129. Pro-Character ROM from Micro Cornucopia.  Most older Kaypros are capable of
  130. displaying "Greek" characters, but these Greek characters are rarely used.
  131. The character ROM contains instructions that tell the CRT which "dots" to
  132. light up in order to display the appropriate characters.  Memory space within
  133. the character ROM is filled up with instructions on how to display the Greek
  134. characters.  Since these characters are rarely used, the Pro-Character ROM
  135. uses that space to give more detailed instructions on how to display normal
  136. characters -- using more dots -- giving a cleaner looking character display.
  137. All of this, for only $30.
  138.  
  139. My fifth hardware upgrade was completed less than one month ago.  It consisted
  140. of replacing my disk drive "monitor" ROM with Advent's TurboROM.  The Advent
  141. TurboROM is suppose to speed up floppy disk drive "reads" and "writes" by a
  142. factor of 2 to 4 times.  This should mean that, in general, your disk drive
  143. activity should be at least twice as fast as before.  Well, not quite -- and
  144. not always.  More on the TurboROM in a later article.  Since I have not had it
  145. installed for more than a month yet, I will not go into a lot of detail here.
  146.  
  147. Other minor changes to my Kaypro may be considered "reconfigurations".  I have
  148. relocated my "reset" button and my "brightness" control to the front of the
  149. computer.  Also, in order to fit both the Ramdisk AND the TurboCard, I had to
  150. cut a 3-inch by 6-inch rectangular hole in the top of my Kaypro cover.  The
  151. "hole" is covered with a distinctive baby blue cap.  Also, attached to the
  152. left side is a velcro strip whose purpose is to hold my "bit-banger" -- a
  153. sponge hammer used to beat my Kaypro whenever it doesn't behave properly (it
  154. is one of the better "joke" gifts I've received).
  155.  
  156. Well, so much for whatever happened to my original Kaypro.  As you can see, I
  157. have spent a lot of time and effort in an attempt to get the most out of what
  158. I already had.  To me, this made a lot more sense than starting all over again
  159. with a different system, different software, etc.  I guess if I added it all
  160. up, my hardware upgrades would cost as much as the original Kaypro II did
  161. ($1,800.00).  Well, let's see:
  162.  
  163.       $1800.00  Purchased Kaypro II (4/83)
  164.  
  165.                 $ 500.00  256K CoPower-88 Ramdisk (11/84)
  166.                 $ 240.00  8MHz Advent TurboCard (1/85)
  167.                 $ 600.00  Two Half-height Double-Sided Disk Drives (3/85)
  168.                 $  30.00  Micro Cornucopia Character ROM (1/86)
  169.                 $  95.00  Advent TurboROM (with '83 adapter) (2/86)
  170.                 --------
  171.                 $1465.00  Upgrade Total (as of 2/86)
  172.  
  173. The hardware upgrades did not quite equal the cost of the original Kaypro, but
  174. almost!  Why did I do it?  Well, you have to consider some of the
  175. alternatives.  I guess the primary alternative would have been to buy an
  176. IBM-PC or compatible.  Or perhaps a Macintosh.  The right choice depends upon
  177. exactly what you ARE using your PC for -- and what you WOULD LIKE to use it
  178. for.  In my work, I have been exposed to a number of other PC's.  I have seen
  179. first- hand what their strengths and weaknesses are.  I made my decisions
  180. based upon those experiences -- and based upon the additional dollars that
  181. would have been required to obtain, on the new system, the capabilities I
  182. already had on my Kaypro (ie, software + hardware).
  183.  
  184. First of all, I would like to mention that I have used my Kaypro extensively
  185. in my daily job.  I have written numerous reports, memos, evaluations, and
  186. recommendations using Perfect Writer and Perfect Calc.  Lately, I have used
  187. KAMAS as a development tool (outline processing) for my writing.  In fact,
  188. this newsletter article is being structured and developed using KAMAS, and
  189. polished and formatted using Perfect Writer.  If I wanted a typeset quality
  190. finished document, I would print the final copy using Fancy Font.  In any
  191. event, my Kaypro has often given me a significant professional advantage.
  192. Co-workers have often made fun of me toting my Kaypro around, to and from
  193. work.  But most of them did not even own a PC with which to compete.  If I
  194. sound like I considered my Kaypro to be a competitive edge, I do!
  195.  
  196. One primary alternative -- or possible upgrade -- that I considered was the
  197. purchase of an IBM-PC compatible computer.  However, any experienced Kaypro
  198. CP/M user who has had the opportunity to use an IBM-PC (or clone) knows that
  199. there is not a significant performance advantage -- especially for word
  200. processing users.  If you need color graphics or if you use monster
  201. spreadsheets, then maybe a MS-DOS PC is for you.  However, users who need word
  202. processing and one-or-two page spreadsheets should not need the additional
  203. memory (and expense) offered by the MS-DOS PC's.  It depends upon your needs
  204. and objectives.  At work, I personally evaluated and recommended that five
  205. MS-DOS PC's be purchased.  One is used for Data Communications Network
  206. Modeling.  The other 4 are used as online terminals with mainframe-to-micro
  207. file download capabilities and PC-based relational databasing applications.
  208. However, for what I personally use a micro-computer for, my Kaypro fits the
  209. bill.
  210.  
  211. I have also evaluated and recommended the purchase of two 512K Macintosh
  212. computers with external disk drives, Imagewriter printers, and one Laserwriter
  213. printer (connected via Appletalk Network).  One of these Macintosh PC's is
  214. being used to support a Data Communications Service Order Processing System,
  215. developed using Odessa Helix relational database software.  The other Mac is
  216. used for high-resolution graphics and typeset quality printing.  The Mac does
  217. good pictures.  However, if I had to do it over again, I would never have
  218. placed the Service Order Processing System on a diskette-based Mac.  I am now
  219. attempting to get the one Mac upgraded with the installation of a 20-Megabyte
  220. Hyperdrive.  But once again, the Macintosh is good for what it does best:
  221. Monochrome Graphics.  Nice to have, but look at the $$$$.  For my word
  222. processing and spreadsheet requirements, my Kaypro covers the bases.
  223.  
  224. In summary, I guess I decided that it was better to spend a little more on my
  225. existing system instead of starting all over with an entirely new system.  By
  226. doing things this way, I could continue to use all of the software I already
  227. owned and had learned how to use.  Purchasing a new system would also mean
  228. that I would have to purchase a lot of software -- most of which I already
  229. owned (CP/M versions).  And while the other systems offered bigger, better,
  230. faster, etc., I could never cost-justify the difference between what they
  231. offered and what I already had. If I were starting from scratch, it might have
  232. been different.  But as I stated earlier, I CONSIDER THE TIME AND EFFORT THAT
  233. I HAVE INVESTED IN LEARNING HOW TO USE MY SYSTEM AND SOFTWARE TO BE OF FAR
  234. GREATER VALUE THAN ANY OF THE ACTUAL DOLLAR COST I HAVE INVESTED IN THE
  235. HARDWARE.  I believe that the same can be said for many other Kaypro CP/M
  236. users.
  237.  
  238.           TIME TO MOVE UP -- CP/M Limitations - Doing More With Less
  239.  
  240. To get ahead, you must often first know what's holding you back.  For most
  241. CP/M Kaypro users, one thing is holding you back more than anything else: lack
  242. of memory.  The computer chip (Z-80) used in your Kaypro can only access 64K
  243. of RAM (memory).  Back in the "old" days of microcomputing, this was
  244. considered to be a lot of memory.  Most IBM-PC compatible systems come
  245. standard with 256K today (with a capacity of up to 640K -- ten times the
  246. Kaypro's 64K).  By the end of the decade, personal computers will come
  247. STANDARD with one-Megabyte or more of memory, and Artificial Intelligence
  248. applications will need every byte of these Megabyte memories.  However, the
  249. Kaypro provides impressive capabilities, functions, and features -- with only
  250. 64K of memory.  The programs that run on the Kaypro accomplish this in a
  251. number of ways.  In almost all cases, the Kaypro programs do a little fancy
  252. footwork on the disk drives in order to compensate for the lack of internal
  253. memory.  And disk drives are relatively "slow" devices to be dancing on.
  254.  
  255.                  SWAP FILES -- Memory That Really Isn't There
  256.  
  257. All early Kaypro owners (1982-84) should be familiar with one of the more
  258. effective methods of compensating for limited memory space: the Swapfile.
  259. Programs that use "swapfiles" (such as Perfect Writer, Perfect Calc, KAMAS,
  260. etc.) are using what is known as a "virtual memory" system.  This enables a
  261. document to be much larger than could ever fit into the computer's memory at
  262. one time.  In order to accomplish this, the software must use disk drive
  263. storage -- together with computer memory space -- to hold the document.  Most
  264. programs will allow you to increase the possible size of your document by
  265. increasing the size of your swapfile.  Perfect Writer's swapfile can be up to
  266. 256K in size. I have used Kaypro Perfect Writer swapfiles of up to 240K in
  267. size (the largest my Ramdisk will hold).
  268.  
  269. When a program uses a swapfile, it is storing most of your document in the
  270. swapfile.  Only the part of the document that you are working on is actually
  271. in memory at any given time.  Any portion of the document can be "called" into
  272. memory upon demand.  However, when it becomes necessary to "demand" into
  273. memory a page of data from the swapfile, you must wait for the disk drive to
  274. locate the demanded page within the swapfile and load it into memory.  Before
  275. a demand page can be placed into memory, it may be necessary for the program
  276. to remove from memory an existing page by writing it to the swapfile.
  277.  
  278. For small documents, this swapping process usually does not take very long.
  279. For larger documents, the "swapping" delay can become absolutely annoying.  It
  280. is here that the mechanical speed of the disk drives causes significant
  281. delays.  However, if your swapfile is located on a Ramdisk, the swapping
  282. delays are virtually non-existent (pardun the pun).  If your swapfile is
  283. located on a Ramdisk, your program will behave as if the entire document were
  284. in memory -- there would not be any significant swapfile input/output delays!
  285. Users of swapfiles will have to see the difference in order to fully
  286. appreciate it!
  287.  
  288.                         OVERLAYS -- Pieces Of Programs
  289.  
  290. Whereas swapfiles are used to enable a program to handle a document that may
  291. be many times larger than available memory, program "overlays" are used to
  292. enable a computer to run a program that may be many times larger than
  293. available memory.  Some applications actually "break" the program into several
  294. subprograms.  For example, Perfect Writer is composed of four separate
  295. programs (pw.com, ps.com, pf.com, pp.com) that are "tied" together by a
  296. MENU.COM program.  Each program can be executed independently of the other;
  297. all can be executed by the Menu program.
  298.  
  299. Programs that use overlays -- such as Wordstar and KAMAS -- are composed of
  300. one "primary" program module which is initially loaded into memory whenever
  301. the application is started, and any number of secondary modules (or overlays)
  302. that are loaded into memory only as the need arises.  These overlay modules
  303. can be thought of as being "subroutines" or "subprograms".  However, they
  304. cannot be executed independently.  They only function when under the direct
  305. control of the primary program module.  Each individual overlay module is
  306. usually designed to perform a specific group of related functions.
  307.  
  308. Whenever the user requests a function or service that the primary program
  309. module cannot perform, the primary program will call in the appropriate
  310. "overlay".  The overlay will be read in from the disk drive and placed in a
  311. portion of the computer's memory that the primary module has reserved for
  312. overlays.  After the overlay has completed its task, control is transferred
  313. back to the primary module, but the overlay remains in memory.  If the primary
  314. module requires a different task from another overlay, the second overlay is
  315. loaded into memory over top of the first overlay module.  Hence the term
  316. "overlays".  Usually, only one overlay is in memory at any given time, but
  317. several different overlays may be stored on the disk drive.
  318.  
  319. Program overlays usually do not take very long to "load" into memory.
  320. However, if the user is constantly switching from one type of request to
  321. another, it may cause a continuous series of overlays to be read into memory.
  322. Depending upon the size of the overlay module and several other factors, the
  323. "loading" delay may become annoying.  Some programs, such as KAMAS, use
  324. program overlays AND swapfiles.  By loading the overlays and swapfiles into a
  325. Ramdisk, system "response time" can be significantly improved.
  326.  
  327.                      SCRATCH FILES -- Workspace On A Disk
  328.  
  329. Other programs may use disk files as temporary scratch files or work files.
  330. Compilers are a good example. Compilers need to build several
  331. "cross-reference" tables to keep track of variable-names and other details.
  332. If there is enough memory available, these details can be stored in memory.
  333. However, where there is insufficient memory available, it may be necessary to
  334. use disk files to store the tables and other required information. Typically,
  335. a compiler will, at a minimum, read a source program file from disk and write
  336. a object program file to disk.  This will involve a substantial amount of disk
  337. reads and writes -- in addition to whatever disk drive I/O is associated with
  338. temporary scratch or work files.  Putting all of these files on a Ramdisk
  339. before processing can increase the speed of the overall operation by over
  340. 100%.
  341.  
  342. Database processing and SORTING are other activities which are usually disk
  343. drive intensive.  If the input file and the output file are both on Ramdisk,
  344. the sort will run many times faster.  Also, if the Ramdisk is the default CP/M
  345. drive, any work files created by the sort program will probably be created on
  346. the Ramdisk.
  347.  
  348.          RAMDISK PRODUCTS -- The Most Significant Performance Upgrade
  349.  
  350. Because of the performance improvements offered by any Ramdisk, I consider the
  351. installation of a Ramdisk to be the most beneficial and cost-effective
  352. hardware upgrade possible for Kaypro CP/M computers.  However, for the benefit
  353. of those users who are completely unfamiliar with the terminology and/or
  354. technology, a brief explanation might be in order.
  355.  
  356. A Ramdisk (RAM stands for "random access memory") is nothing more than a
  357. solid-state disk drive.  It is a circuit board containing memory chips
  358. designed to look like a regular disk drive to your computer.  The main
  359. difference between a Ramdisk and a normal disk drive is that the Ramdisk has
  360. absolutely no moving parts.  Everything is electronic and operates at
  361. electronic speeds.  A Ramdisk does not cause the computer to "wait" until a
  362. diskette rotates into the proper position, or wait for the read/write heads to
  363. position themselves.  Since a Ramdisk does not have any moving parts, it has
  364. no parts that will wear out.  If most of your routine file processing
  365. (swapfiles, overlays, sortfiles, compiler files) is done on Ramdisk, your
  366. normal disk drives will experience less overall wear and tear.  Your diskettes
  367. will also last longer.  In addition, your system "response time" will improve
  368. by up to 500% and you will be able to work in relative silence -- because a
  369. Ramdisk doesn't make any noise.
  370.  
  371. There are two basic types of Ramdisk products.  The first type can be
  372. represented by the SWP CoPower-88 board.  This board gives you two
  373. capabilities: (1) use it as a regular Ramdisk; or (2) turn your Kaypro into a
  374. MS-DOS compatible system.
  375.  
  376. I have used my CoPower-88 to run the MS-DOS version of Perfect Writer.  The
  377. overall performance of the CoPower-88 board in MS-DOS mode is no better than a
  378. normal MS-DOS PC would be when running Perfect Writer (I have also used both
  379. Version 1 and Version 2 of Perfect Writer on normal IBM-PC's).  Keep in mind
  380. that it is not possible for your CP/M Kaypro to become anywhere close to being
  381. 100% MS-DOS compatible.  But a significant number of MS-DOS programs will run
  382. properly on the CoPower-88 board.  I would not recommend that anyone buy a
  383. CoPower-88 board for the sole purpose of attaining IBM compatibility.  I
  384. purchased mine primarily to be used as a Ramdisk.  If you want (or need)
  385. MS-DOS compatibility, buy a MS-DOS computer.  If you can get by with MS-DOS
  386. file transportability, then buy a disk format conversion program (Uniform,
  387. Media Master, etc).  If you need a Ramdisk, I have been using the CoPower-88
  388. for over a year without any problems.  It is a very solid product and is easy
  389. to install.  The MS-DOS capability is secondary in my list of priorities.
  390.  
  391. Assuming you want a Ramdisk, there are two basic varieties: internally mounted
  392. and externally mounted.  If you need to maintain the portability of your
  393. Kaypro, you will want a internally mounted Ramdisk.  The CoPower 88 board is
  394. internally mounted (it use to be an option offered by Kaypro in their since
  395. discontinued "Kaypro 4 Plus 88" model). If portability is not important, you
  396. may prefer an externally mounted Ramdisk.  The Micro Cornucopia Ramdisk is
  397. externally mounted (in addition, the Micro-C Ramdisk will also provide printer
  398. buffer functions).
  399.  
  400.          RAMDISK SIZE VS COST -- If Some Is Good, Is More Better $$$?
  401.  
  402. The last issue that needs to be addressed is size.  How big of a Ramdisk is
  403. sufficient.  Keep in mind that the cost of a Ramdisk is directly proportional
  404. to its size.  I have been getting along fine using 256K.  However, I would be
  405. less than honest if I said I never wished that I had more.  If 256K is good,
  406. then 512K is better, and 1-Megabyte is better still.  Advent sells a
  407. internally mounted Ramdisk that goes up to 2-Megabytes in capacity.  However,
  408. a 2-Megabyte Ramdisk will cost you over a thousand dollars.  A 1-Megabyte
  409. Ramdisk is going for $500 - $600.  Most Ramdisk products come with a minimum
  410. of 256K costing from $350 - $400 dollars.  More is always better, but unless
  411. you have lots of $$$, you should consider what you want to use it for before
  412. you decide upon what size ($$$) you need.
  413.  
  414. My 256K Ramdisk satisfies about 80 - 90 percent of my requirements.  I will
  415. normally load my software out to the Ramdisk via submit files.  That way, all
  416. appropriate swapfiles and overlay files are processed against the Ramdisk,
  417. with all document files remaining on the floppy disk.  NOTE : THIS IS
  418. IMPORTANT, because a Ramdisk loses everything once the power is turned off.
  419. If you load any data files into the Ramdisk, you must be sure to copy any
  420. modified Ramdisk data files back out onto a floppy disk before powering down.
  421. If you forget to do this, you will lose your work (with no way to recover).  I
  422. think it is safer and easier to keep the data files on the "real" drives and
  423. reserve the Ramdisk for copies of the software loaded from floppy diskettes.
  424.  
  425. My primary applications are Word Processing (KAMAS and Perfect Writer) and
  426. Spreadsheets (Perfect Calc).  My 256K Ramdisk is entirely satisfactory for
  427. these applications.  It is also adequate for compiler operations, such as
  428. those performed by Nevada COBOL and SBASIC.
  429.  
  430. If your applications require you to handle large database files or require you
  431. to manipulate/sort large files (ie, more than 100K in size), then you may want
  432. to seriously consider spending the extra cash required to get a 512K or larger
  433. Ramdisk.  Also, if you are one of those "more is always better" types, you may
  434. want a Ramdisk that will hold everything one could possibly want -- all at the
  435. same time.  In that case, I would recommend the Advent 2-Megabyte model (cost:
  436. over $1,000).
  437.  
  438. For others, reasonable compromises between what is possible and what is
  439. cost-effective may be in order.  I would estimate that I use about 75% of my
  440. 256K Ramdisk capacity over 90% of the time.  "What does that mean!", you may
  441. say.  That means that for 90% of the time, I have more than 200K worth of my
  442. Ramdisk allocated to files.  For the remaining 10% of the time, I either used
  443. less than 200K Ramdisk space (5% of the time) -- or needed more space than the
  444. 256K Ramdisk will provide (the other 5% of the time).  If I had a 2-Megabyte
  445. Ramdisk, I would probably indulge. However, I might only be using 25% of the
  446. capacity for 90% of the time; and be using 50% of the capacity (1 Meg) for
  447. only 6% of the time; and be using 90% of the capacity for less than 3% of the
  448. time.  Where is the cost-justified "break-even" point in terms of capacity vs
  449. cost?
  450.  
  451.        PERFORMANCE BENCHMARKS -- Using The SWP CoPower-88 256K Ramdisk
  452.  
  453. In order to accurately demonstrate and/or compare the performance of one
  454. computer system against another, certain "benchmark" tests are run.  In the
  455. case of the Kaypro hardware upgrades I've been discussing, we will be
  456. interested in a "before" and "after" measurement of performance.  Since I have
  457. performed several different hardware upgrades to my system, the benchmarking
  458. activities became rather involved.  The purpose of the benchmarks was to
  459. determine how much, if any, the various hardware upgrades contributed to the
  460. overall performance of my Kaypro.  Two disk-drive intensive programs were used
  461. to test overall performance: SBASIC and Perfect Calc.
  462.  
  463. SBASIC is a Structured BASIC programming compiler that was included in the
  464. "bundle" of software that came with most Kaypros.  SBASIC programs can be
  465. written using a standard ASCII text word processor (like Perfect Writer, or
  466. Wordstar in non-document mode).  The program text file (source file) is then
  467. read by the SBASIC compiler and a COMmand file is generated.  During the
  468. compilation, several work files are created.  The program I used during the
  469. compile also came included with the Kaypro: XAMN.BAS (a 20K SBASIC program
  470. text file).  Because both the XAMN.BAS source code and the SBASIC compiler
  471. came with the earlier Kaypros, the benchmarks used here can be repeated on
  472. other machines -- and the results compared (keep in mind that later model
  473. Kaypros run at a 5 Mhz clock speed!).
  474.  
  475.  The second benchmark program consisted of Perfect Calc using a series of 7
  476. associated spreadsheet files -- requiring the full 7-buffer capacity of the
  477. software and requiring over 50K of storage within the 64K Swapfile.  In order
  478. to load and/or recalculate these spreadsheets, Perfect Calc requires extremely
  479. heavy swapfile activity.  Like SBASIC, Perfect Calc came bundled with the
  480. earlier Kaypro's.  However, the spreadsheet I used in the benchmark did not.
  481. For this reason, it will not be possible for others to exactly duplicate this
  482. benchmark.  However, if a spreadsheet of similar complexity is used, similar
  483. results should be obtained.
  484.  
  485.        DISKETTE PREPARATION -- Format, PIP To Source, Copy From Source
  486.  
  487. It is important to note that all diskettes used for similar benchmarks must be
  488. identical copies of each other.  This means that we must make one Master copy
  489. each of the SBASIC and Perfect Calc disks and (using COPY.COM) make
  490. formatted/copied/verified clones of this Master disk.  This ensures that all
  491. other diskette-related variables (file fragmentation, directory extents, etc)
  492. are equal.  Only the copies are used in the benchmarks -- and they are only
  493. used one time.  We start with a "fresh" copy for each test.  This is a very
  494. time consuming process, but if it is not done this way the results may not be
  495. valid or consistent.
  496.  
  497. To check for consistent results, some of the benchmarks were performed two
  498. times.  In all cases, results were accurate to within about a 2% deviation.
  499. Master copies were made by formatting a new disk and using the CP/M PIP.COM
  500. program to copy the required files onto the disk.  All diskettes to be used
  501. for "clone" copies of the Masters were first erased with a bulk magnetic
  502. eraser.  Then they were formatted/copied/verified in order to produce a xerox
  503. carbon-copy clone of the Master disk.
  504.  
  505. The spreadsheets on pages 9 & 10 of this newsletter article contain the
  506. results of the benchmarks.  Several different configurations were involved:
  507.  
  508. First, all benchmarks were executed at two different speeds: 2.5 MHz and 8
  509. MHz.  Since speeding up the CPU clock does not make the disk drives go any
  510. faster, we can get a rough idea of how much time is used by disk drive related
  511. activities (read/writes) -- and how much time is used by internal CPU
  512. operations -- by comparing the overall times associated with similar operating
  513. configurations, but different clock speeds.  The differences in these times
  514. will be a result of the faster processing associated with the internal CPU
  515. operations.
  516.  
  517. Second, we can compare the proportion of time used by the disk drives by
  518. keeping the system clock the same (either 2.5MHz or 8Mhz) and comparing the
  519. difference between the time it takes to do something on the disk drives versus
  520. the Ramdisk.  Since there is little I/O time associated with the Ramdisk, most
  521. of the time difference will result from physical seek time and rotational
  522. delay time associated with the disk drives.
  523.  
  524. Third, during the performance of these benchmarks, the Advent TurboROM was
  525. installed.  The TurboROM is suppose to increase disk drive read/write speed by
  526. a factor of 2 - 4 times.  A full set of benchmarks was repeated AFTER the
  527. TurboROM was installed.  You can judge for yourself the difference the
  528. TurboROM actually made.
  529.  
  530.                               THE RECOMMENDATION
  531.  
  532. Finally, the recommendation: BUY A RAMDISK.  It doesn't really matter what you
  533. use your Kaypro for, a Ramdisk will help.  How big of a Ramdisk should you
  534. get?  Well, that depends upon what you use your computer for.  I know that
  535. "more is always better" but keep in mind that there is no such thing as a free
  536. lunch.  Any user who is frustrated by the delays associated with disk drive
  537. reads/writes and/or disk drive noise, or who is interested in reducing the
  538. constant wear and tear on both the diskettes and the disk drives, should get a
  539. Ramdisk.
  540.  
  541. I would recommend against putting an excessive amount of money into an
  542. oversized Ramdisk.  That money could be better spent purchasing other hardware
  543. upgrades, software products, or external add-ons.  Many of these other
  544. products will provide a more cost-effective performance improvement.  Besides,
  545. it has always been my opinion that most of the limitations and shortcomings
  546. are not in the computer, or its software, or its attached equipment.  Most of
  547. the limitations and shortcomings are in the user of the system.
  548.  
  549. Probably the most productive activity that can be offered is User Education.
  550. Very few computer users ever push their hardware/software to within even 75%
  551. of its capabilities.  Your Kaypro does not do color graphics or multi-acre
  552. spreadsheets.  However, your CP/M Kaypro can probably do what you want to do
  553. (or what you are already doing) a lot easier and a lot faster -- provided you
  554. know the "tricks" of your software; are willing to take the time to learn; and
  555. are willing to spend a few dollars on products that will bring those extra
  556. capabilities within reach.  It is a lot cheaper than starting all over from
  557. scratch with a new system.
  558.  
  559.          ENHANCEMENT PRODUCTS -- Minor Investments With Major Payoffs
  560.  
  561. Enhancement products come in two categories: hardware and software.  Most
  562. hardware upgrades will cost from $30 up to whatever you want to pay.  Software
  563. enhancement products will cost from $30 up to $100.  In many cases, for a
  564. minor cost you can obtain a significant improvement in either performance, or
  565. ease of use, or both (ie, productivity).  My time is valuable to me.  I am
  566. willing to pay a little $$ and invest a little more time into installing some
  567. hardware or learning some software -- if I can expect at least a 50%
  568. productivity return on my investment within one year.
  569.  
  570. One of the most cost-effective and productivity enhancing software products
  571. can be had for less than $75.  I am referring to keyboard utility programs
  572. like Smartkey, Xtra-Key, Backgrounder, and others.  I personally own versions
  573. 1.1b and 4.2 of both Smartkey and Smartprint.  Version 4.2 does not work with
  574. the TurboROM; however, version 1.1b does!  In any event, I thought so much of
  575. the capabilities offered by version 1 that I did not hesitate to upgrade to
  576. version 4.  I was first exposed to the potential of this software when I got
  577. hold of a public domain program called "Qwik-key".  After about 3 weeks of
  578. using Qwikkey, I decided to spend $70 for Smartkey, and have never regretted
  579. it.
  580.  
  581. Cost-effective hardware enhancements include speed-up boards for older Kaypros
  582. (from 2.5MHz up to 5Mhz -- twice as fast) and printer buffers for any Kaypro.
  583. Recent model Kaypros are already running at 5MHz.  NOTE: Advent no longer
  584. sells the 8MHz TurboCard.
  585.  
  586. Printer buffers capable of holding over 25 pages of printer text can be had
  587. for less than $175 (bare-bones models). Once you have broken free from the
  588. tyranny of slow printers, you will never go back.  I no longer am forced to
  589. take a coffee break everytime I print a couple of pages.  From now on, I can
  590. be productive at the same time that my printer is being productive.  If you do
  591. a lot of printing, a printer buffer will easily pay for itself within a year
  592. -- just in the time it frees up.
  593.  
  594.     ADD TO WHAT YOU GOT -- Hardware Investment & Learning Curve Experience
  595.  
  596. I guess that my personal preference is always to try to improve upon what I've
  597. got instead of starting over all the time.  Starting over can be both time
  598. consuming and expensive -- and there is no certainty that when you finally get
  599. to where you're going, you'll be better off enough to make the journey
  600. worthwhile.  However, I don't intend to take this Kaypro to the grave with me!
  601. Sometime within the next 2 years, I plan on buying a "new" computer.  I am
  602. waiting for someone to make one that is significantly more capable than my
  603. Kaypro (the Macintosh "Plus" looks interesting).  However, until I decide that
  604. the additional capabilities offered by a new system is worth the additional
  605. $$$$ I will have to spend, I will continue to try to get the most out of what
  606. I already have.  I think I will keep my Kaypro II/4 for a while longer.
  607.  
  608.                   BENCHMARK SPREADSHEET HEADING EXPLANATIONS
  609.  
  610. The two spreadsheets appearing on the following pages contain the results of
  611. the benchmark tests.  The headings appearing across the top of these
  612. spreadsheets are defined as follows:
  613.  
  614. LINE NUMBER : for reference purposes, each line in the spreadsheet has a line
  615. number.
  616.  
  617. TURBOROM INSTALLED :  As the benchmarks were being completed, Advent's
  618. TurboROM was delivered.  All SBASIC benchmarks were run BEFORE and AFTER the
  619. TurboROM was installed.  The Perfect Calc benchmarks were run only after the
  620. TurboROM was installed.  "No" means that the tests were run using the original
  621. Monitor ROM that came with the Kaypro.  "Yes" means that the original Monitor
  622. ROM was replaced with the TurboROM.
  623.  
  624. RECORDING MEDIA:  The benchmark tests were either executed completely against
  625. the floppy drive A: or against the Ramdisk (defined to be logical drive A).
  626. The benchmark activities were either completely confined to either the floppy
  627. drive or to the Ramdisk.  The "workload" during the benchmarks was never split
  628. up between both floppy and Ramdisk drives.
  629.  
  630. DISK FORMAT : Two different floppy disk formats were used.  The normal format
  631. for a Kaypro DS/DD diskette uses 512-byte sectors.  This is considered the
  632. Standard DS/DD format.  The Advent TurboROM supports a larger-sector format
  633. which uses 1024-byte sectors.  This is referred to as the Turbo DS/DD format
  634. (NOTE: Kaypros that are not equipped with the TurboROM cannot read this
  635. format).  The TurboROM DS/DD format is suppose to provide faster disk I/O.
  636.  
  637. SYSTEM CLOCK:  My Kaypro runs at two speeds: (1) the original 2.5 MHz speed
  638. and (2) the enhanced Advent TurboCard 8 MHz speed.  Each benchmark was run
  639. twice -- once at each speed.
  640.  
  641. ELAPSED TIME:  This is the time, in Minutes & Seconds format, required to
  642. complete the task being measured.  For SBASIC benchmarks, this is the total
  643. time it took to compile the XAMN.BAS program.  For the Perfect Calc
  644. benchmarks, two elapsed times were measured: (1) the time it took to "load"
  645. the program and the 7 associated spreadsheets, and (2) the time it took to
  646. perform one recalculation across all 7 spreadsheets.
  647.  
  648. DECIMAL TIME: The Elapsed Time (in Minutes & Seconds format) is simply
  649. converted to decimal format (Minutes & hundredth's of a minute) in order to
  650. simplify the spreadsheet formulas.
  651.  
  652. PERCENTAGE DECREASE:  The Reference time-value is the "normal" time it would
  653. have taken my Kaypro to perform the benchmark: at 2.5MHz against a Standard
  654. format DS/DD disk drive.  All other values are expressed as a "Percentage
  655. Decrease" from the initial reference value.  If the percentage decrease is 50%
  656. then the benchmark speed has doubled. If the percentage decrease is 66%, then
  657. the benchmark speed has tripled.  If the percentage decrease is 75%, then the
  658. benchmark time is 4 times faster than the reference time.
  659.  
  660. ------------------------------------------------------------------------------
  661.  
  662. SBASIC BENCHMARK TESTS                            !----COMPILATION STATISTICS-----!
  663.                                                   !                               !
  664.        TurboROM   Recording    Disk      System     Elapsed    Decimal  Percentage
  665.        Installed    Media     Format      Clock      Time       Time     Decrease
  666.        =========  =========  =========  =========  =========  =========  =========
  667. Line 1     No       Floppy   Std. DS/DD   2.5 MHz     7.19       7.32     Reference
  668. Line 2     No       Ramdisk      N/A      2.5 MHz     5.06       5.10        30
  669. Line 3     No       Floppy   Std. DS/DD   8.0 MHz     4.23       4.38        40
  670. Line 4     No       Ramdisk      N/A      8.0 MHz     2.10       2.17        70
  671.  
  672. Line 5     Yes      Floppy   Std. DS/DD   2.5 MHz     7.02       7.03         3
  673. Line 6     Yes      Ramdisk      N/A      2.5 MHz     5.07       5.12        30
  674. Line 7     Yes      Floppy   Std. DS/DD   8.0 MHz     4.00       4.00        45
  675. Line 8     Yes      Ramdisk      N/A      8.0 MHz     2.10       2.17        70
  676.  
  677. Line 9     Yes      Floppy   Turbo DS/DD  2.5 MHz     6.51       6.85         6
  678.  Line 10     Yes      Ramdisk      N/A      2.5 MHz     5.07       5.12        30
  679.  Line 11     Yes      Floppy   Turbo DS/DD  8.0 MHz     4.02       4.03        44
  680.  Line 12     Yes      Ramdisk      N/a      8.0 MHz     2.10       2.17        70
  681.  
  682.  
  683. SBASIC BENCHMARK COMMENTS:  Line 1 indicates a reference time of 7 minutes and
  684. 19 seconds.  All "Percentage Decreases" are calculated with respect to the
  685. initial 7:19 elapsed time value.  If you want to compare Ramdisk vs Floppy
  686. performance at 2.5 MHz,  compare Lines 1 & 2 and Lines 5 & 6.  Likewise,
  687. compare Ramdisk vs Floppy at 8 MHz by comparing Lines 3 & 4 and Lines 7 & 8.
  688. If you are interested in the difference between 2.5 MHz and 8 MHz, look at
  689. Lines 1 & 3, Lines 2 & 4, Lines 5 & 7, and Lines 6 & 8.  If you want to see
  690. what a TurboROM will get you, compare Lines 1 & 3 with Lines 5 & 7 and Lines 9
  691. & 11.
  692.  
  693. NOTE that the TurboROM had no influence upon the performance of the Ramdisk
  694. one way or the other.  The TurboROM did seem to improve floppy disk drive
  695. times somewhat -- but not by the 2-4 times that they advertise!
  696.  
  697. The fastest times are associated with the Ramdisk and the 8 MHz clock speed
  698. (Lines 4, 8 & 12).
  699.  
  700.  
  701. PERFECT CALC BENCHMARK TESTS                      !-----SPREADSHEET LOADING-------!!--SPREADSHEET RECALCULATION--!
  702.                                                   !                               !!                             !
  703.       TurboROM   Recording    Disk      System     Elapsed    Decimal  Percentage   Elapsed   Decimal Percentage
  704.       Installed    Media     Format      Clock      Time       Time     Decrease      Time      Time   Decrease
  705.       =========  =========  =========  =========  =========  =========  =========  =========  ======== =========
  706. Line 1   Yes      Floppy   Std. DS/DD   2.5 MHz     6.40       6.67     Reference     2.25      2.42   Reference
  707. Line 2   Yes      Ramdisk      N/A      2.5 MHz     3.50       3.83        42         0.57      0.95      60
  708. Line 3   Yes      Floppy   Std. DS/DD   8.0 MHz     4.22       4.37        34         1.51      1.85      23
  709. Line 4   Yes      Ramdisk      N/A      8.0 MHz     1.40       1.67        75         0.26      0.43      82
  710.  
  711. Line 5   Yes      Floppy   Turbo DS/DD  2.5 MHz     6.40       6.67         0         2.20      2.33       3
  712. Line 6   Yes      Floppy   Turbo DS/DD  8.0 MHz     4.20       4.33        35         1.45      1.75      27
  713.  
  714.  
  715. PERFECT CALC BENCHMARK COMMENTS:  This benchmark makes use of 7 "associated"
  716. spreadsheets.  This means that one spreadsheet will be getting many of its
  717. values off of other spreadsheets associated with it.  So cell values are being
  718. transferred across spreadsheets.  SPREADSHEET LOADING time involves a total of
  719. three activities: (1) Perfect Calc loads itself; (2) the 7 spreadsheets are
  720. loaded into the Perfect Calc swapfile; and (3) the initial recalculation of
  721. the spreadsheets before display.  SPREADSHEET RECALCULATION time measures
  722. recalculation time AFTER the initial loading has completed.  Since the Advent
  723. TurboROM was already installed prior to these benchmarks, all times reflect
  724. the influence of the TurboROM on disk drive activity.
  725.  
  726.   Notice the substantial improvement between Lines 1 & 2 running at 2.5 MHz
  727. and between Lines 3 & 4 at 8 MHz.  Also notice the lack of improvement between
  728. Lines 1 & 5 and Lines 3 & 6.  Of course, the largest improvement lies between
  729. Lines 1 & 4.
  730.  
  731. ==============================================================================
  732.  
  733. FINAL NOTE:  This article is exactly 52,799 ASCII characters long.  It
  734. requires 54K of disk space to store.  When I printed the final copy, it took
  735. my Kaypro 65 seconds to "throw" the printer output into my 64K print buffer.
  736. But it took my daisy wheel printer over 75 minutes to print the contents of
  737. the print buffer.  During the time that this article was printing, I was
  738. working on the KAMAS outline for another document!
  739.  
  740.  
  741. FINAL FINAL NOTE:  This article was originally formatted for a 132-column
  742. printer.  The copy of this file that was provided to the Richmond Kaypro
  743. User's Group was reformatted into a 78-column document (spreadsheets may
  744. require 120 columns).  As a result, the size of this file was reduced to
  745. 46,068 ASCII characters in length.
  746.