[Bugs] [Bug 1409191] Sequential and Random Writes are off target by 12% and 22% respectively on EC backed volumes over FUSE
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jan 11 17:48:44 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1409191
--- Comment #4 from Ashish Pandey <aspandey at redhat.com> ---
Just missed to mention this info
Possible RCA -
After implementing patch http://review.gluster.org/#/c/13733/,
before writing on a file we set dirty flag and at the end we remove this flag.
This creates an index entry in .glusterfs/indices/xattrop/ .
which remains there through out write fop. every 60 seconds shd will come up
and scan this entry and starts heal, Heal in turn takes a lot of locks to FIND
and heal the file.
Which raises the number of inodelk fop count and could be a possible culprit.
I disabled the shd and wrote a file -
time dd if=/dev/urandom of=a1 count=1024 bs=1M conv=fdatasync
Profile shows only 4 calls inodelk.
Brick: apandey:/brick/gluster/testvol-6
---------------------------------------
Cumulative Stats:
Block Size: 32768b+ 65536b+
No. of Reads: 0 0
No. of Writes: 8188 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 47.00 us 47.00 us 47.00 us 1 STATFS
0.00 49.50 us 46.00 us 53.00 us 2 FLUSH
0.00 38.00 us 26.00 us 52.00 us 4 INODELK
0.00 92.50 us 85.00 us 100.00 us 2 XATTROP
0.00 305.00 us 305.00 us 305.00 us 1 CREATE
0.00 138.00 us 32.00 us 395.00 us 4 FXATTROP
0.00 164.14 us 119.00 us 212.00 us 7 LOOKUP
0.92 72.73 us 43.00 us 8431.00 us 8190 WRITE
99.08 64142355.00 us 64142355.00 us 64142355.00 us 1
FSYNC
With shd enable it is around 54-
Brick: apandey:/brick/gluster/testvol-1
---------------------------------------
Cumulative Stats:
Block Size: 32768b+ 65536b+
No. of Reads: 0 0
No. of Writes: 8190 1
%-latency Avg-latency Min-Latency Max-Latency No. of calls Fop
--------- ----------- ----------- ----------- ------------ ----
0.00 0.00 us 0.00 us 0.00 us 7 RELEASE
0.00 0.00 us 0.00 us 0.00 us 21 RELEASEDIR
0.00 30.00 us 30.00 us 30.00 us 1 STATFS
0.00 5.76 us 2.00 us 9.00 us 21 OPENDIR
0.00 64.50 us 30.00 us 99.00 us 2 FLUSH
0.00 23.17 us 20.00 us 27.00 us 6 FSTAT
0.00 95.50 us 89.00 us 102.00 us 2 XATTROP
0.00 272.00 us 272.00 us 272.00 us 1 CREATE
0.00 61.67 us 42.00 us 85.00 us 6 OPEN
0.00 98.94 us 31.00 us 428.00 us 16 FXATTROP
0.00 79.92 us 22.00 us 190.00 us 38 LOOKUP
0.12 2379.48 us 1376.00 us 4600.00 us 42 READDIR
0.74 74.70 us 42.00 us 49556.00 us 8191 WRITE
10.29 163490.19 us 19.00 us 1405941.00 us 52 INODELK
19.02 320668.04 us 26.00 us 15705174.00 us 49
GETXATTR
69.83 57700430.00 us 57700430.00 us 57700430.00 us 1
FSY
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=R95Cz5T7O1&a=cc_unsubscribe
More information about the Bugs
mailing list