v25.1.0 #9544
Replies: 1 comment
-
|
What follows is an analysis of heap performance ran over several days against the v25.1.0-preview1 release. Cache Implementation Performance ReportRelease: v25.1.0-preview1 Test Duration: 48 hours (December 9-11, 2025) Test Type: Continuous multi-threaded load test OverviewThis report evaluates the posting list cache improvements introduced in PR #9515 through analysis of The single alpha cluster ran on an old, crusty Mac laptop, running Ubuntu 18.04.6 LTS Server: ubuntu-laptop - Linux 5.4.0-150-generic
CPU: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz (8 cores)
Memory: 7.7GThe alpha was started with the cache superflag set to The cluster was loaded with the infamous 1 million movies dataset and against it ran a 2-day load During the load test, heap profiles were collected at various stages of the cluster's operation. At the conclusion of the tests, prometheus metrics were collected--summaries of which are reported below. Test ResultsMemory StabilityThe system demonstrated exceptional memory stability over the 48-hour test period:
Result: Zero memory growth over 2 days. The slight decrease from 2.545 GiB to 2.526 GiB Heap Analysis
Result: Heap stabilized at 1.35 GB after initial warmup and remained constant throughout the Allocation EfficiencyOver 48 hours of continuous operation:
Result: Highly efficient allocation patterns with aggressive GC preventing memory accumulation. Cache Hit RatioMeasured via Prometheus endpoint after 48 hours:
Result: Exceptional cache effectiveness with only 0.03% of requests requiring disk access. Workload CharacteristicsTotal operations processed over 48 hours:
Result: Cache performed exceptionally under sustained, realistic multi-threaded load with Storage Layer PerformanceBadger storage engine metrics after 48 hours:
Result: Posting list cache works in harmony with Badger's block cache for optimal I/O System StabilityRaft consensus and system health indicators:
Result: Rock-solid cluster stability with no consensus issues or operational anomalies. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We're pleased to announce the release of v25.1.0. Other than a fix to the
dgraph importcommand, this release remains unchanged from the v25.1.0-preview1 that was released last week.A big thanks to @xqqp for the posting list caching fixes that have greatly improved the heap performance of Dgraph. See an analysis that we completed prior to this release in the comments below. If you'd like to have profiles of the smoke tests, reach out to me @matthewmcneely, and I can provide them.
For the blow-by-blow changes introduced in #9515 and #9526, see the comments in those PRs.
Important note: The default for the cache superflag,
--cache "size-mb=xxxx;"is now set to 4GB (4096Mb), up from 1G in v25. But as discussed in PR 9515, for most deployments this default actually improves the cache performance in this release, again a full analysis of the heap performance of this release can be found in the comments below. The only situation in which this change to the default cache size might be critical is one in which you are trying to run Dgraph in extremely limited RAM deployments. If that's your situation, reading the analysis below is recommended.What's Changed
New Contributors
Full Changelog: v25.0.0...v25.1.0
This discussion was created from the release v25.1.0.
Beta Was this translation helpful? Give feedback.
All reactions