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.