Ted,
The thisrun.f file looks fine. It is not ignoring runtime, as it is putting in a "sleep 60", which does causes it to run for 60 seconds. It sounds like go_filebench isn't running at all. You might try running thisrun.f directly from the shell:

$thisrun.f

See what happens. You do have go_filebench in /opt/filebench/bin/ correct?

Drew


On 04/16/09 02:30 PM, Ted Battershill wrote:
I have filebench 1.4.4 compiled (32-bit with gcc 4.3.3) on Solaris 10, and 
go_filebench seems to be working fine. However, the batch mode runs and 
immediately returns without runnning anything. It seems as if the runtime 
variable is ignored, but I'm not seeing any error messages.

bash-3.00$ filebench randomread
parsing profile for config: randomread2k
Running 
/tmp/gcars162-tmpfs-randomread-Apr_16_2009-17h_13m_33s/randomread2k/thisrun.f

Generating html for /tmp/gcars162-tmpfs-randomread-Apr_16_2009-17h_13m_33s

bash-3.00$ cat thisrun.f
#!/opt/filebench/bin/go_filebench -f

load randomread
set 
$statsdir=/tmp/gcars162-tmpfs-randomread-Apr_16_2009-17h_13m_33s/randomread2k
set $function=generic
set $personality=randomread
set $stats=/tmp
set $nthreads=1
set $description="randomread tmpfs"
set $dir=/tmp
set $iosize=2k
set $filesize=160m
set $runtime=60
set $filesystem=tmpfs
create filesets
system "/opt/filebench/scripts/fs_flush tmpfs /tmp"
stats directory 
/tmp/gcars162-tmpfs-randomread-Apr_16_2009-17h_13m_33s/randomread2k
create processes
stats clear
sleep 60
stats snap
stats dump "stats.randomread2k.out"
shutdown processes
quit
bash-3.00$
There is no file "stats.randomread2k.out", and index.html only contains 
headings - no data.

_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to