Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2021 22:12:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs
Message-ID:  <bug-254333-7501-DEqh2kynVr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254333-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254333-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=3D254333

--- Comment #40 from commit-hook@FreeBSD.org ---
A commit in branch stable/11 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D254b56ac2a9ee43d10b0a4f8eeb20b722=
bb7fd74

commit 254b56ac2a9ee43d10b0a4f8eeb20b722bb7fd74
Author:     Richard Scheffenegger <rscheff@FreeBSD.org>
AuthorDate: 2021-04-01 08:00:32 +0000
Commit:     Richard Scheffenegger <rscheff@FreeBSD.org>
CommitDate: 2021-04-16 21:33:41 +0000

    tcp: For hostcache performance, use atomics instead of counters

    As accessing the tcp hostcache happens frequently on some
    classes of servers, it was recommended to use atomic_add/subtract
    rather than (per-CPU distributed) counters, which have to be
    summed up at high cost to cache efficiency.

    PR: 254333
    MFC after: 2 weeks
    Sponsored by: NetApp, Inc.
    Reviewed By: #transport, tuexen, jtl
    Differential Revision: https://reviews.freebsd.org/D29522

    (cherry picked from commit 529a2a0f2765f6c57c50a5af6be242c03bf714e3)

 sys/netinet/tcp_hostcache.c | 24 +++++++++++-------------
 sys/netinet/tcp_hostcache.h |  2 +-
 2 files changed, 12 insertions(+), 14 deletions(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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