Date: Tue, 26 Jul 1994 08:12:06 +0100 (CET) From: "Roland Exler" Sender: k3a0270 AT pop DOT uni-linz DOT ac DOT at Reply-To: R DOT Exler AT jk DOT uni-linz DOT ac DOT at To: Subject: RE: Compilation Speed and Windows Dos Shell In message Tue, 26 Jul 1994 09:40:03 +1000 (EST), Mr WT Wong writes: > I noticed a large discrepancy in the compilation times of gcc > when running under normal dos and under the dos prompt in windows. ... Hi John, I don't know about your configuration especially your memory-organisation. I tried to compile one program first under DOS, then Windows/DOS-Shell and last with Windows/DOS-Shell set to execute in the background. The compilation-times have been 12/14/15 seconds (same order), so Windows is always slower than pure DOS. Maybe you havn't any disk-cache using dos, so windows does this for you. I'll send my config.sys, autoexec.bat and the output of MEM with this mail, so you can compare to yours. My machine is a 486/66, 32MB Ram, 1GB HD running DOS 6.2. If you can find out what's the real reason for this speed-difference it would be fine to find the answer at the list. Roland +---------------------------------------+---------------------------+ I Roland Exler I EMAIL: I I Universitaet Linz I R DOT Exler AT jk DOT uni-linz DOT ac DOT at I I Institut fuer Elektrische Messtechnik I I I Altenbergerstr. 69 I Phone: I I A-4040 Linz, AUSTRIA I + 43 732 2468 9205 I +---------------------------------------+---------------------------+ CONFIG.SYS: ------------------------------------------------------------------------ DEVICE=c:\SYPLUS\SYFILES\ASPI4DOS.SYS /D REM DEVICE=C:\TOOLS\ADAPTEC\ASPI4DOS.SYS /D DEVICE=C:\DOS\HIMEM.SYS /TESTMEM:OFF BUFFERS=10,0 FILES=99 DOS=UMB LASTDRIVE=E FCBS=4,0 DEVICE=C:\DOS\EMM386.EXE NOEMS RAM DEVICEHIGH /L:1,12240 =C:\DOS\SETVER.EXE DOS=HIGH DEVICEHIGH /L:1,37824 =C:\TOOLS\MAUS\MOUSE.SYS BUS STACKS=0,0 SHELL=C:\DOS\COMMAND.COM C:\DOS\ /e:600 /p AUTOEXEC.BAT: ------------------------------------------------------------------------ @ECHO OFF LH /L:1,17184 C:\DOS\KEYB GR c:\nupop\exp16.com 0x60 0x360 PATH c:\dos;d:\gnu\bin; set compiler_path=d:/gnu/bin set c_include_path=d:/gnu/include set cplus_include_path=d:/gnu/cplusinc;d:/gnu/include set objc_include_path=d:/gnu/include set ocjcplus_include_path=d:/gnu/include set library_path=d:/gnu/lib set tmpdir=/temp set go32tmp=/temp set go32=driver d:/gnu/drivers/tseng4k.grd gw 1024 gh 768 set bison_simple=d:/gnu/lib/bison.simple set bison_hary=d:/gnu/lib/bison.hairy set flex_skeleton=d:/gnu/lib/flex.skeleton set go32=driver d:/gnu/drivers/tseng4k.grd gw 1024 gh 768 d: cd gnu LH /L:1,6512 C:\DOS\doskey /Bufsize=1024 /insert C:\DOS\doskey /Bufsize=1024 /insert > NUL C:\DOS\doskey r=cd \ C:\DOS\doskey d=dir $* /p C:\DOS\doskey dw=dir $* /w C:\DOS\doskey da=dir a:$* /p C:\DOS\doskey db=dir b:$* /p C:\DOS\doskey de=dir $1*.exe /p $2 $3 $4 C:\DOS\doskey dc=dir $1*.com /p $2 $3 $4 C:\DOS\doskey t=type $* C:\DOS\doskey c=copy $* C:\DOS\doskey x=xcopy $* C:\DOS\doskey q=c:\dos\q.exe $* C:\DOS\doskey b=c:\tools\boxer60a\b.exe $* C:\DOS\doskey ff=dir $* /b /s /p C:\DOS\doskey end=smartdrv /s /c C:\DOS\doskey t5=c:\q\t5\turbo.exe $* C:\DOS\doskey t7=d:\bp\bin\turbo.exe $* C:\DOS\doskey hp=c:\emtex\dvihplj @c:\emtex\hdj.cnf $* C:\DOS\doskey v=c:\emtex\dviscr @c:\emtex\hdviscr.cnf $* C:\DOS\doskey hpq=c:\emtex\dvihplj @c:\emtex\qdj.cnf $* C:\DOS\doskey vq=c:\emtex\dviscr @c:\emtex\qdviscr.cnf $* C:\DOS\doskey dbase=c:\dbase\dbase PROMPT $P$G SET TEMP=E:\ SET DIRCMD=/og LH /L:1,1424 C:\TOOLS\SIGMA\MONITOR.COM LH /L:0;1,46016 /S C:\DOS\SMARTDRV.EXE 12288 4096 MEMORY-USAGE (MEM): ------------------------------------------------------------------------ Speichertyp Insgesamt = Verwendet + Frei ----------------- ---------- --------- --------- Konventioneller 640K 35K 605K Hoher 139K 72K 67K Reserviert 384K 384K 0K Erweiterung (XMS) 31,605K 12,557K 19,048K ----------------- ---------- --------- --------- Insg. Speicher 32,768K 13,048K 19,720K Insg. unter 1 MB 779K 106K 672K Maximale Gr|~e f}r ausf}hrbares Programm 605K (619,728 Byte) Gr|~ter freier Block im hohen Speicherblock 64K (65,520 Byte) MS-DOS ist resident im oberen Speicherbereich (High Memory Area).