broker rugnux live: rugnux plans its host memory against what the image buffer leaves
The rugnux library plans what runs side by side against ProcessConfig::host_memory_budget_bytes, by default 75% of the machine's memory. In the broker most of the machine is the image buffer, which has to hold the whole collection for the live run, so that default would plan against memory that is already taken. The receiver now sets the budget to the default less the image buffer and a 16 GiB margin for the rest of the broker (never 0, which would mean the default; at worst the run schedules in series), decided once and the same for the main run and the 60-degree probe, which share the process-wide HostWorkerPool. ImageBuffer gets a size getter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
78c2a69267
commit
0ee8897294
4 files changed
+28
-3
No files matched your search
@@ -320,6 +320,10 @@ void ImageBuffer::SaveStartMessage(const std::vector<uint8_t> &msg) {
|
||||
start_message = msg;
|
||||
}
|
||||
|
||||
size_t ImageBuffer::GetBufferSize() const {
|
||||
return buffer_size;
|
||||
}
|
||||
|
||||
ImageBufferStatus ImageBuffer::GetStatus() const {
|
||||
ImageBufferStatus ret;
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user