home *** CD-ROM | disk | FTP | other *** search
- 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
- Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.misc,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.setup
- Path: sparky!uunet!microsoft!hexnut!gregde
- From: gregde@microsoft.com (Greg Demichillie)
- Subject: Re: What's the best setup for compiling in a DOS window?
- Message-ID: <1992Sep14.165856.12800@microsoft.com>
- Date: 14 Sep 92 16:58:56 GMT
- Organization: Microsoft Corporation
- References: <1992Sep11.145258.12566@Warren.MENTORG.COM>
- Lines: 26
-
- In article <1992Sep11.145258.12566@Warren.MENTORG.COM> stu@Warren.MENTORG.COM (Stu Brown) writes:
- >I have MS C/C++ 7.0 and am trying to set up my Windows DOS shell window
- >to get good compile time. I have tried to set the PIF for exclusive
- >and the time slice to 10000, but when I compare compiling in DOS
- >Vs. compiling in a Windows DOS shell (windowed or full screen),
- >the Windows compile takes 2X longer no matter what I do.
- >
- >Any solutions to get Windows to give my process exclusive CPU?
-
- A few ideas...
-
- The "Exclusive" bit is only effective when running in full-screen
- mode. Also running in a full-screen virtual machine (VM) is faster
- than running in a windowed VM. So for the best performance, set
- the Exclusive bit and compile in a full-screen session.
-
- You should also check the size of your SmartDrive cache. It may be
- set to a smaller size when running Windows than when running DOS. This
- can have a *LARGE* effect on compilation speed. I used to run with
- a RAM disk and SmartDrive but I found that I got faster compiles by
- dropping the RAM disk and increasing the cache by the same amount.
-
- -Greg
-
- --
- Greg DeMichillie
- gregde@microsoft.com -- All opinions are mine, not Microsoft's --
-