home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8685 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!ralf
  2. From: ralf+@cs.cmu.edu (Ralf Brown)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Re: BIOS SPEED FOR VIDEO WRITES
  5. Message-ID: <BtBFu3.4zD.2@cs.cmu.edu>
  6. Date: 21 Aug 92 04:15:38 GMT
  7. Article-I.D.: cs.BtBFu3.4zD.2
  8. References: <1992Aug20.131829.5606@tc.cornell.edu> <exuptr.349.714338170@exu.ericsson.se>
  9. Sender: news@cs.cmu.edu (Usenet News System)
  10. Organization: School of Computer Science, Carnegie Mellon
  11. Lines: 40
  12. Nntp-Posting-Host: b.gp.cs.cmu.edu
  13.  
  14. In article <exuptr.349.714338170@exu.ericsson.se> exuptr@exu.ericsson.se (Patrick Taylor) writes:
  15. }In article <1992Aug20.131829.5606@tc.cornell.edu> homer@theory.TC.Cornell.EDU (Homer Smith) writes:
  16. }>     I wrote a short program in assembler to write to every pixel on
  17. }>     On my 386/33 with Trident 8900 chip the program takes 1:10
  18. }>minutes.
  19. }>     On my 486/33 with identical video board the program takes 11:46
  20. }>minutes.
  21. }
  22. }First off, both times are too slow.
  23. }
  24. }>     Could someone please give me a hint why the 486 is 11 times
  25. }>slower than the 386. 
  26. }> 
  27. }>     Using another program that did a simple INC AX,1 repeatedly,
  28. }>the 486 was 2.8 times faster than the 386.
  29. }
  30. }How are you drawing pixels?  What video mode? If you are calling an INT 10h 
  31. }function, there's your bottleneck.  As for why it might be slower, check 
  32. }these things:
  33. }
  34. }1>  Do you have VIDEO / BIOS shadow on either machine?
  35. }2>  Do you have any non-standard bus timings on either machine?  (Extended
  36. }    setup)
  37. }3>  Compare the loaded drivers, etc... on both machines, especially packet 
  38. }    drivers, keyboard intercepts, video intercepts, etc...
  39.  
  40. 4> Is the board in a 16-bit slot in the 386 and in an 8-bit slot in the 486?
  41.  
  42. 5> Is the memory cache on the 486 enabled?
  43.  
  44. 6> Are you running a memory manager on the 486 but not on the 386?  Or
  45.    different memory managers on the two machines?  When doing INT NN calls,
  46.    the memory manager gets control, so the efficiency of the memory manager
  47.    is very important (QEMM is much faster than Microsoft's EMM386, for
  48.    example).
  49. -- 
  50. Internet: RALF+@CS.CMU.EDU   |The University would disclaim this if it knew...
  51. FIDO: Ralf Brown 1:129/26.1  |
  52. BIT: RALF%CS.CMU.EDU@CARNEGIE|"Success has a simple formula: do your best,
  53. AT&Tnet: (412)268-3053 school| and people may like it."   -- Sam Ewing
  54.