G'Day Folks,
FileBench looks great. I've been wanting to write such a tool for a while,
but this is far more comprehensive than I was planning. :)
Apart from it's own output, which is terribly useful, I've been using
it to generate test load for other tools:
random uncached 8k reads:
$ iostat -xnmpz 1
[...]
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
168.0 3.0 1344.0 24.0 0.0 1.0 0.0 6.0 0 99 c0t0d0s0 (/)
168.0 3.0 1344.0 24.0 0.0 1.0 0.0 6.0 0 99 c0t0d0
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
175.0 1.0 1400.0 28.0 0.0 1.0 0.0 5.6 0 99 c0t0d0s0 (/)
175.0 1.0 1400.0 28.0 0.0 1.0 0.0 5.6 0 99 c0t0d0
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
168.0 0.0 1336.0 0.0 0.0 1.0 0.0 5.9 0 99 c0t0d0s0 (/)
168.0 0.0 1336.0 0.0 0.0 1.0 0.0 5.9 0 99 c0t0d0
[...]
# iotop -Co 1
[...]
2005 Aug 18 21:09:17, load: 0.03, disk_r: 1396 Kb, disk_w: 0 Kb
UID PID PPID CMD DEVICE MAJ MIN D DISKTIME
0 9289 9288 filebench sd5 28 320 R 981619
2005 Aug 18 21:09:18, load: 0.03, disk_r: 1332 Kb, disk_w: 0 Kb
UID PID PPID CMD DEVICE MAJ MIN D DISKTIME
0 9289 9288 filebench sd5 28 320 R 985130
2005 Aug 18 21:09:19, load: 0.03, disk_r: 1368 Kb, disk_w: 0 Kb
UID PID PPID CMD DEVICE MAJ MIN D DISKTIME
0 9289 9288 filebench sd5 28 320 R 983312
[...]
# iopattern 1
%RAN %SEQ COUNT MIN MAX AVG KR KW
100 0 179 4096 8192 8146 1424 0
100 0 173 4096 8192 8120 1372 0
100 0 178 8192 8192 8192 1424 0
100 0 177 4096 8192 8122 1404 0
100 0 177 4096 8192 8099 1400 0
100 0 171 4096 8192 8120 1356 0
100 0 179 4096 8192 8169 1428 0
100 0 168 4096 8192 8070 1324 0
100 0 176 4096 8192 8145 1400 0
[...]
Cool!
...
Imagine using this for a practical Solaris interview. Create a well
defined testload with filebench, then ask the applicant to describe the
filesystem activity using existing Solaris tools (without reading the
filebench profile... Just need a CPUbench, Membench and Netbench as
well... benchbench?... :-)
thanks for releasing this!
Brendan
[Sydney, Australia]
PS. Ok, maybe the TTCP and pathchar varieties serve as a form of Netbench.
_______________________________________________
perf-discuss mailing list
[email protected]