dak@super.org (Don A. Kreinbrink) (07/21/90)
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 <stdio.h> 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