home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / apps / 5484 < prev    next >
Encoding:
Text File  |  1992-08-23  |  2.0 KB  |  54 lines

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