home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1835 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.8 KB

  1. Xref: sparky comp.os.ms-windows.programmer.misc:1835 comp.os.ms-windows.misc:3018 comp.os.ms-windows.programmer.tools:954 comp.os.ms-windows.setup:1267
  2. Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.misc,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.setup
  3. Path: sparky!uunet!microsoft!hexnut!gregde
  4. From: gregde@microsoft.com (Greg Demichillie)
  5. Subject: Re: What's the best setup for compiling in a DOS window?
  6. Message-ID: <1992Sep14.165856.12800@microsoft.com>
  7. Date: 14 Sep 92 16:58:56 GMT
  8. Organization: Microsoft Corporation
  9. References: <1992Sep11.145258.12566@Warren.MENTORG.COM>
  10. Lines: 26
  11.  
  12. In article <1992Sep11.145258.12566@Warren.MENTORG.COM> stu@Warren.MENTORG.COM (Stu Brown) writes:
  13. >I have MS C/C++ 7.0 and am trying to set up my Windows DOS shell window
  14. >to get good compile time. I have tried to set the PIF for exclusive
  15. >and the time slice to 10000, but when I compare compiling in DOS
  16. >Vs. compiling in a Windows DOS shell (windowed or full screen),
  17. >the Windows compile takes 2X longer no matter what I do.
  18. >
  19. >Any solutions to get Windows to give my process exclusive CPU?
  20.  
  21. A few ideas...
  22.  
  23. The "Exclusive" bit is only effective when running in full-screen
  24. mode.  Also running in a full-screen virtual machine (VM) is faster
  25. than running in a windowed VM.  So for the best performance, set
  26. the Exclusive bit and compile in a full-screen session.  
  27.  
  28. You should also check the size of your SmartDrive cache.  It may be
  29. set to a smaller size when running Windows than when running DOS.  This
  30. can have a *LARGE* effect on compilation speed.  I used to run with
  31. a RAM disk and SmartDrive but I found that I got faster compiles by
  32. dropping the RAM disk and increasing the cache by the same amount. 
  33.  
  34. -Greg
  35.  
  36. -- 
  37. Greg DeMichillie          
  38. gregde@microsoft.com      -- All opinions are mine, not Microsoft's -- 
  39.