Will it be possible to get this profile output for a volume without sharding enabled? If it still doesn't look like the one I gave in the mail before then we have some debugging to do to find why there are extra operations we are seeing.
On Tue, Jul 12, 2016 at 9:27 PM, Gandalf Corvotempesta <gandalf.corvotempesta@xxxxxxxxx> wrote:
Shard was enabled during this test that previously i did other tests with shard disabled and speed doesn't change at all.
Il 12 lug 2016 5:17 PM, "Pranith Kumar Karampuri" <pkarampu@xxxxxxxxxx> ha scritto:You got this for single dd workload? Ideally single file dd workload should be dominated by 'WRITE' operation, but seems like it is dominated by too many FINODELK, I see quite a few mknods too. What is puzzling is the number of ENTRYLKs which is of the order of 10k. I see some discussion about enabling sharding, Did you enable sharding by anychance on this volume? Sharding is not yet ready for general purpose workloads. As long as you have single writer workload it is fine. It is very well tested for VM workload.dd workload generally looks like this (dd if=/dev/zero of=a.txt bs=1M count=1000):
Brick: localhost.localdomain:/home/gfs/r2_0
-------------------------------------------
Cumulative Stats:
Block Size: 131072b+ 262144b+
No. of Reads: 0 0
No. of Writes: 7996 2
%-latency Avg-latency Min-Latency Max-Latency No. of calls Fop
--------- ----------- ----------- ----------- ------------ ----
0.00 0.00 us 0.00 us 0.00 us 1 RELEASE
0.00 0.00 us 0.00 us 0.00 us 3 RELEASEDIR
0.00 24.00 us 24.00 us 24.00 us 1 STATFS
0.00 22.50 us 22.00 us 23.00 us 2 ENTRYLK
0.00 28.00 us 27.00 us 29.00 us 2 FINODELK
0.00 67.00 us 67.00 us 67.00 us 1 GETXATTR
0.00 35.50 us 28.00 us 43.00 us 2 FLUSH
0.01 342.00 us 342.00 us 342.00 us 1 CREATE
0.10 134.61 us 54.00 us 379.00 us 18 FXATTROP
0.23 67.71 us 41.00 us 156.00 us 83 LOOKUP
99.65 307.53 us 61.00 us 50633.00 us 7998 WRITEOn Tue, Jul 12, 2016 at 8:16 PM, Gandalf Corvotempesta <gandalf.corvotempesta@xxxxxxxxx> wrote:2016-07-12 15:55 GMT+02:00 Pranith Kumar Karampuri <pkarampu@xxxxxxxxxx>:
> Could you do the following?
>
> # gluster volume profile <volname> start
> # run dd command
> # gluster volume profile <volname> info >
> /path/to/file/that/you/need/to/send/us.txt
http://pastebin.com/raw/wcA0i335
--Pranith
--
Pranith
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users