Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-08-15 Thread jens
by building i ran in the same error described here .. [LEDE-DEV] kmod-udptunnel{4, 6} packages are empty (Was: Kernel symbol dependencies and KCONFIG usage for kernel packages)

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-08-09 Thread jens
On 04.08.2016 13:34, jens wrote: > [ X ] I have tried removing "sk_clear_memalloc(sock);" and > "sk_set_memalloc(sock->sk);" from socket.c, and the problem still > continued. > [ ] I have tried removing "sock->sk->sk_sndbuf = INT_MAX;" from > socket.c, and the problem still continued. we just wa

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-08-04 Thread jens
On 04.08.2016 10:15, Jason A. Donenfeld wrote: > Your prior communications have not been clear to me, and recently > somebody took the mailing list off the CC. In order to steer this > conversation back on a useful track, please check all that apply: > > [ X ] I have tried removing "sk_clear_memal

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-08-04 Thread Jason A. Donenfeld
Hello Jens, Your prior communications have not been clear to me, and recently somebody took the mailing list off the CC. In order to steer this conversation back on a useful track, please check all that apply: [ ] I have tried removing "sk_clear_memalloc(sock);" and "sk_set_memalloc(sock->sk);"

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-08-03 Thread René van Dorst
Hi Jens, I see I made a typo about hardware version. It is v1.8 not v1.08. LEDE version is Reboot (HEAD, r1178) of 29-july-2016. I ran a 2 hour test for you and it did not crash. May be not long enough? Results after around 2 hour testing udp iperf3 over wireguard TOP output: UDP over Wireguar

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-08-03 Thread jens
On 03.08.2016 08:48, René van Dorst wrote: > ... > I also tested wireguard on a router. TP-Link WR1043ND v1.08 with a > Atheros AR9132 400MHz cpu. > Running LEDE 28-july-2016, wireguard & iperf3 via packagemanager. so you do not observe crashing of the router like we do with the tp-link wr841Nv11

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-08-02 Thread René van Dorst
Hi Jens, I would like to share my results on a MIPS cpu. I also tested wireguard on a router. TP-Link WR1043ND v1.08 with a Atheros AR9132 400MHz cpu. Running LEDE 28-july-2016, wireguard & iperf3 via packagemanager. For my test I run wireguard and iperf3 on the same device on both sides. Oth

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-08-02 Thread Jason A. Donenfeld
Hi Jens, Thanks for the feedback. On Wed, Aug 3, 2016 at 1:39 AM, jens wrote: > and with wireguard source from 27.7. also including your suggestions. Okay, so I interpret this as you saying "I removed the sk_set_memalloc line, but that didn't fix the problem." Next test: remove the line "sock-

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-08-02 Thread jens
On 27.07.2016 13:05, Jason A. Donenfeld wrote: > On Wed, Jul 27, 2016 at 12:26 PM, Jens Viisauksena > wrote: >> It should however not lead to netifd outofmemory, load of 2.6 and the >> oomkiller berserking around at all... even if its not directly wg fault. > One thing to try would be removing t

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-07-29 Thread Jason A. Donenfeld
Woah! root@lede:/# opkg install kmod-wireguard wireguard-tools Installing kmod-wireguard (4.4.15+0.0.20160722-1) to root... Downloading http://downloads.lede-project.org/snapshots/targets/malta/le/packages/kmod-wireguard_4.4.15+0.0.20160722-1_mipsel_24kc.ipk. Installing kmod-udptunnel4 (4.4.15-1)

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-07-29 Thread Michael Gerlach
Hi Jason! I figured out how to run openwrt on qemu.. It seems it is just possible to run the malta target on mipsel - discribed here: http://aleph0.info/software/lisp-forth-openwrt/openwrt-on-qemu.html I tried ar71xx but had no luck to get things work.. So i just got the images from https://do

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-07-28 Thread Michael Gerlach
Hey Jason! I didn't run openwrt ar71xx targets in qemu yet.. ATM i am recompiling my qemu to be able to run mips on it, but i don't know if this will work anyway.. I will have a look at it and come back if i have something to work with. best regards, n3ph On Thu, Jul 28, 2016 at 01:48:39PM

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-07-28 Thread Jason A. Donenfeld
Hey, Do you guys have a good way of running your setup inside Qemu? I'd like to debug this issue a bit... Jason ___ WireGuard mailing list WireGuard@lists.zx2c4.com http://lists.zx2c4.com/mailman/listinfo/wireguard

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-07-27 Thread Michael Gerlach
Hey Jason! It was too late for me yesterday night so i wasn't able to write something on this. I know we have to reproduce this once again - i was not prepared to face something like this so we had no tools installed to check memsuage. Let us run this test well-prepared again and we may come

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-07-27 Thread Jason A. Donenfeld
On Wed, Jul 27, 2016 at 12:26 PM, Jens Viisauksena wrote: > It should however not lead to netifd outofmemory, load of 2.6 and the > oomkiller berserking around at all... even if its not directly wg fault. One thing to try would be removing these lines from src/socket.c: socket.c 386:sk_clear

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-07-27 Thread Jens Viisauksena
It should however not lead to netifd outofmemory, load of 2.6 and the oomkiller berserking around at all... even if its not directly wg fault. Yesterday there was no time to test fastd in such a setting, Similar test show 5 to 15mbs depending on used crypto in the past. But there we test laptop

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-07-27 Thread Jason A. Donenfeld
On Wed, Jul 27, 2016 at 12:10 PM, Jens Viisauksena wrote: > the small routers run fastd into the backbone. Is the performance of wireguard better or worse than fastd? Theoretically wireguard should be much faster, so if it isn't already so in practice, I'd like to optimize a bit.

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-07-27 Thread Jens Viisauksena
the mentioned tincd... We ran other tests on our backbone vms. There we build plain l2tpv3/batv15 on top and we got heavy promising results.  In short: plain we got there 980mbs, with wireguard some 700 and l2tpV3/batv15 on top 500mbs. we will report that soon as working alternative to tincd, w

Re: [WireGuard] LEDE / OpenWrt test - on TP-Link841Nv11 - 15MBs and crash

2016-07-27 Thread Jason A. Donenfeld
Hi Jens, Youch! That's pretty horrible. Is 15mb/s worse than what you get with tincd? A while ago Baptiste (attached) was working on a MIPS optimized implementation of ChaPoly. Baptiste -- what ever happened with that? Perhaps it's time we revive that project? About the crash -- it appears that