Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Trying NetBSD 9.1 on KA650 and VAXstation 3100m38



On 2020-11-16 15:01, Anders Magnusson wrote:
Den 2020-11-16 kl. 14:08, skrev Johnny Billquist:
On 2020-11-16 03:54, Boris Gjenero wrote:
The password algorithm is mostly to blame for how slow logins are when a password is set. Take a look at https://man.netbsd.org/NetBSD-9.1/vax/passwd.conf.5 . In the 9.1 /etc/passwd.conf, it's set to sha1, and the default is 24680 rounds, which is slow. Changing it to old speeds up logins. But of course other things are still slow.

The slowness I observe is absurd, and is clearly not at all related to any passwords.

At least with MSCP disk access using an RQDX3, DMA is clearly used, and amount of CPU time doesn't seem excessive:
 > # time dd if=/dev/rra0c of=/dev/null bs=128k count=100 skip=100
 > 100+0 records in
 > 100+0 records out
 > 13107200 bytes transferred in 41.480 secs (315988 bytes/sec)
 >        42.80 real         0.71 user         3.24 sys

Of course it uses DMA. There are no alternatives. (There is no polled I/O on these systems.)

However, that test isn't really exposing/reflecting what I seem to observe. Doing something like a cvs update, the disk is pretty much 100% busy for many, many hours, and the whole time, the system is also mainly ticking up system time. I am not sure that time is accounted into the cvs process, though.

But about 300K/sec. My PDP-11 pushes that much. The VAX should be able to do better, I think. But even more interesting is, could the machine then do something else at the same time, or is it bogged down here?

300k/s sound quite reasonable - it's the RD5x disks that are slow.

Good point. I wasn't actually properly reflecting that we're talking real RD disks. They are not exactly speed daemons. On my 11s, I have either RA73 or SCSI.

The problem most likely has something to do with userspace, maybe something related to dynamic linking.

It seems to be more issues than that, but I think that the dynamic linking certainly have a big effect in image activation. Although, that seemed better in the past as well.

  Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index