On 15 Dec 2021, at 21:07, Pierre Rogier <progier(a)redhat.com>
wrote:
To confirm the fact that the connection is really large:
(gdb) p sizeof (Connection)
$205 = 456
About pin a connection to a constable, the interest is a better cache affinity because we
always be using the same polling thread (but that is mitigated by the fact that the
connection is also handled by the working threads)
And the drawback is that it is more difficult to spread the load on the threads
I'd suspect we could benefit by cleanup of that structure.
Also, we have a lot of pointer derefs anyway, so we pretty well blow cache affinity on
that alone. Linked lists aren't nice for that.
--
Sincerely,
William Brown
Senior Software Engineer, Identity and Access Management
SUSE Labs, Australia