[tracker-miners/wip/carlosg/miner-files-queues: 7/10] tracker-miner-fs: Raise batch size




commit 39b01fa37f6ed2ba11a321c37d3e3b22516a8c51
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Dec 18 18:21:03 2021 +0100

    tracker-miner-fs: Raise batch size
    
    Now that crawling is throttled by the amount of items left to process
    and the main culprits of high memory usage on large filesystems are
    gone, we can raise the batch size a bit. We can definitely afford a
    couple extra megabytes in memory now, so raise the batch size to also
    optimize the throughput.

 src/miners/fs/tracker-miner-files.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 53ac7dc6a..7c5cc27ea 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -2283,7 +2283,7 @@ tracker_miner_files_new (TrackerSparqlConnection  *connection,
                               "config", config,
                               "domain", domain,
                               "processing-pool-wait-limit", 1,
-                              "processing-pool-ready-limit", 100,
+                              "processing-pool-ready-limit", 800,
                               "file-attributes", FILE_ATTRIBUTES,
                               NULL);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]