home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!sdd.hp.com!caen!uwm.edu!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!aragorn.unibe.ch!news
- From: duling@vaxc.niehs.nih.gov
- Subject: NT multitasking ??????????
- Message-ID: <1992Nov19.154731.26215@aragorn.unibe.ch>
- Followup-To: .
- Summary: console apps don't seem to share the cpu
- Keywords: NT, multitasking, console, C
- Sender: David R. Duling
- Reply-To: .
- Organization: National Inst. of Environmental Health Sciences
- References: .
- Distribution: .
- Date: Thu, 19 Nov 1992 15:47:31 GMT
- Lines: 41
-
- Has anyone tried testing the multitasking of Windows NT ?
-
- I have found that a console mode 32 bit application with the
- focus does not share the cpu with other user processes.
- However, a Win32 GDI application with the focus does share
- the cpu with other user processes, including console mode apps.
- Even "dir \ /s /-p" with the focus will bog down everything
- else, even GDI programs, and that is a microsoft application !
- My question is, what is going on here ? T
-
- I need answers to this dilemma. Is Microsoft listening ? We should
- be able to take a simple character mode application, compile it, and
- expect reasonable multitasking performance in a supposedly pre-emptive
- environment.
-
- Also, I have compiled the same ANSI C code with the Oct SDK
- creating a 32 bit program and with the Borland C++3.1 compiler
- creating a 16 bit program with these (curious) results:
-
- -- trial -- -- run time --
- 1. test32.exe console mode Win32 app with focus: 667 s
- 2. test16.exe DOS 16 bit app in Win 3.1 default
- dos box with focus: 558 s
-
- where test.exe is a floating point intensive calculation
- program with very little screen or file output. Times are
- taken from the C run time library. My configuration is:
-
- Dell 450DE/2, 16MB RAM, 30MB swapfile (NT)
- (nt compile) cl386 -c -G3 -W3 -Di386=1 *.c
- link -subsytem:console -entry:mainCRTStartup \
- -out:test32.exe *.obj libc.lib ntdll.lib kernel32.lib
-
- Well, I understand this is a beta operating system, but is the
- kernel performance expected to improve, or just the api perfomance ?
-
- Any responces will be appreciated.
-
- -- Dave Duling
- Laboratory of Molecular Biophysics
- National Institute of Environmental Health Sciences
-