Subject: Re: NetBSD performance
To: None <,>
From: Ross Harvey <>
List: netbsd-users
Date: 06/02/2001 12:08:13
> From: David Maxwell <>
> > > login is slow???
> > > could you be more exact? logging in takes about a second or less on my
> > > machine and little longer with old slow disk.
> > 
> > I've noticed that when I log out, it takes about one second to show the
> > NetBSD greeting like linux. FreeBSD is just instantaneous. I solved this
> > in debian replacing agetty with mingetty which worked faster, but, what
> > makes NetBSD a bit slower that the other?
> > 
> > The same happens after entering the first login name... it takes about
> > a second (or less) to show the Password: string, but then it works fast.
> It sounds like getty may have been swapped out, in order to free up RAM
> for another task. Check how much RAM you have, (16?) and look at the
> 'Capacity' column in the output of 'pstat -s' to see how much swap is
> being used.
> When you exit, and getty wakes up, it would be swapped in, and depending
> on the speed of your disks, that could take a second (or more).

Err, no, it sounds like he is seeing the 1.5 second sleep that the NetBSD
getty(8) intentionally inserts.

It's a feature, not a bug. It holds DTR negated briefly so that whatever is
connected has a good chance to see it, it help prevents livelock in the
presence of errors, and I think it even slows down brute force password