From 39f72b8aca395392263af70ea1bc2113333f28ed Mon Sep 17 00:00:00 2001 From: Ben Allan Date: Thu, 12 Dec 2024 17:08:23 -0700 Subject: [PATCH] reduce minimum rollover from 1 min to 5 sec, for latency --- ldms/src/sampler/blob_stream/blob_stream_writer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldms/src/sampler/blob_stream/blob_stream_writer.c b/ldms/src/sampler/blob_stream/blob_stream_writer.c index 1abf5b3ce..9ec5e1861 100644 --- a/ldms/src/sampler/blob_stream/blob_stream_writer.c +++ b/ldms/src/sampler/blob_stream/blob_stream_writer.c @@ -107,7 +107,7 @@ static int rolltype = -1; rolltype==4 and rollover < MIN_ROLL_BYTES -> rollover = MIN_ROLL_BYTES */ #define MIN_ROLL_BYTES 1024 /** Interval to check for passing the record or byte count limits. */ -#define ROLL_LIMIT_INTERVAL 60 +#define ROLL_LIMIT_INTERVAL 5 static pthread_t rothread; static int rothread_used = 0;