diff options
author | Geir Storli <geirst@yahooinc.com> | 2022-01-07 16:10:32 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahooinc.com> | 2022-01-07 16:26:22 +0000 |
commit | b863a115941780fdbd11e891ee58bda2aec3dbf0 (patch) | |
tree | f489b9c7d9390ddac01affcf2a0955561cb83c77 /searchcore/CMakeLists.txt | |
parent | 8777f096274454993c9a002f4524961a029be84b (diff) |
Sample and track the current transient memory usage across all document dbs.
Previously, the transient memory usage was the theoretical worst case needed during loading of attributes.
Now, we change this to being a snapshot of the total memory used by all memory indexes.
In a simular fashion we plan to track the transient disk usage of all ongoing fusion disk indexes.
Eventually, the transient resource usage will be subtracted from the absolute resource usage,
before this is reported to the cluster controller in order to decide whether to block feeding.
By doing this the transient resource usage is covered by the headroom on the content node,
instead of leading to feed blocked due to natural fluctuations.
Diffstat (limited to 'searchcore/CMakeLists.txt')
-rw-r--r-- | searchcore/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/CMakeLists.txt b/searchcore/CMakeLists.txt index c63ccfe4e24..7fb98cb2514 100644 --- a/searchcore/CMakeLists.txt +++ b/searchcore/CMakeLists.txt @@ -61,8 +61,8 @@ vespa_define_module( src/tests/proton/attribute/attribute_initializer src/tests/proton/attribute/attribute_manager src/tests/proton/attribute/attribute_populator + src/tests/proton/attribute/attribute_transient_memory_calculator src/tests/proton/attribute/attribute_usage_filter - src/tests/proton/attribute/attribute_usage_sampler_functor src/tests/proton/attribute/attribute_usage_stats src/tests/proton/attribute/attributes_state_explorer src/tests/proton/attribute/document_field_extractor |