When the host leaves these unset, the booter now sets
BARE_OS_SHELL_STREAMING=1, BARE_OS_SHELL_STREAMING_MULT=2, BARE_OS_PIPELINE_MAX_BYTES (512 MiB), and BARE_OS_PIPELINE_MAX_LINES (2M) so the high-throughput ~512 MiB burst profile does not require pre-launch exports. Align getconf Tier-1 statics with those bases; note legacy rc.profile exports; refresh handbook, environment appendix, cookbook, and bare-os-booter CHANGELOG.
This commit is contained in:
@@ -319,14 +319,24 @@ export function getBareOsPipelineLimits(env) {
|
||||
'BARE_OS_PIPELINE_MAX_LINES',
|
||||
DEFAULT_PIPELINE_MAX_CAPTURE_LINES
|
||||
)
|
||||
const effectiveBytes = Math.floor(baseBytes * mult)
|
||||
const effectiveLines = Math.floor(baseLines * mult)
|
||||
return {
|
||||
maxStages: parse(
|
||||
'BARE_OS_PIPELINE_MAX_STAGES',
|
||||
DEFAULT_PIPELINE_MAX_STAGES
|
||||
),
|
||||
maxBytes: Math.min(Math.floor(baseBytes * mult), absMaxBytes),
|
||||
maxLines: Math.min(Math.floor(baseLines * mult), absMaxLines),
|
||||
streamingMultiplier: mult
|
||||
maxBytes: Math.min(effectiveBytes, absMaxBytes),
|
||||
maxLines: Math.min(effectiveLines, absMaxLines),
|
||||
streamingMultiplier: mult,
|
||||
/** True when `BARE_OS_SHELL_STREAMING` relaxes caps via multiplier. */
|
||||
streamingEnabled: streamOn,
|
||||
/** Parsed `BARE_OS_PIPELINE_MAX_*` before multiplier (for operator snapshots). */
|
||||
baseMaxBytes: baseBytes,
|
||||
baseMaxLines: baseLines,
|
||||
/** Hard ceilings after multiplier (`BARE_OS_PIPELINE_ABS_MAX_*`; defaults 512 MiB / 2 M lines). */
|
||||
absCapBytes: absMaxBytes,
|
||||
absCapLines: absMaxLines
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user