home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / acorn / 8479 < prev    next >
Encoding:
Text File  |  1992-09-02  |  5.9 KB  |  128 lines

  1. Newsgroups: comp.sys.acorn
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!rpi!scott.skidmore.edu!jduncan
  3. From: jduncan@scott.skidmore.edu (john duncan)
  4. Subject: Re: Virtual Memory
  5. Message-ID: <1992Sep2.173445.14995@scott.skidmore.edu>
  6. Organization: Skidmore College, Saratoga Springs NY
  7. References: <9208271106.AA10343@ucbvax.Berkeley.EDU>
  8. Date: Wed, 2 Sep 1992 17:34:45 GMT
  9. Lines: 117
  10.  
  11. lithgow@toy.usl.com (Malcolm Lithgow) writes:
  12. > [Giles writes:]
  13. > > (lots of garbage on why VM is terrible deleted (as it should be :-)
  14. > Now who is making up articles? (Or simply failing to read them.)
  15. > No-one on this group has claimed that VM is terrible. However, I have
  16. > claimed that the standard implementation is very far from optimal.
  17. > > Anybody who thinks that VM doesn't and cannot work should (a) try using
  18. > > a decent computer, and (b) take a decent computer science course.
  19. > Tch, tch. And I suppose 'decent' means, respectively, 'a computer that
  20. > I've used that makes impressive use of VM' and 'a course that
  21. > brainwashes you into believing that current implementations of VM are
  22. > God's gift to mankind'?
  23. > >  For
  24. > > many years I worked on an Amdahl mainframe supporting around 200 users
  25. > > running a SVR2-1/2 (i.e. halfway between release 2 and release 3) Unix.
  26. > > It worked extremely well - you could easily live with the illusion that
  27. > > you were the only user on the system.  Basically, the underlying operations
  28. > > required by a VM are so fast and implemented at such a low level in hardware
  29. > > that the overhead is tiny and totally unnoticed. "Ah but" I hear you cry,
  30. > > "That's fine for mainframes, but what about smaller systems!".
  31. > No, I don't cry that. What I do cry is that mainframes are so
  32. > unresponsive that 'you could easily live with the illusion that' you
  33. > were using a ZX-81! Certainly, mainframes a fast a some things (for a
  34. > single user, I mean), but atrociously slow at things that users do most
  35. > of the time (like getting lists of directories, editing files, etc.).
  36. > Hardly a good recommendation for traditional style VM, other than that
  37. > the system actually works. I know -- our company uses an Amdahl
  38. > mainframe as our main machine, and using a 386 is almost always
  39. > faster.
  40. > >I'm currently
  41. > > on a DECstation - a single user workstation with X windows.  I don't
  42. > > notice the VM at all.  I've also seen HP, Sun, etc. etc workstations with
  43. > > VM and with the same illusion of no VM.
  44. > More examples of how the standard implementation of VM slows things
  45. > down.  Consider this: I am currently typing this on a 33MHz '386 with
  46. > 24MB of RAM, a 256KB cache (running at 33MHz, of course), and large,
  47. > fast hard disks (total of 600MB). When I use X on this system, as a
  48. > single user, it is barely able to give similar response to my old
  49. > 4/8MHz ARM-2 system, with no cache and 4MB of RAM (not to mention a
  50. > 20MB hard disk).
  51.  
  52. If you`ll notice, X was originally designed for a network, not a
  53. single machine. Over the net, Clients work together to give you, the
  54. server the best possible response. (the X basis for Client-server is
  55. opposite from most netted systems.) Therefore, the Window-client is
  56. telling your server to put blah window on the screen, the Desktop
  57. client is telling your server to put blah window on Blah part of your
  58. screen, and the BLAHWorks application tells your server what to put in
  59. the blah window at the Blah part of your desktop. On your machine,
  60. your i386 has to do this all by itself, slowing it down like anything.
  61. The sun, however is meant to work as a MULTI-user system, allowing
  62. anyone within range over Telnet to talk to it, as well as many over
  63. rlogin(in BSD at least) But since its over thenet, suns have a nice
  64. little tendency to use memories on other computers as VM and temporary
  65. disk space, and as a last resort will use its internal disk. The mac,
  66. Has a cute method of dumping the least used parts of a program or file
  67. on disk, leaving the immediate part in memory. I notice very little
  68. change in speed off of my IIcx with a quantum 105LPS, making it
  69. extremely useful for DTP and CAD, as well as for Photoshop and
  70. Raytracing(which is generally slow on macs anyway). 
  71.  
  72. > This poor performance can be blamed on a whole range of things, with VM
  73. > having little to blame. Now if I down-grade this '386 to an 8MB system
  74. > (ie. force VM usage), what do I see? A sudden drastic decrease in
  75. > performance, to about half the speed. The reason for this is that X
  76. > uses so much core that it swaps like a maniac. It does this because (a)
  77. > it was written with the assumption of 'I can use all the memory I like'
  78. > encouraged by current VM, and (b) current VM knows nothing about X's
  79. > usage patterns, and so runs blind, making a terrible mess of things.
  80. > Now, for me as a person who wants to use a graphical interface (and a
  81. > command-line interface) on an affordable machine -- this is simply not
  82. > on!
  83. > Compare this to an A3000 -- it can multitask, etc. and manage it at
  84. > almost twice the speed! Why? Because it's software is memory-miserly
  85. > because VM can't be assumed!
  86. > Sure, HP, IBM, DEC, Sun, etc. WorkStations perform well, but they need
  87. > huge volumes of memory and very fast CPU's to manage the trick. And they
  88. > don't have the excuse of being multi-user.
  89. > Perhaps we should consider rethinking some assumptions, so that we can
  90. > get even better performance from our current and future hardware?
  91. > > Virtual memory is a fact of life, and virtual memory works extremely well.
  92. > Virtual memory *is* a fact of life -- I agree. Current implementations
  93. > of VM work, and are sometimes satisfactory, but can be significantly
  94. > improved. Of course, you may disagree, but then, so did the Luddites.
  95. > ;-)
  96. > > Before anybody flames me back, make sure that you have satisfied both
  97. > > conditions (a) and (b) above.
  98. > I do.
  99. > -Malcolm.  lithgow@usl.com  These are merely my opinions.
  100.  
  101. -John         Jduncan@skidmore.edu. Post me flame. I like it.
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.