党志强
2015-Jan-28  05:19 UTC
[Gluster-users] [Gluster-devel] FIO read test, why net recv 91MB/s, read only 22MB/s
Hi,
    I want to known why net recv 91MB/s, read only 22MB/s when do FIO read test.
    when I set cache-size=2GB or disable open-behind, this phenomenon
disappears.
    thanks.
gluster 3.4.5 (default configure)
centos 6.5
replica 2, 2 server
client do FIO test
FIO command:
fio -directory=/mnt/dzq -direct=1 -ioengine=sync -rw=read -bs=32K -size=1G
-numjobs=8 -runtime=60 -ramp_time=20 -exitall -group_reporting -name=glfs_test
output:
glfs_test: (g=0): rw=read, bs=32K-32K/32K-32K/32K-32K, ioengine=sync, iodepth=1
...
fio-2.1.13
Starting 8 processes
read : io=1327.3MB, bw=22647KB/s, iops=707, runt= 60012msec
# dstat -nN  eth1,total
--net/eth1---net/total-
 recv  send: recv  send
  91M 1977k:  91M 1977k
  91M 1969k:  91M 1969k
  91M 1986k:  91M 1986k
  90M 1972k:  90M 1972k
......
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.gluster.org/pipermail/gluster-users/attachments/20150128/f7e07a86/attachment.html>
Dang Zhiqiang
2015-Jan-28  10:42 UTC
[Gluster-users] FIO read test, why net recv 91MB/s, read only 22MB/s
Is this phenomenon normal when use gluster default configure?
At 2015-01-28 13:19:47, "Dang Zhiqiang" <dzq008 at 163.com>
wrote:
Hi,
    I want to known why net recv 91MB/s, read only 22MB/s when do FIO read test.
    when I set cache-size=2GB or disable open-behind, this phenomenon
disappears.
    thanks.
gluster 3.4.5 (default configure)
centos 6.5
replica 2, 2 server
client do FIO test
FIO command:
fio -directory=/mnt/dzq -direct=1 -ioengine=sync -rw=read -bs=32K -size=1G
-numjobs=8 -runtime=60 -ramp_time=20 -exitall -group_reporting -name=glfs_test
output:
glfs_test: (g=0): rw=read, bs=32K-32K/32K-32K/32K-32K, ioengine=sync, iodepth=1
...
fio-2.1.13
Starting 8 processes
read : io=1327.3MB, bw=22647KB/s, iops=707, runt= 60012msec
# dstat -nN  eth1,total
--net/eth1---net/total-
 recv  send: recv  send
  91M 1977k:  91M 1977k
  91M 1969k:  91M 1969k
  91M 1986k:  91M 1986k
  90M 1972k:  90M 1972k
......
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.gluster.org/pipermail/gluster-users/attachments/20150128/46c373d2/attachment.html>