Roland Mainz wrote: > Darren J Moffat wrote: > > Joseph Kowalski wrote: [snip] > I had access to a T2000 machine and several Ultra40+45 machines (thanks > to Jesse Silver) at the OpenSolaris Summit 2007 and did some > benchmarking. It seems that the code for the "sum" builtin (e.g. calling > "sum" has builtin command and not as /usr/bin/sum) on an OpenSolaris/B72 > installation is a lot faster for small files (likely as a result of the > saved |fork()|+|exec()| per file) than /usr/bin/digest and only for very > large files (e.g. $ mkfile 64MB foo001 #) /usr/bin/digest can outperform > the "sum" builtin (BTW: It seems "digest" nor the related libraries make > any use of "-xstrconst" or 64k largepages like the AST codebase does. > IMO it may be nice to do some "footprint reduction" work in this case > (e.g. map stack with 64k pages and allocate all buffers used for hashing > from this stack (and forget MPSS - it won't help))
Erm... I was thinking about the "largepages out of the box" thing, not "MPSS" ... sorry for the mixup... ;-( ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)