[Gluster-users] New cluster - first experience

Gandalf Corvotempesta gandalf.corvotempesta at gmail.com
Thu Jul 7 15:12:50 UTC 2016


2016-07-07 14:04 GMT+02:00 Lindsay Mathieson <lindsay.mathieson at gmail.com>:
> The default shard size is 4MB, I'd tend towards a larger one which improves
> write speed. For my VM cluster I use shardsize = 64MB
>
> nb. To change the shardsize you should recreate the volume.

I did more test.
Is not a shard issue, with shard enabled:

# dd if=/dev/zero of=/mnt/glusterfs/zero1 bs=1M count=1000
1000+0 record dentro
1000+0 record fuori
1048576000 byte (1,0 GB) copiati, 93,8803 s, 11,2 MB/s

With shard disabled:

# dd if=/dev/zero of=/mnt/glusterfs/zero2 bs=1M count=1000
1000+0 record dentro
1000+0 record fuori
1048576000 byte (1,0 GB) copiati, 100,051 s, 10,5 MB/s

mostly the same.



# iperf -c 1.2.3.4
------------------------------------------------------------
Client connecting to 1.2.3.4, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 1.2.3.5 port 34357 connected with 1.2.3.4 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.10 GBytes   943 Mbits/sec


More information about the Gluster-users mailing list