Align THP advice in createLatencyReport with checkTHPEnabled#3947
Conversation
The latency report told users to run 'echo never > .../enabled' to disable THP, but checkTHPEnabled recommends 'echo madvise' and notes that 'madvise' or 'never' are both valid. Make createLatencyReport consistent: suggest 'madvise' in the command and mention both values in the accompanying note. This advice was originally added in 1461f02. Signed-off-by: Binbin <binloveplay1314@qq.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR updates the diagnostic advice in Valkey's LATENCY DOCTOR feature. The recommended kernel setting for Transparent Huge Pages changes from ChangesTHP Recommendation Update
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Infer (1.2.0)src/latency.csrc/latency.c:37:10: fatal error: 'hdr_histogram.h' file not found ... [truncated 682 characters] ... Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## unstable #3947 +/- ##
============================================
- Coverage 76.66% 76.63% -0.04%
============================================
Files 162 162
Lines 80733 80733
============================================
- Hits 61897 61871 -26
- Misses 18836 18862 +26
🚀 New features to boost your workflow:
|
The latency report told users to run 'echo never > .../enabled' to
disable THP, but checkTHPEnabled recommends 'echo madvise' and notes
that 'madvise' or 'never' are both valid. Make createLatencyReport
consistent: suggest 'madvise' in the command and mention both values
in the accompanying note.
This advice was originally added in 1461f02.