Skip to contentSkip to conversation

openvpn FreeBSD kqueue

Openvpn-devel Roman Vasilyev 2 participants 4 messages Jan 17, 2011 – Feb 7, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I want to try FreeBSD with OpenVPN on high load, checked event.c фтв found that it can work only with epoll, just want to ask is it possible to use kqueue in openvpn? If not, what people thinking if I'll add this support there?

#1 lore raw

Hi,

Quoted 4 lines · Roman Vasilyev

I want to try FreeBSD with OpenVPN on high load, checked event.c ??? found that it can work only with epoll, just want to ask is it possible to use kqueue in openvpn?
If not, what people thinking if I'll add this support there?

We'd need to see some profiling that shows that the change is making a noticeable performance (or load) difference. This sort of system dependent code can be a burden for a project, because it is hard to maintain if you don't develop on FreeBSD - but if it's a significant gain, it could be worth the effort.

(Speaking my personal opinion here, not for all the developers)

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#2 lore raw

after vpn deployment on FreeBSD without kqueue support, I want to add code for kqueue and will send here patches and profiling results.

Quoted 20 lines · Gert Doering

Hi,

Quoted 5 lines · Roman Vasilyev

I want to try FreeBSD with OpenVPN on high load, checked event.c ??? found that it can work only with epoll, just want to ask is it possible to use kqueue in openvpn?
If not, what people thinking if I'll add this support there?

We'd need to see some profiling that shows that the change is making a noticeable performance (or load) difference. This sort of system dependent code can be a burden for a project, because it is hard to maintain if you don't develop on FreeBSD - but if it's a significant gain, it could be worth the effort.

(Speaking my personal opinion here, not for all the developers)

gert

#3 lore raw
In reply to Roman Vasilyev

Hi,

seems like I had email problems, and lost openvpn mail list, just want to double check that my patch was sent here.

Quoted 4 lines · Roman Vasilyev

Hi,

I want to try FreeBSD with OpenVPN on high load, checked event. found that it can work only with epoll, just want to ask is it possible to use kqueue in openvpn? If not, what people thinking if I'll add this support there?