On Wed, 2010-11-24 at 15:46 +0100, Alan Franzoni wrote:
I'm trying to get our koji instance faster; since we build a lot of
packages, we'd like to reduce the latency.
You might want to look at this rpm patch:
Author: Panu Matilainen <pmatilai(a)redhat.com>
Date: Wed Oct 20 15:11:20 2010 +0300
Lift fsync enable/disable configuration handling to rpmdb layer
- Add a fsync disable/enable function in the backend, call from
rpmdb layer: on initial database creation (including database
rebuild), it's "safe enough" to disable fsync as there's no
data to protect. Considerably speeds up initial install to eg chroots.
- Always re-enable fsync when closing a read-write database - at that
point there /is/ data to protect.
...this should help the no cached mock case quite a lot.