Subject: new memory allocation scheme and disk access
To: None <>
From: Kouichirou Hiratsuka <>
List: current-users
Date: 01/03/2004 01:26:38

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.

It did not happen before this commit.

best regards.

 Kouichirou Hiratsuka