home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / misc / 28047 < prev    next >
Encoding:
Internet Message Format  |  1992-08-23  |  2.1 KB

  1. Xref: sparky comp.os.os2.misc:28047 comp.os.os2.advocacy:4411
  2. Newsgroups: comp.os.os2.misc,comp.os.os2.advocacy
  3. Path: sparky!uunet!wupost!sdd.hp.com!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!bauwens
  4. From: bauwens@acs.ucalgary.ca (Luc Bauwens)
  5. Subject: 32 bit code compared to 16 bits: some figures
  6. Sender: news@acs.ucalgary.ca (USENET News System)
  7. Message-ID: <92Aug23.200732.34515@acs.ucalgary.ca>
  8. Date: Sun, 23 Aug 92 20:07:32 GMT
  9. Nntp-Posting-Host: acs5.acs.ucalgary.ca
  10. Organization: The University of Calgary, Alberta
  11. Lines: 42
  12.  
  13. I made some experiments with Fortran code that I wrote, using MS Fortran 5.1
  14. and Watcom Fortran 386 V. 9.  Numbers are as follows:
  15.  
  16. OS/2 2.0, MS Fortran 5.1: total time:    73.066 minutes
  17. OS/2 2.0, Watcom Fortran 386 (32 bits):    28.066 minutes
  18. DOS + Extender (Watcom, 32 bits):    27.801 minutes
  19.  
  20. OS/2, Watcom, multitasking job1:    56.884 minutes
  21.                job2:    56.784 minutes
  22.  
  23. HP 9000/710:                 2.874 minutes total, 2:52.7 user.
  24.  
  25. Notes:
  26.  
  27. 1. DOS and OS/2: on a 386-25, with IIT FPU.
  28.  
  29. 2. Code: double precision, floating point intensive, with
  30.    very little else, esp. very little I/O.  Not particularly
  31.    suitable to the HP-PA 1.1 architecture, the optimizing
  32.    features of which are made little use of.  Code too large
  33.    to run in DOS without extender.  Arrays larger than 64k.
  34.  
  35. 3. Identical source code for all cases, except (1) that the date/time
  36.    calls were adapted to the various cases.  DOS+Extender code was
  37.    slightly different in that it includes some graphs (a logo at
  38.    the beginning.  Penalty is very slight, however.)
  39.  
  40. 4. Under OS/2: nothing else running except the WPS.  Running in
  41.    a full-screen OS/2 window.
  42.  
  43. 5. OS/2 multitasking: running twice the same job, one OS/2 full-
  44.    screen and the other in an OS/2 window.  Nothing else but
  45.    the WPS running.  Actually started the second job 4 seconds after
  46.    the first.  (Requires two copies of the executable.)
  47.  
  48. 6. There are some indications that the arithmetic may be slightly
  49.    less accurate with MS Fortran 5.1.
  50.  
  51. The code may not be well-optimized on the HP.  I will also run it
  52. on an IBM RS/6000 560 probably next week.
  53.  
  54. Luc B.
  55.