home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / win32 / 2059 < prev    next >
Encoding:
Text File  |  1992-11-19  |  2.2 KB  |  58 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. 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
  3. From: duling@vaxc.niehs.nih.gov
  4. Subject: NT multitasking ??????????
  5. Message-ID: <1992Nov19.154731.26215@aragorn.unibe.ch>
  6. Followup-To: .
  7. Summary: console apps don't seem to share the cpu
  8. Keywords: NT, multitasking, console, C
  9. Sender: David R. Duling
  10. Reply-To: .
  11. Organization: National Inst. of Environmental Health Sciences
  12. References: .
  13. Distribution: .
  14. Date: Thu, 19 Nov 1992 15:47:31 GMT
  15. Lines: 41
  16.  
  17. Has anyone tried testing the multitasking of Windows NT ?
  18.  
  19. I have found that a console mode 32 bit application with the
  20. focus does not share the cpu with other user processes.  
  21. However, a Win32 GDI application with the focus does share
  22. the cpu with other user processes, including console mode apps.
  23. Even "dir \ /s /-p" with the focus will bog down everything
  24. else, even GDI programs, and that is a microsoft application !
  25. My question is, what is going on here ?  T
  26.  
  27. I need answers to this dilemma.  Is Microsoft listening ?  We should 
  28. be able to take a simple character mode application, compile it, and
  29. expect reasonable multitasking performance in a supposedly pre-emptive
  30. environment.
  31.  
  32. Also, I have compiled the same ANSI C code with the Oct SDK
  33. creating a 32 bit program and with the Borland C++3.1 compiler
  34. creating a 16 bit program with these (curious) results:
  35.  
  36.     -- trial --                  -- run time --
  37. 1. test32.exe console mode Win32 app with focus:    667 s
  38. 2. test16.exe DOS 16 bit app in Win 3.1 default
  39.                              dos box with focus:    558 s
  40.  
  41. where test.exe is a floating point intensive calculation
  42. program with very little screen or file output.  Times are
  43. taken from the C run time library.  My configuration is:
  44.  
  45. Dell 450DE/2, 16MB RAM, 30MB swapfile (NT)
  46. (nt compile)    cl386 -c -G3 -W3 -Di386=1 *.c
  47.         link -subsytem:console -entry:mainCRTStartup \
  48.         -out:test32.exe *.obj libc.lib ntdll.lib kernel32.lib
  49.  
  50. Well, I understand this is a beta operating system, but is the 
  51. kernel performance expected to improve, or just the api perfomance ?
  52.  
  53. Any responces will be appreciated.
  54.  
  55. -- Dave Duling
  56.    Laboratory of Molecular Biophysics
  57.    National Institute of Environmental Health Sciences
  58.