Hi

I have compiled, eventually, filebench in windows services for unix 3.5 and am 
seeing some errors during running workloads. 

For every thread that is specified in the workload, I get a pthread_mutex_lock 
& unlock: invalid arg. error during the run. I notice from the truss output 
(attatched) that there is no mutex_init for the mutex it is trying to lock, 
unlock. I have added a printf to display more info when the error occurs.  So 
for a workload that starts 8 threads I get 8 lock/unlock errors. I have tried 
to use gdb to find the cause, but without success.

I also don't get back sane us/op-cpu times, but I am trying to figure out the 
mutex lock first.

% ./filebench
filebench> load randomread
  731: 3.385: Random Read Version 1.12 2005/06/25 01:03:16 IO personality succes
sfully loaded
  731: 3.385: Usage: set $dir=<dir>
  731: 3.385:        set $filesize=<size>   defaults to 1048576
  731: 3.385:        set $iosize=<value>    defaults to 8192
  731: 3.385:        set $nthreads=<value>  defaults to 1
  731: 3.385:        set $workingset=<value>  defaults to 0
  731: 3.385:        set $directio=<bool>   defaults to 0
  731: 3.385:        run runtime (e.g. run 60)
  731: 3.385: syntax error, token expected on line 35
filebench> set $dir=/tmp
filebench> run 10
  731: 16.183: Creating/pre-allocating files
  731: 16.223: Waiting for preallocation threads to complete...
  731: 16.223: Re-using file /tmp/largefile1
  731: 16.223: Starting 1 rand-read instances
  731: 16.223: Starting 1 rand-thread threads
  731: 17.225: Running...
  731: 27.239: Run took 10 seconds...
  731: 27.239: Per-Operation Breakdown
rand-rate                   0ops/s   0.0mb/s      0.0ms/op        0us/op-cpu
rand-read1              14760ops/s 115.2mb/s      0.0ms/op        0us/op-cpu

  731: 27.239:
IO Summary:      147814 ops 14760.1 ops/s, (14760/0 r/w) 115.2mb/s,      0us cpu
/op,   0.0ms latency
  731: 27.239: Shutting down processes
filebench> mutex lock failed: Invalid argument
lock M: 14428eac E: 22 SE: Invalid argument
mutex unlock failed: Invalid argument
unlock M: 14428eac E: 22 SE: Invalid argument
This message posted from opensolaris.org

Attachment: fb_trss.out.gz
Description: GNU Zip compressed data

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

Reply via email to