aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/zencore/iobuffer.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 490a3e3c6..71fe831f6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
- Improvement: Reduce memory buffer allocation in BlockStore::IterateBlock
- Improvement: Tweaked BlockStore::IterateBlock logic when to use threaded work (at least 4 chunks requested)
- Improvement: Remove overhead of verifying oplog presence on disk for "getchunks" rpc call in project store
+- Improvement: Increase limit where we switch from simple read of IoBuffer file to mmap
- Bugfix: CasContainerStrategy::IterateChunks could give wrong payload/index when requesting 1 or 2 chunks
## 5.5.16
diff --git a/src/zencore/iobuffer.cpp b/src/zencore/iobuffer.cpp
index 3d9d6706a..3b5c89c3e 100644
--- a/src/zencore/iobuffer.cpp
+++ b/src/zencore/iobuffer.cpp
@@ -289,7 +289,7 @@ IoBufferExtendedCore::Materialize() const
return;
}
- const size_t DisableMMapSizeLimit = 0x1000ull;
+ const size_t DisableMMapSizeLimit = 0x2000ull;
if (m_DataBytes < DisableMMapSizeLimit)
{