dove@mit-dspg@mit-mc (06/15/82)
From: dove at mit-dspg at mit-mc At what point does it pay to use it? I have a 5600b passwd file, ~100 entries. I built a ls with pwhash and found it slower than without. Is there a better test of pwhashing?
william (06/28/82)
I suspect you did not install pwhash exactly correct, since your entry search time should be noticably shorter, dropping from a worst case 100 to 2-3 entries. Perhaps it is always failing on the hashed search, then defaulting to the linear? Bill.
Physics:crl (06/30/82)
I myself recently tried the pwhash code on a passwd of about 170 entries and it ended up running (I think) about 50% slower. (I used 'ls' as a benchmark.) Charles LaBrec pur-ee!physics:crl
ARPAVAX:feldman (07/01/82)
When we originally wrote the pwhash code at Berkeley, we were running on a system with about 1500 entries in /etc/passwd. The speedup was very noticable. I wouldn't be surprised if for (relatively) small passwd files pwhash didn't help. Steve Feldman, formerly of EECS 11/70 system support group