Disable LMDB read ahead on Windows#4961
Disable LMDB read ahead on Windows#4961RickiNano wants to merge 1 commit intonanocurrency:developfrom
Conversation
|
@RickiNano - Were you able to do any performance tests for read-ahead on Mac/Linux? I'm wondering if there's any benefit to keeping read-ahead enabled on Mac/Linux, since I'm guessing Nano is pretty heavy on random reads (except maybe when bootstrapping)?
https://stackoverflow.com/a/49354913
|
|
@qwahzi I don't own a Mac or Linux computer so I can't test that unfortunately. |
Test Results for Commit 5b388ebPull Request 4961: Results Test Case Results
Last updated: 2025-11-13 20:39:27 UTC |
LMDB's read-ahead feature works well on Linux and Mac, but causes excessive memory usage on Windows, consuming all
available RAM and making the node slow to a crawl after a few hours.
This PR disables read ahead for windows but maintains it on Mac and Linux