Subject: new memory allocation scheme and disk access
To: None <current-users@NetBSD.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: current-users
Date: 01/03/2004 01:26:38
Hello,
I updated my system (kernel and userland) today. It works well for a
while, but performance of compile drops by some disk access.
# cd /usr/src/sys/arch/i386/compile/GENERIC
# make clean > /dev/null; time make > /dev/null
381.73 real 339.84 user 34.39 sys
# /usr/libexec/locate.updatedb
# make clean > /dev/null; time make > /dev/null
1043.92 real 342.24 user 45.92 sys
My system has 1G bytes RAM and free memory was about 550M bytes at
the time of second build of the kernel. But it was very slow by hard
disk accesses. It seems to be related with new memory allocation
scheme for the buffer cache.
http://mail-index.netbsd.org/source-changes/2003/12/30/0011.html
It did not happen before this commit.
best regards.
--
Kouichirou Hiratsuka
hira@po6.nsk.ne.jp