ethpipe.c: tuning performance