Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2021 19:00:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 256217] [tcp] High system load because of interrupts with RACK
Message-ID:  <bug-256217-7501-CsauoAEZGP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256217-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256217-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256217

--- Comment #5 from Christos Chatzaras <chris@cretaforce.gr> ---
To avoid reboot I did this which I believe is the same:

sysctl net.inet.tcp.functions_default
net.inet.tcp.functions_default: freebsd

kldload tcp_rack

sysctl net.inet.tcp.functions_default=3Drack

I restart all services so new connections (mostly nginx) use "rack".

I wait for few minutes and interrupts increase to ~5%

sysctl net.inet.tcp.functions_default=3Dfreebsd

tcpdrop -S rack

Interrupts decrease to ~ 0.3% (looks like less connections =3D less interru=
pts)

New connections still use "rack", so I restart again all services.

Now all connections use "freebsd" and interrupts decrease to ~ 0.0%

----

Also something I notice is that during the issue if I run "sysctl
kern.eventtimer.timer=3DHPET" then interrupts immediately increase. If I run
"sysctl kern.eventtimer.timer=3DLAPIC" the interrupts immediately decrease.

----

So it looks like that active rack connections cause the issue.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256217-7501-CsauoAEZGP>