Hi Drew,
It *sorta* works if I create processes before the loop (and use Rich's
suggestion of sleep 10 instead of run 10):
create files
create processes
foreach $iosize in 8k, 16k, 64k
{
stats clear
sleep $runtime
stats snap
}
shutdown processes
quit
...but then I can't iterate over number of threads because they're fixed at
create process time. I tried creating processes at the start of the loop and
then shutdown processes before the closing brace, but then it hangs again.
Also, none of this works in the 'config harness' method. So maybe I'll just
unroll the loops and enumerate each run in the config harness .conf file
instead of fighting the foreach battle.
Meanwhile, I'm deep into disk testing right now, so if you shake free to work
on loops, I'd be happy to help test!
...Demetri
--
This message posted from opensolaris.org
_______________________________________________
perf-discuss mailing list
[email protected]