OpenBSD/relayd performance

This benchmark compares the performance of OpenBSD relayd over different releases. This graph below shows the benchmarks from OpenBSD 6.0 to 6.5.

relayd benchmark graph

Configuration

/etc/relayd.conf

relay "tcp" {
	listen on 127.0.0.1 port 1234
	forward to destination
}

/etc/pf.conf

...
pass in on ix0 proto tcp from any to any divert-to 127.0.0.1 port 1234
...