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