GNU bug report logs -
#72137
[PATCH 0/2] Avoid cache cleanup storms
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Tue, 16 Jul 2024 09:12:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello!
This fixes “cache cleanup storms” reported by Chris Baines whereby
typically multiple ‘guix substitute’ processes would start cleaning
up /var/guix/substitute/cache concurrently, leading to poor performance
(in particular on build farms with many such processes running in
parallel, even worse when on spinning disks).
Thoughts?
Ludo’.
Ludovic Courtès (2):
syscalls: Add ‘mode’ parameter to ‘lock-file’.
cache: Avoid cache cleanup storms from concurrent processes.
guix/build/syscalls.scm | 14 +++++++++-----
guix/cache.scm | 27 ++++++++++++++++++---------
tests/cache.scm | 30 +++++++++++++++++++++++++++++-
tests/syscalls.scm | 13 +++++++++++++
4 files changed, 69 insertions(+), 15 deletions(-)
base-commit: eb508e32d2d359c94d2cabebfe90dc32ca5dcf4f
--
2.45.2
This bug report was last modified 329 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.