home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.95 / text2232.txt < prev    next >
Encoding:
Text File  |  1996-04-02  |  1.5 KB  |  38 lines

  1. >>>>> "Brian" == Brian Wimberly <brianw@scripps.edu> writes:
  2.  
  3.     Brian> Which is faster on the same hardware -- Ex. /DOS or
  4.     Brian> Ex. /Linux?
  5.  
  6. Our CPU emulator will run at the same speed under any OS, so there are
  7. only a few issues:
  8.  
  9.   1) How fast can Executor access the graphics hardware?
  10.  
  11.   2) How efficiently is virtual memory implemented?  (Only relevant if
  12.      you don't have lots of memory and therefore need to page to disk).
  13.  
  14.   3) How well does the operating system do things like cache
  15.      recently accessed hard drive contents in RAM?
  16.  
  17. Linux/X-windows loses to DOS big in (1).  If svgalib supports svga
  18. modes on your card, Executor/Linux/svgalib should be about the same
  19. speed as Executor/DOS.
  20.  
  21. Linux beats DOS in (2), at least if you're using cwsdpmi.exe (the free
  22. DPMI provider we supply).  OS/2 Warp and other DPMI providers seem to
  23. do a substantially better job of using virtual memory that cwsdpmi, so
  24. if you're using one of those you won't see much difference moving to
  25. Linux.  For you CS types out there, cwsdpmi uses a round-robin paging
  26. algorithm, an algorithm which doesn't work all that well for paging.
  27. It's on the author's long list of things to improve.
  28.  
  29. Linux does a good job of (3), although something like smartdrv under
  30. DOS is probably similar.
  31.  
  32. In general, Executor/DOS tends to be faster because Executor has
  33. direct video access (under many system configurations), and there's
  34. not much speed difference in the other areas.  Your mileage may vary.
  35.  
  36. -Mat
  37.  
  38.