FoundationDB cluster performance issue - Periods of high disk I/O and sustained high latency

I would suggest to experiment with splitting the clear ops across more transactions. Try 10 clears per tx. It might be of help.

See this thread where we faced some issues with clear Troubleshooting queue build up