2 benchmarking tools (code and output is resdable and self-evident) attached for you to use / comment on/ improve.
python uses pyrad module, C uses libradius from standard BSD install (a static version exists for linux). comments appreciated.
thread_test_linear.py
Description: thread_test_linear.py
thread_test.c
Description: thread_test.c