heavier CPU load = more pairs/sec???

Timur Tabi (timur@io.com)
Sat, 3 May 1997 11:19:13 -0500 (CDT)


Something is wrong with the OS/2 client timing's. The heavier the
CPU load on my machine, the faster the client runs. Look at
this:

Processor 1 -- 2^29 complementary pairs of keys starting with
6445D5C880010101
................................................................
................................................................
................................................................
................................................................
Processor 1 -- Elapsed time: 2489 seconds
Processor 1 -- Key not found
Processor 1 -- 2^29 complementary pairs of keys starting with
6162E52901010101
................................................................
................................................................
................................................................
................................................................
Processor 1 -- Elapsed time: 1223 seconds
Processor 1 -- Key not found

On a completely idle system, the elapsed time is just over 2600
seconds for 2^29 pairs. As the load increases (that is, I start other
programs and less CPU is available to deschall.exe), the elapsed
time decreases. In fact, now it's testing 2^30 pairs, because it
thinks it's much faster now!

This might explaing why I only get 475k pairs/sec.

--
Timur Tabi, timur@io.com, http://www.io.com/~timur/index.html
THE OS/2 Programming Page: http://www.edm2.com/common/links.html

... In Windows 95, no one can hear you scream