Hello, I made a bash script [1] which runs the openssl speed test and prints to stdout the results (time to sign). In order to be able to run this you have to have bash and the kernel [2] from my repo compiled (branch smt_usched_bsd4). In order to see some results, you will need an intel with HT and at least 2 cores.(Note: if you have luck you could have the same results with the ht_enable as without it).
The first parameter is the number of times you want to run the tests (each test run for 20seconds - the test bellow took about 200 seconds) and the second the number of cores (if you have HT this should be to number of cpus / 2). The script will run *number_of_cores* simultaneous processes and each of them must run on a different core with ht_enable=1. Each process will have its own column. Ex: root@dbsd_64:~# ./openssl_bench.sh Usage: ./openssl_bench.sh number_of_tests number_of_cores Here is a test run on a Corei3(dual core with HT). The number of tests is 5. root@dbsd_64:~# ./openssl_bench.sh 5 2 ###### STARTING openssl speed rsa512 with kern.usched_bsd4.ht_enable=0 ###### no_smt11 no_smt12 ---------------------------------- 0.000105s 0.000106s 0.000060s 0.000060s 0.000060s 0.000059s 0.000060s 0.000059s 0.000060s 0.000060s ---------------------------------- ###### STARTING openssl speed rsa512 with kern.usched_bsd4.ht_enable=1 ###### smt11 smt12 ---------------------------------- 0.000059s 0.000059s 0.000060s 0.000060s 0.000060s 0.000059s 0.000060s 0.000060s 0.000060s 0.000060s ---------------------------------- Thanks, Mihai Carabas [1] http://leaf.dragonflybsd.org/~mihaic/openssl_bench.sh [2] https://github.com/mihaicarabas/dragonfly