Subject: Re: PowerBook Duo 230 (68030 -fpu)
To: Frederick Bruckman <fredb@immanent.net>
From: Kazuyuki Inanaga <happyday@pp.iij4u.or.jp>
List: port-mac68k
Date: 02/14/2004 17:28:29
Hi,

At 8:23 AM -0600 04.2.13, Frederick Bruckman wrote:
>
>All those programs in userland that aren't running don't have anything
>to do with boot up time.

Thanks a lot.
That my example was not good.

1.6.1 (GENERIC) on my Classic II ('030/16MHz, 10MB RAM, with FPU) takes
more than 5min 30sec for booting up. (from "Boot Now" to "login:")
It gets slowdown after the line "root file system type: ffs", especially
it's very slow at:

Building databases...
Starting syslogd.
Checking for core dump...
save core: no core dump
Mounting all filesystems...
Clearing /tmp.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Starting virecover.
starting local daemons:.
Updating motd.

Can we control those things with kernel configuration? I don't think so.
That is the reason I used the word "userland".

> You may benefit from tweaking the buffer cache parameters. The
> default for vm.execmin of 5%, for example, works out to only 500Kb
> on a machine with 10Mb of RAM, which is too small to have any effect.
> Try bumping that to, say, 8% to 20%.  Like so:
>
>     echo vm.execmin=10 >> /etc/sysctl.conf
>
> and see what difference that makes to bootup time.

I'm sorry, no difference is found. (an error is less than 1sec.)

vm.execmin=5          5' 36.38"    5' 36.57"
vm.execmin=8          5' 37.07"    5' 36.25"
vm.execmin=10        5' 37.15"    5' 37.19"
vm.execmin=15        5' 37.37"    5' 37.00"
vm.execmin=20        5' 36.96"    5' 37.46"

Why? Do you have any idea what I did misunderstanding?


Learning NetBSD is very interesting ! Many thanks to all,
Kazu Inanaga