Re: high sofnet load with gif(4) and icmp

2018-04-05 Thread Marc Peters
On Thu, Apr 05, 2018 at 02:38:36PM +0200, Alexander Bluhm wrote: > OK bluhm@ > > On Thu, Apr 05, 2018 at 09:14:32AM +1000, David Gwynne wrote: > > Index: if_gif.c > > === > > RCS file: /cvs/src/sys/net/if_gif.c,v > > retrieving revisi

Re: high sofnet load with gif(4) and icmp

2018-04-05 Thread Job Snijders
Hi, I'm optimistic about this patch: where previously running traffic through this router over gif tunnels would result in memory exhaustion, the problem now seems gone. memory graph: http://instituut.net/~job/screenshots/ee7f0fa5304032a2.png Should perhaps an errata / syspatch blob be prepared f

Re: high sofnet load with gif(4) and icmp

2018-04-05 Thread Alexander Bluhm
OK bluhm@ On Thu, Apr 05, 2018 at 09:14:32AM +1000, David Gwynne wrote: > Index: if_gif.c > === > RCS file: /cvs/src/sys/net/if_gif.c,v > retrieving revision 1.113 > diff -u -p -r1.113 if_gif.c > --- if_gif.c 15 Mar 2018 21:01:18 -00

Re: high sofnet load with gif(4) and icmp

2018-04-04 Thread Christian Barthel
David Gwynne writes: > On Wed, Apr 04, 2018 at 08:27:52PM +0200, Christian Barthel wrote: >> Hello, >> >> After upgrading to 6.3, I've encountered a problem while using gif(4): >> >> Pre-Cond: fresh install of OpenBSD 6.3 >> # cat /etc/hostname.gif0 >> tunnel 10.0.0.1 10.0.0.2 >> 10.0.0.1 10.

Re: high sofnet load with gif(4) and icmp

2018-04-04 Thread David Gwynne
On Wed, Apr 04, 2018 at 08:27:52PM +0200, Christian Barthel wrote: > Hello, > > After upgrading to 6.3, I've encountered a problem while using gif(4): > > Pre-Cond: fresh install of OpenBSD 6.3 > # cat /etc/hostname.gif0 > tunnel 10.0.0.1 10.0.0.2 > 10.0.0.1 10.0.0.2 > # sh /etc/netstart.sh gif

high sofnet load with gif(4) and icmp

2018-04-04 Thread Christian Barthel
Hello, After upgrading to 6.3, I've encountered a problem while using gif(4): Pre-Cond: fresh install of OpenBSD 6.3 # cat /etc/hostname.gif0 tunnel 10.0.0.1 10.0.0.2 10.0.0.1 10.0.0.2 # sh /etc/netstart.sh gif0 # ping 10.0.0.2 Result & Behavior: the kernel thread softnet starts running on th