Ivan Bessonov created IGNITE-21234:
--------------------------------------
Summary: Checkpoint read lock waits for checkpoint write unlock
sometimes
Key: IGNITE-21234
URL: https://issues.apache.org/jira/browse/IGNITE-21234
Project: Ignite
Issue Type: Improvement
Reporter: Ivan Bessonov
Assignee: Ivan Bessonov
In a situation where we have "too many dirty pages" we trigger checkpoint and
wait until it starts. This can take seconds, because we have to flush
free-lists before acquiring checkpoint write lock. This can cause severe dips
in performance for no good reason.
I suggest introducing two modes for triggering checkpoints when we have too
many dirty pages: soft threshold and hard threshold.
* soft - trigger checkpoint, but don't wait for its start. Just continue all
operations as usual. Make it like a current threshold - 75% of any existing
memory segment must be dirty.
* hard - trigger checkpoint and wait until it starts. The way it behaves right
now. Make it higher than current threshold - 90% of any existing memory segment
must be dirty.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)