]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: task: use regular eb32 trees for the run queues
authorWilly Tarreau <w@1wt.eu>
Thu, 16 Jun 2022 14:28:01 +0000 (16:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 Jul 2022 17:15:14 +0000 (19:15 +0200)
commit319d136ff9f0832da980e4c210bfac9e0fdd2900
treecf768e759767cdc6525967c807e1d450bfe51c7a
parentc958c70ec8bca6f816cf93f58e9089b01cc94d33
MEDIUM: task: use regular eb32 trees for the run queues

Since we don't mix tasks from different threads in the run queues
anymore, we don't need to use the eb32sc_ trees and we can switch
to the regular eb32 ones. This uses cheaper lookup and insert code,
and a 16-thread test on the queues shows a performance increase
from 570k RPS to 585k RPS.
include/haproxy/task-t.h
include/haproxy/task.h
src/activity.c
src/task.c