Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: dak@super.org (Don A. Kreinbrink) Newsgroups: comp.sys.sun Subject: Sparcstation Speed? Keywords: Miscellaneous Message-ID: <10156@brazos.Rice.edu> Date: 21 Jul 90 02:07:47 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 23 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 277, message 13 Originator: spots@titan.rice.edu Help! I have a perplexing problem with a Sparcstation1. The following program runs in about 8.3 sec MOST of the time on my Sparc. However, on a frequent but intermittent basis it runs much, much slower (42 sec and up). I have been unable to find any change in load avg, swaps, etc. to warrant this big of a difference. Does anyone have any ideas for me? Sparcstation1 12Mbyte SunOS 4.0.3 #include main() { long i, j, k; for( i = 1; i <= 1000; i++ ) { for(j = 1000; j>= 1; j--) { k = (i * i - 1) / j; } } } Don Kreinbrink Supercomputing Research Center