examples/vhost: fix performance