26 Jul
2010
26 Jul
'10
2:01 p.m.
On 07/26/2010 04:55 PM, Tim Nieradzik wrote:
Hello,
it's my first message on this list. I'd like to make a few contributions to improve Pacman's performance. Pacman is a great package manager which I'm now using for a few years without any problems. It also has a very clear and well-structured code but its disk stress concerns me a bit.
Looking at strace, a few syscalls appear superfluous to me. Deleting them made pacman -Syu (right after a disk flush) about 10s faster (70% less syscalls). Here's the patch:
better send your patch inline to be reviewed http://wiki.archlinux.org/index.php/Super_Quick_Git_Guide#Sending_patches -- Ionuț