[PATCH] Reduce the amount of WriteFile() syscalls when writing to buffered files
From: Evgeny Kotkov <evgeny.kotkov_at_visualsvn.com>
Date: Mon, 21 Aug 2017 18:45:24 +0300
Hi everyone,
Currently, apr_file_write() can cause an excessive amount of syscalls
This patch series reduces the amount of syscalls in such situations by
My measurements indicate that writing in larger chunks and avoiding
write: nbytes = 9
When I test "svn import" for a large file before and after this patch, I
- the amount of syscalls decreases from 199,403 to 17,061 and
- the overall CPU time decreases from 7.28 s to 6.68 s. (I think that's
The implementation is split into three dependent patches. The first two
The log messages are included in the beginning of each patch file.
Thanks,
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.