summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2023-10-10 18:04:48 -0400
committerDavid Teigland <teigland@redhat.com>2023-10-12 15:21:00 -0500
commita470cb2a06e4cc6b8a5011b0c8da18705429120b (patch)
treeca3ebfd1ec52ce2ebe04861b001684d5c7fc92f5 /tools/perf/scripts/python
parent6212e4528b248a4bc9b4fe68e029a84689c67461 (diff)
dlm: slow down filling up processing queue
If there is a burst of message the receive worker will filling up the processing queue but where are too slow to process dlm messages. This patch will slow down the receiver worker to keep the buffer on the socket layer to tell the sender to backoff. This is done by a threshold to get the next buffers from the socket after all messages were processed done by a flush_workqueue(). This however only occurs when we have a message burst when we e.g. create 1 million locks. If we put more and more new messages to process in the processqueue we will soon run out of memory. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions