Re: [perf-discuss] [ksh93-integration-discuss] Bourne vs. ksh93 startup time... / was: Re: [pkg-discuss] 142 Replace /sbin/sh with ksh93

2008-01-29 Thread Bart Smaalders
Glenn Fowler wrote: > by "Bourne shell" do you mean bash? No... the old Bourne shell, still shipped on Solaris as /usr/bin/sh and /sbin/sh. > > what is the system(3) implementation? > when you test the "bourne shell" system() vs the ksh93 system() > how do you tell system() to exclusively use on

[perf-discuss] Bourne vs. ksh93 startup time... / was: Re: [pkg-discuss] 142 Replace /sbin/sh with ksh93

2008-01-29 Thread Roland Mainz
Bart Smaalders wrote: > William James wrote: [snip] > > Remember what Bruno Jargot wrote about performance and POSIX: > > |ksh93 is superior in functionality, performance and usability > > |compared to bash. > > | > > |A few numbers: > > |$ time bash -c 'i=0 ; s="" ; while [ $i -lt 1 ] ; do i=$

Re: [perf-discuss] Code Review for new FileBench feature requested

2008-01-29 Thread johansen
> Hmmm, I guess I could allow individual parameters to be accessed with > $., so a couple lines like: > > usage " set \$iosize.min=defaults to $iosize.min" > usage " set \$iosize.gamma= defaults to $iosize.gamma" > > which would print out as: > set $iosize.min= defaults to 1

Re: [perf-discuss] Code Review for new FileBench feature requested

2008-01-29 Thread Andrew Wilson
[EMAIL PROTECTED] wrote: > Hi Drew, > I took a look at your webrev and in general I think this looks good. > > - In the two .f files you added, would it make sense to instruct the > user that $iosize is being randomly set, and they shouldn't adjust the > value? What happens in those two cases

Re: [perf-discuss] Code Review for new FileBench feature requested

2008-01-29 Thread johansen
Hi Drew, I took a look at your webrev and in general I think this looks good. I only have a couple of nits: - Does it make sense to coalese the gamma code and PRNG code into a single module? - I've never done anything with Lex/Yacc, so I didn't review that code - In the two .f files you added

[perf-discuss] Code Review for new FileBench feature requested

2008-01-29 Thread Andrew Wilson
I have developed a new "random variables" feature for FileBench. A general discussion of the approach is available at: http://www.solarisinternals.com/wiki/images/1/1d/FileBench_Random_Variables.pdf See the section headed "Current Proposal and Prototype" on page 7 of the document for a descript