Xref: utzoo comp.sys.mac:13767 comp.sys.mac.programmer:172 Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!cornell!batcomputer!chow From: chow@batcomputer.tn.cornell.edu (Christopher Chow) Newsgroups: comp.sys.mac,comp.sys.mac.programmer Subject: Re: Dhrystone 2 (Actually, LSC weirdness) Message-ID: <4004@batcomputer.tn.cornell.edu> Date: 10 Mar 88 16:11:02 GMT References: <3996@batcomputer.tn.cornell.edu> <1634@thorin.cs.unc.edu> Reply-To: chow@tcgould.tn.cornell.edu (Christopher Chow) Organization: Cornell Theory Center, Cornell University, Ithaca NY Lines: 41 In article <1634@thorin.cs.unc.edu> steele@unc.UUCP (Oliver Steele) writes: | |I hope my results differ from Mr. Chow's because he used the LSC time(), |which grains to the second (minute?), while I used Ticks. | | No Registers Registers | ================= ============ ========= | | Mac II | LSC16 2698 2925 You may recall that when I did the Dhrystone 2.0 benchmark on my Mac II, I reported a speed of 2469 Dhry/sec. As it turned out, I didn't use the LSC library function time(), but instead TickCount(). After a bit of experimenting, I found the following interesting fact: When I ran my benchmark, I did it on a 2Mb Mac II under MultiFinder. I had VersaTerm resident to I could look up unix man pages, so I decided the have LSC link an actual application for me since there wasn't enough memory left to run Dhrystones under LSC/MultiFinder. When I made my benchmark timming of 2469, I did so under both Finder and Multifinder, so MultiFinder dosen't seem to be the culprit. This morning, I decided to run the Dhrystone program under LSC/Multifinder (i.e, recompile and have LSC launch it into an Multifinder "partition"). Using this method, I got the 2698 Dhrystone/sec figure which Mr. Steele obtained. Unfortunately, for some reason, I still can't match the Mr. Steel's registers benchmark...(mine was still 2698). Does anyone know what's going on here? Why am I getting an 9.3% increase in execution speed when running under LSC/MF over the linked application version? Christopher Chow /---------------------------------------------------------------------------\ | Internet: chow@tcgould.tn.cornell.edu (128.84.248.35 or 128.84.253.35) | | Usenet: ...{uw-beaver|ihnp4|decvax|vax135}!cornell!batcomputer!chow | | Bitnet: chow@crnlthry.bitnet | | Phone: 1-607-253-6699 Address: 7122 N. Campus 7, Ithaca, NY 14853 | | Delphi: chow2 PAN: chow | \---------------------------------------------------------------------------/