On Thu, Jul 23, 2015 at 05:40:54PM +0200, nusenu wrote:
> as we have learned from Nicholas, OpenBSD will stay with libevent
> 1.4.x for the time being.
> 
> Do you have any plans to make the Tor port use libevent 2.x from
> ports?
> 
> Background: Tor on OpenBSD using libevent 1.4.15 is significantly
> "slower" (less throughput) compared to other OSes with libevent 2.x on
> the same machine. I don't know whether libevent is related to this
> issue in any way but I simply wanted to see whether Tor with libevent
> 2.x on OpenBSD is any different in this regard compared to Tor with
> libevent 1.4.x on OpenBSD.

I suspect it'll be a noticeable difference, maybe a big one. Most of the
Libevent performance improvements I've heard of involve systems with
many connections, and exit nodes have thousands.

> If you managed to build Tor on -stable with libevent 2.x from ports
> I'm also happy to try any custom patches you might have applied.

It may be easier to get upstream to use pkg-config first. I'm planning
to look at their autoconf script and open a ticket today.

That said, I think they're phasing out Libevent 1.x support, so we can't
wait too long.

Reply via email to