Fio test.fio
** Fio setting
[global]
filename=/dev/sdb
ioengine=libaio
#ioengine=sync
#direct=bool
#If value is true, use non-buffered I/O. This is usually O_DIRECT.
#Note that OpenBSD and ZFS on Solaris don’t support direct I/O.
#On Windows the synchronous ioengines don’t support direct I/O. Default: false.
direct=1
time_based
ramp_time=5
refill_buffers
group_reporting
wait_for_previous
#size=200G
runtime=1m
#This option also allows a range of CPUs to be specified
#say you wanted a binding to CPUs 0, 5, and 8 to 15, you would set cpus_allowed=0,5,8-15.
#cpus_allowed=0,1
[JOB1]
bs=1M
rw=read
numjobs=4
iodepth=1
[JOB2]
bs=1M
rw=write
numjobs=8
iodepth=1
#[JOB3]
#bs=4k
#rw=write
#[JOB4]
#bs=32k
#rw=write
root@OCTEONTX:/home/horatio# pstree
systemd-+-agetty
|-cgmanager
|-cron
|-dbus-daemon
|-dhclient
|-dnsmasq---dnsmasq
|-ha_logd---ha_logd
|-libvirtd---15*[{libvirtd}]
|-login---bash
|-multipathd---4*[{multipathd}]
|-sshd-+-sshd---sshd---bash---sudo---su---bash---fio-+-6*[fio]
| | `-{fio}
| `-sshd---sshd---bash---sudo---su---bash---pstree
|-sudo---DTRGuiSrv_64-+-DTRGuiSrv_64
| `-DTRGuiSrv_64---java-+-{C1 CompilerThre}
| |-2*[{C2 CompilerThre}]
| |-{Finalizer}
| |-{Reference Handl}
| |-{Service Thread}
| |-{Signal Dispatch}
| |-{Thread-1}
| |-{Timer-0}
| |-{VM Periodic Tas}
| |-{VM Thread}
| `-5*[{java}]
|-systemd---(sd-pam)
|-systemd-journal
|-systemd-logind
|-systemd-timesyn---{sd-resolve}
|-systemd-udevd
`-vsftpd
root@OCTEONTX:/home/horatio# pstree -p
systemd(1)-+-agetty(3357)
|-cgmanager(2898)
|-cron(2936)
|-dbus-daemon(2983)
|-dhclient(3355)
|-dnsmasq(3601)---dnsmasq(3602)
|-ha_logd(3095)---ha_logd(3098)
|-libvirtd(3054)-+-{libvirtd}(3100)
| |-{libvirtd}(3101)
| |-{libvirtd}(3102)
| |-{libvirtd}(3103)
| |-{libvirtd}(3104)
| |-{libvirtd}(3105)
| |-{libvirtd}(3106)
| |-{libvirtd}(3107)
| |-{libvirtd}(3108)
| |-{libvirtd}(3109)
| |-{libvirtd}(3113)
| |-{libvirtd}(3114)
| |-{libvirtd}(3115)
| |-{libvirtd}(3116)
| `-{libvirtd}(3117)
|-login(3362)---bash(6028)
|-multipathd(1664)-+-{multipathd}(1665)
| |-{multipathd}(1666)
| |-{multipathd}(1667)
| `-{multipathd}(1668)
|-sshd(3072)-+-sshd(6039)---sshd(6048)---bash(6049)---sudo(6578)---su(6579)---bash(6580)---fio(6598)-+-fio(6600)
| | |-fio(6601)
| | |-fio(6602)
| | |-fio(6603)
| | |-fio(6604)
| | |-fio(6605)
| | `-{fio}(6599)
| `-sshd(6058)---sshd(6067)---bash(6068)---sudo(6563)---su(6564)---bash(6565)---pstree(6629)
|-sudo(3075)---DTRGuiSrv_64(3097)-+-DTRGuiSrv_64(3300)
| `-DTRGuiSrv_64(3301)---java(3302)-+-{C1 CompilerThre}(3316)
| |-{C2 CompilerThre}(3314)
| |-{C2 CompilerThre}(3315)
| |-{Finalizer}(3312)
| |-{Reference Handl}(3311)
| |-{Service Thread}(3317)
| |-{Signal Dispatch}(3313)
| |-{Thread-1}(3545)
| |-{Timer-0}(3546)
| |-{VM Periodic Tas}(3318)
| |-{VM Thread}(3310)
| |-{java}(3305)
| |-{java}(3306)
| |-{java}(3307)
| |-{java}(3308)
| `-{java}(3309)
|-systemd(6023)---(sd-pam)(6024)
|-systemd-journal(1660)
|-systemd-logind(2901)
|-systemd-timesyn(6240)---{sd-resolve}(6241)
|-systemd-udevd(2259)
`-vsftpd(3074)
root@OCTEONTX:/home/horatio# iostat -dx 1
Linux 4.9.0-OCTEONTX_SDK_6_1_0_p3_build_22 (OCTEONTX) 08/19/19 _aarch64_ (24 CPU)
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sda 0.05 0.06 0.06 0.14 4.21 3.87 81.94 0.00 5.24 3.22 6.16 1.17 0.02
sdb 0.00 0.05 0.05 2.46 0.25 1253.47 998.82 0.25 98.53 8.95 100.53 0.72 0.18
sdc 0.00 0.00 0.00 0.00 0.02 0.00 141.20 0.00 0.20 0.20 0.00 0.20 0.00
沒有留言:
張貼留言