Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2018 16:53:20 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-stable@freebsd.org
Subject:   =?UTF-8?Q?11-STABLE_still_livelocks_under_combined_network_&_disk_a?= =?UTF-8?Q?ctivity_=e2=80=94_patch_from_D7538_helps?=
Message-ID:  <db9b6445-d34b-4ad2-7dc2-73a1bc13127d@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--lmV8o2KfPLHJV1SQIRHVEWninIHlm0SsZ
Content-Type: multipart/mixed; boundary="KAQoNDMBKdr384oUdAEnIXhlNTSK3uv2S";
 protected-headers="v1"
From: Lev Serebryakov <lev@FreeBSD.org>
Reply-To: lev@FreeBSD.org
To: freebsd-stable@freebsd.org
Message-ID: <db9b6445-d34b-4ad2-7dc2-73a1bc13127d@FreeBSD.org>
Subject: =?UTF-8?Q?11-STABLE_still_livelocks_under_combined_network_&_disk_a?=
 =?UTF-8?Q?ctivity_=e2=80=94_patch_from_D7538_helps?=

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


 My home server (and torrent box) is rather beefy (E3-1220v3, 16GiB RAM,
radiz5, SSD L2ARC), NIC is igb (I210).

 This server expieince live-lock when there is fast and large download
with multiple streams (some very popular large torrent). In this state
it is not accessible by SSH, USB is failed (UPS, mouse and keyboard are
flaky), existing ssh connection is not simply "slow" but almost
unusable: 1-2 keypresses PER MINUTE, etc.

 top(1) shows (with 1 "frame" per minute update) that 100% of CPU is
consumed by "intr{irqXXX: igb0:que X}" in this state, memory is really
low (less than 100MiB) and pmc-based stats shows, that it is very hard
lock congestion somewhere in memory subsystem.

 As soon as download is finished, everything become normal again.

 Please note, that it is 100Mb/s download at max, not 1Gb/s!

  I've tried to tune different sysctls and even tuned UDP buckets, but
it doesn't help.

 This problem could be solved by https://reviews.freebsd.org/D7538.
Maybe, it could be integrated to system?

 Or there are other solutions?

--=20
// Lev Serebryakov


--KAQoNDMBKdr384oUdAEnIXhlNTSK3uv2S--

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

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

iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAlsEINBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5
NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c
R4+cSw/+N+jZw5QY7z62g83/Zz30ronsWGycNLB/QPa9baFw/u+wuiEWD4tQfBcp
xlgSQopqyW3ZGUIpH01mASBAOk+bZT3idd+lgyRXerFQSxf8rzZH13CtwhbciuZq
fqFgwY/K8/sM0YFd9EEt06sDuBoFaAfJUG6AVt/78poKhWlEFHJTk+3mPl+MTiww
bNyJyIVAfbzLISMLOKYESNoNA9P//w7KKBmco3xHvYNYTjTcYyVy/bZA7FON2B67
oXtFoObwtEKF9JpzNRmR5OE5j11omsFMO9pnNw3jSl4Gwu2TAT8snInvWSuIv7+w
y7pIxReO+0j7VJj7R/NEMuTXdPjAf77WQe1MhbqFswEc5gQVd3U35GNCJ27HdDvs
6mIphCwa9yL8ayj20TZ/0T/VCyutJhAY92+0E+RJ/gfOk66oWMyD2qcxkLmkkOpA
qBJO1guUd9x5+JaJXzBBBrfRdL0Ld2sNnOr1wMpNpyX0SxVJoHWOTySH/oqCQtAc
LmTbgGGwsjj53tIodSNS87n8fRX65cET3i+o3yn5/aoZ2UIbS8C0lzPifn11XnfO
3R7o41wv9ikZGdp7VNwIJEeedNYjuw7UR8tvvYZylgbDLQBn7AyZprddLVTj75qj
bcrUOcu6PiYxVyOJXVHlF+/UdkXymbS9P+ylYXMTMCFs+BHIYyI=
=I9KO
-----END PGP SIGNATURE-----

--lmV8o2KfPLHJV1SQIRHVEWninIHlm0SsZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?db9b6445-d34b-4ad2-7dc2-73a1bc13127d>