diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-04 10:57:22 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-04 10:57:22 +0300 |
| commit | aa2f547cf2b6136dc60f541f30c27a426ec7c6c8 (patch) | |
| tree | 6180691fc7a0753f82c16aefdbf7da078928a3ae /CLAUDE.md | |
| parent | becf8a2ea235ee37adceabc1733ae8727cec5488 (diff) | |
refactor: change turbo boost to be enabled by default
- Changed environment variable from DTAIL_TURBOBOOST_ENABLE to DTAIL_TURBOBOOST_DISABLE
- Changed config field from TurboModeEnable to TurboBoostDisable
- Turbo boost is now enabled by default and must be explicitly disabled
- Updated all code references, documentation, and examples
- No change in functionality, only inverted the boolean logic
This makes turbo boost opt-out rather than opt-in, providing better
default performance for large files while allowing users to disable
it for scenarios where it adds overhead.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -115,7 +115,7 @@ make profile-help ## Known Limitations ### Turbo Mode and MapReduce Operations -Turbo mode (DTAIL_TURBOBOOST_ENABLE) provides performance optimizations for both direct output operations (cat, grep, tail) and MapReduce operations when running in server mode. +Turbo boost mode is enabled by default and provides performance optimizations for both direct output operations (cat, grep, tail) and MapReduce operations when running in server mode. It can be explicitly disabled via DTAIL_TURBOBOOST_DISABLE=yes or TurboBoostDisable in the config file. **Technical Details:** - For cat/grep/tail: Turbo mode bypasses channels for direct writing @@ -136,7 +136,7 @@ When turbo mode is enabled and using dserver: - Improved synchronization in both regular and turbo aggregate implementations **Best Practices for High-Concurrency MapReduce:** -1. Enable turbo mode for server deployments: `export DTAIL_TURBOBOOST_ENABLE=yes` +1. Turbo boost is enabled by default. To disable if needed: `export DTAIL_TURBOBOOST_DISABLE=yes` 2. Increase MaxConcurrentCats in the server configuration to match workload 3. Use server mode for large-scale MapReduce operations 4. Monitor logs for performance metrics |
