* Robert Harley's ECDLP-89 program
@ 1997-12-26 5:00 Edward Lee
0 siblings, 0 replies; only message in thread
From: Edward Lee @ 1997-12-26 5:00 UTC (permalink / raw)
If you are running or are considering running Robert Harley's ECDLP-89
program at full speed on your Alpha computer and are interested in milking
the last bit of performance out of your computer, then you might consider
using the -s compile switch to strip out the debugging information from the
executable. The theory is that stripping out the debugging information
will decrease the memory footprint of the ecdlp program and make it more
likely that more of the ecdlp program will fit within the level 1 on-chip
processor cache of the Alpha chip. Robert's example for compiling the
ecdlp program is:
gcc -O4 ecdlp-89.c -o ecdl -DFROM=somebody@somewhere
Here is my suggested change:
gcc -O4 -s ecdlp-89.c -o ecdl -DFROM=somebody@somewhere
or
gcc -O4 -s ecdlp-89.c -o ecdl -DBATCH -DFROM=somebody@somewhere
if your Alpha computer is not directly connected to the Internet.
I am using a 533Mhz 21164PC processor which has a 16KB direct-mapped L1
cache on-chip and am getting about 311,625 iterations per second. This is
an increase of about 8,100 iterations per second with the -s switch, which
works out to about 699,840,000 extra iterations per day for my computer
alone. I notice that my computer is creeping past other individual's
computers on the counter list. People who have Alpha processors with more
than 16KB of L1 cache may not notice a difference.
I sent an email message to Robert Harley suggesting that he change the
references to puts("...") to printf("...\n") in the ecdlp-89.c program,
since printf() is already necessary for the main output of the program and
contains the functionality of puts(). Having both functions in the program
unnecessarily increases the size of the executable and potentially slows
the program down by pushing more speed-critical code out of L1 cache.
I am running the ecdlp program with a command similar to the following:
nice -n -20 ./ecdl >log.txt
I periodically log in to a different session by pressing ALT F2, in order
to execute mcopy to copy the log.txt file to a floppy disk, log out, and
then press ALT F1 to go back to the number-crunching session.
I have also executed renice to lower the priorities of other non-essential
processes in the system.
-Ed L
If you are interested in joining the challenge, see:
http://www.certicom.com/chal/contents.htm
http://pauillac.inria.fr/~harley/ecdl2/
I had to get the ecdlp-89.c program from the mirror site that is mentioned
in a ReadMe file at Robert's site.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-12-26 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-26 5:00 Robert Harley's ECDLP-89 program Edward Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox