Squeezing the last bits of performance out of I2p
Posted: 11 Sep 2018 10:24
This tutorial shows you how to really optimize your libjbigi.
Background: GMP uses generic build parameters for each hardware architecture that you can further optimize for your specific gear.
First shut down any process consuming more than 1% CPU as critical timing loops will be involved.
Step 1
Follow instructions here: https://geti2p.net/de/misc/jbigi to build a static jbigi. Skip step 5 and 8. The last lines of build.sh may be copied to a separate test script for repeated tests. Step 9 is incorrect. Follow the instructions spit out by build.sh. Save test results for further reference.
Step 2
cd gmp-6.1.2
bash configure
make
cd tune
make tuneup
./tuneup
Save the output of tuneup. At the beginning the location of gmp_param.h is noted that will be used for building. Replace the contents of that gmp_param.h by the tuneup output between the comment lines.
cd ..
make distclean
cd ..
bash build.sh
Cool, eh?
Background: GMP uses generic build parameters for each hardware architecture that you can further optimize for your specific gear.
First shut down any process consuming more than 1% CPU as critical timing loops will be involved.
Step 1
Follow instructions here: https://geti2p.net/de/misc/jbigi to build a static jbigi. Skip step 5 and 8. The last lines of build.sh may be copied to a separate test script for repeated tests. Step 9 is incorrect. Follow the instructions spit out by build.sh. Save test results for further reference.
Step 2
cd gmp-6.1.2
bash configure
make
cd tune
make tuneup
./tuneup
Save the output of tuneup. At the beginning the location of gmp_param.h is noted that will be used for building. Replace the contents of that gmp_param.h by the tuneup output between the comment lines.
cd ..
make distclean
cd ..
bash build.sh
Cool, eh?