Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2018 15:03:03 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Kevin Bowling <kevin.bowling@kev009.com>
Cc:        Eugene Grosbein <eugen@grosbein.net>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: [REGRESSION] Fresh CURRENT consume much more CPU on network traffic (vlans + routing + ipfw with NAT)
Message-ID:  <ec339313-9465-a09d-f1d9-da56d485479e@FreeBSD.org>
In-Reply-To: <CAK7dMtCYO2ae7phBeHAk7w7TeB1_LxZVX6SeXCF2jxk9_du-0w@mail.gmail.com>
References:  <6d8b301b-8ee9-0e8b-80b5-6aced15ca843@FreeBSD.org> <5B4DA0B0.8020302@grosbein.net> <eff19579-4c09-8530-1eaf-62185315be7d@FreeBSD.org> <CAK7dMtCYO2ae7phBeHAk7w7TeB1_LxZVX6SeXCF2jxk9_du-0w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--j59rn4Z6KNVurcQB50qq83CvGbDimrVFY
Content-Type: multipart/mixed; boundary="CfmmXZykPC9weUE6VwzftovcT6HgSjQV2";
 protected-headers="v1"
From: Lev Serebryakov <lev@FreeBSD.org>
Reply-To: lev@FreeBSD.org
To: Kevin Bowling <kevin.bowling@kev009.com>
Cc: Eugene Grosbein <eugen@grosbein.net>,
 FreeBSD Net <freebsd-net@freebsd.org>
Message-ID: <ec339313-9465-a09d-f1d9-da56d485479e@FreeBSD.org>
Subject: Re: [REGRESSION] Fresh CURRENT consume much more CPU on network
 traffic (vlans + routing + ipfw with NAT)
References: <6d8b301b-8ee9-0e8b-80b5-6aced15ca843@FreeBSD.org>
 <5B4DA0B0.8020302@grosbein.net>
 <eff19579-4c09-8530-1eaf-62185315be7d@FreeBSD.org>
 <CAK7dMtCYO2ae7phBeHAk7w7TeB1_LxZVX6SeXCF2jxk9_du-0w@mail.gmail.com>
In-Reply-To: <CAK7dMtCYO2ae7phBeHAk7w7TeB1_LxZVX6SeXCF2jxk9_du-0w@mail.gmail.com>

--CfmmXZykPC9weUE6VwzftovcT6HgSjQV2
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 19.07.2018 8:39, Kevin Bowling wrote:

 I'll give it a try tonight. Should I set new sysctl to 1 or 0?

> This sounds like a known quirk of the Atom CPU architecture and iflib
> -- can you try this patch https://reviews.freebsd.org/D16302 it should
> help specifically on your hardware.
>=20
> Regards,
> Kevin
>=20
> On Tue, Jul 17, 2018 at 6:03 AM, Lev Serebryakov <lev@freebsd.org> wrot=
e:
>> On 17.07.2018 10:54, Eugene Grosbein wrote:
>>
>>>>  I have "SOHO" router on Atom D2500 with FreeBSD CURRENT. It runs
>>>> CURRENT for very long time (from 11-CURRENT times), and recently it
>>>> start to consume much more CPU on same traffic =E2=80=94 to the poin=
t when it
>>>> becomes unresponsive in shell (via ssh, not local console).
>>>>
>>>>  I have rather complex ipfw ruleset, but this ruleset is the same fo=
r
>>>> many years.
>>>>
>>>>  Revisions before r333989 worked normally, I never seen any problem =
with
>>>> shell, no matter how much traffic is processed
>>>>
>>>>  Revision r334649 with same configuration, same firewall ruleset, et=
c.,
>>>> becomes completely unresponsive under network load (pure transit tra=
ffic).
>>>>
>>>>  when system is unresponsive I see this in `top -SH`
>>>>
>>>> 100083 root -76 - 0K   272K -       1 291.8H  95.31% kernel{if_io_tq=
g_1}
>>>> 100082 root -76 - 0K   272K -       0 297.7H  95.20% kernel{if_io_tq=
g_0}
>>>>
>>>>  And it is new to me.
>>>
>>> I'm sure you will get it solved more quick if you perform bisection o=
f revision
>>> even though it will take time.
>>  I'll try latest version (seems here were a lot of commit to iflib aft=
er
>> my revision) and after that try yo bisect.
>>
>> --
>> // Lev Serebryakov
>>


--=20
// Lev Serebryakov


--CfmmXZykPC9weUE6VwzftovcT6HgSjQV2--

--j59rn4Z6KNVurcQB50qq83CvGbDimrVFY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAltQffdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5
NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c
R4/GQQ/+O/aUAqmJiyKY3TuXdn1MJZXXeYCDscIHLpTKZS9KVKuDgZgigOvY4MHc
AjV9WfWZ5U+6ktNXvfoD2srI53mTMkmGCol7ErbxegTOHCCsYMUIUbxxfuwMAqhG
doq0As/TGPOiOVIyGUD54c8XBFp0xlk6pIreiBUpPFovVpd9vdtXuARj90b0/KwY
NY5PEA+Q4Hif+YnWPtMpJXLKsaEUF2kQDT4rTp/QjnR8qs9tWWP0fg49jVIkYA7D
CeuF3fyf59NZGsai9kcYhG14CylqkOCs4DoPMJ47YLrlGqJw69PQvnEgB0k/Lkln
mpP4EREusdhPrQaoG05NKhcDCGrec5wL1hxaiUABsZ1Drrlm+rOZd+SNh6AVApI/
Bu3G0H8qPtKL3o9EK/UsICUKAt3eZh4DBdMR9AW8nfYQhUOsJAzq+R0Et4mz8Lyq
AmGLr9yWW3os2liAffF+hMuF3ExzgxLhJChR7EJtURxU2EkLa/KU/CQhkJSWnmfs
HiAwg1zeyEf+5MOg1y1Vfjvq2ow8JVBNBH1qlEHHDUM9ymSsk11arjh973OWGfIg
uPzNk7LXYh/UALIcA9jZKOSGa307PZVgjVIpL0geCgnGo/x1t9zFugYyRA6b8bEf
evOPuEl56gB3ZhDVOuzsBDBmI1XBy18ACkWQgcHn884nH6BPRhQ=
=wU/3
-----END PGP SIGNATURE-----

--j59rn4Z6KNVurcQB50qq83CvGbDimrVFY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ec339313-9465-a09d-f1d9-da56d485479e>