Philip Martin <philip.mar...@wandisco.com> writes:

> That's using the sync option on the NFS server.  Using async
>
> Checkout using 1.6:
> Elapsed:  73s CPU: 16s

[...]

> Checkout using 1.7
> Elapsed: 180s CPU: 26s

By comparison the same checkout to a local disk takes about 5s elapsed
for both 1.6 and 1.7.

I tried an experiment with the update editor used by checkout.  At
present it inserts a not-present NODES row for each file in add_file()
and then replaces it with a normal NODES row in close_file().  I removed
the code that inserts the not-present row, the checkout still works
provided it runs to completeion.  This change removes one transaction
per-file from the checkout, and reduces the elapsed time by 27s or 15%.

So to get better performance on network disks we have to remove or
combine transactions.

-- 
Philip

Reply via email to