[rc5] Bug in v2 client(s)

DevBahn - OS/2 Programmers Sanctuary devbahn at geocities.com
Sat Jun 28 10:08:34 EDT 1997


On Sat, 28 Jun 1997 17:55:43 +0200, Michael Bruck wrote:

>The v2 clients (at least the win32 one) give wrong
>speed (k/s) values for interrupted blocks. If you continue
>checking a block at 50% you get a doubled speed value. This should
>be easy to fix...
>
>If you want to impress your friends let your 80386 calculate 90% of
>a block, then press Ctrl-Break and then restart the client.
>
>
>Micha

Yup, same with the OS/2 one. I quit at 96-98% on my P-166 and got
around 7 mil. k/sec :) I've overcome the "bug" in the logfile analyzer
I wrote for RC5 clients two ways, first is a kludge, second seems a bit
more elegant and accurate. First way was to run a benchmark, add 5% and
set any result higher to the benchmark + 5%. Ugly, but it works. Second
is to look at the next entry (hopefully it will be the continuation),
and multiply the high result by the remaining percentage, like so:

[06/27/97 05:34:25 GMT] Block: 1168B8:50000000 being processed
.....10%.....20%.....30%.....40%.....50%.....60%.....70%...
[06/27/97 05:51:13 GMT] Shutdown message received - Block being saved.

[06/27/97 05:53:41 GMT] Block: 1168B8:50000000
being
processed
.....10%.....20%.....30%.....40%.....50%.....60%.....70%.....80%.....90%

....
[06/27/97 05:58:24 GMT] Completed block 1168B8:50000000 (268435456
keys)
                        283.670 seconds. [946294.84 keys/sec]

The client stopped at 76%, so, 924294.84 * 24% = 221830.56 keys/sec

Which is a bit more accurate. This one was sent to me by a kind soul,
and will be added to RC5Mail/2 in the next release, but your right, it
does make for some interesting results the way it stands! :)

Regards,

Dean Mills, DevBahn Archiver/Founder.

/* ------------------------------------------------------ */
/*          E-Mail address's have been ROT-13'd           */
/*               Death To The Mass Mailers!               */
/* ------------------------------------------------------ */
/*          DevBahn - OS/2 Programming Sanctuary          */
/*                qrionua at trbpvgvrf.pbz                   */
/*  http://www.geocities.com/SiliconValley/Heights/8867/  */
/* ------------------------------------------------------ */
/*       DevBahn - OS/2 Game Programming Sanctuary        */
/*             qrionua-tnzrf at trbpvgvrf.pbz                */
/*  http://www.geocities.com/SiliconValley/Heights/8678/  */
/* ------------------------------------------------------ */

----
To unsubscribe, send email to majordomo at llamas.net with 'unsubscribe rc5' in the body.



More information about the rc5 mailing list