Demetri,
As I said in my previous answer, the way the rest of us do what you
want to do is through .prof scripts interpreted by filebench.pl. Each
entry in the profile script causes go_filebench to be run, modified
with any changes specified. For example:
#
# CDDL HEADER START
#
# The conte
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'
Try changing the run 10 to sleep 10...
Richard.
On 12/2/08 8:34 AM, "Demetri S. Mouratis" <[EMAIL PROTECTED]> wrote:
Gang,
I'm having trouble getting the 'foreach' syntax to loop through different I/O
sizes. Here is a sample of code I'm trying to get working:
#!/opt/filebench/bin/go_filebe
Demetri,
I think you may be the only person (besides myself) that has tried to
use "foreach". The problem isn't the "foreach" command though, it is
that "run 10" shuts down processes when it finishes and re-running from
the same "f" script doesn't work. I have two suggestions:
1) create a .p
Gang,
I'm having trouble getting the 'foreach' syntax to loop through different I/O
sizes. Here is a sample of code I'm trying to get working:
#!/opt/filebench/bin/go_filebench -f
#
define file name=data, path=/filebench/local, size=128m, prealloc, reuse
define process name=randWriteProcess,ins