Re: need: port openvpn into osv

2018-04-27 Thread Geraldo Netto
Hello Maxul, Waldek/Nadav might provide a more accurate information but I don't think we have tap on OSv which means we would need to port ourselves the implementation I guess the easiest path is to borrow code from FreeBSD or any other project with a permissive license (we cannot link GPL code

need: port openvpn into osv

2018-04-27 Thread lmy2010lmy
Hi all, I enjoy the performance benefit of OSv, especially the No SpinLock and Van Jacobson implementation. I wish to establish the OSv image into the real cloud. My target app is OpenVPN. I try porting it into the OSv. OpenVPN deals with a tap device provided by Linux. Does anyone have any

Re: Build failed in Jenkins: osv-build-nightly #1451

2018-04-27 Thread Waldek Kozaczuk
My theory might be right. I ran simple experiment by adding this before first assert in test_when_ring_gets_full test: sched::thread::pin(sched::cpus[0]); and then before assert(!ring.push(5)); sched::thread::pin(sched::cpus[1]); I received this error: OSv v0.24-519-g2a7a27b eth0:

Re: Build failed in Jenkins: osv-build-nightly #1451

2018-04-27 Thread Waldek Kozaczuk
This time tst-unordered-ring-mpsc failed (line 60). I briefly looked at it and it seems to me that the test makes an assumption that it will be executed on the same CPU. The unordered_ring_mpsc structure holds vector for each cpu. But what if the thread running the test get migrated to