Instrumenting the alg_handling routine so that the total time to process the batch is displayed.  This should be the limiting factor on throughput.  Transition to Unix domain sockets should decrease this significantly.