[Bugs] [Bug 1475605] New: gluster-block default shard-size should be 64MB
bugzilla at redhat.com
bugzilla at redhat.com
Thu Jul 27 00:38:33 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1475605
Bug ID: 1475605
Summary: gluster-block default shard-size should be 64MB
Product: GlusterFS
Version: mainline
Component: core
Assignee: bugs at gluster.org
Reporter: pkarampu at redhat.com
CC: bugs at gluster.org
Description of problem:
With 4MB shard size I/O slows down more because of the extra
inodelk/xattrops in replicate. So increasing it to 64MB which
gave better performance than 4MB.
To simulate writes on a preallocated VM-image, fallocate the file and then
do
dd with notrunc
do "fallocate -l 1GB" then "dd if=/dev/zero of=file-1GB bs=1MB count=1024
conv=notrunc"
These are the results on my laptop for dd:
With 4MB:
1.84 1357.37 us 19.00 us 12431.00 us 1188
FINODELK
2.45 255.08 us 58.00 us 4038.00 us 8428
WRITE
95.69 78967.76 us 30.00 us 20324240.00 us 1063
FXATTROP
With 64MB:
0.13 59.36 us 15.00 us 814.00 us 657
FINODELK
6.02 225.53 us 69.00 us 6556.00 us 8205
WRITE
93.82 103015.12 us 32.00 us 13046368.00 us 280
FXATTROP
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list