Re: [perf-discuss] Can't get FileBench foreach to work

2008-12-15 Thread Andrew Wilson
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

Re: [perf-discuss] Can't get FileBench foreach to work

2008-12-15 Thread Demetri S. Mouratis
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'

Re: [perf-discuss] Can't get FileBench foreach to work

2008-12-05 Thread Richard McDougall
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

Re: [perf-discuss] Can't get FileBench foreach to work

2008-12-03 Thread Andrew Wilson
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

[perf-discuss] Can't get FileBench foreach to work

2008-12-02 Thread Demetri S. Mouratis
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