[Bugs] [Bug 1393419] read-ahead not working if open-behind is turned on

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 26 04:26:15 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1393419



--- Comment #8 from Milind Changire <mchangir at redhat.com> ---
Test re-run by doing fresh mount before every "dd" run:

09:05:47 [root at f25client1 ~] # mount -t glusterfs f25node1:/dist-rep
/mnt/dist-rep
09:05:52 [root at f25client1 ~] # dd if=/dev/zero of=/mnt/dist-rep/1g bs=1M
count=1K
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 77.2741 s, 13.9 MB/s

09:09:04 [root at f25client1 ~] # umount /mnt/dist-rep 

09:06:12 [root at f25node1 ~] # gluster volume set dist-rep
performance.read-ahead-page-count 1
volume set: success
09:06:39 [root at f25node1 ~] # gluster volume set dist-rep
performance.open-behind on
volume set: success

09:11:12 [root at f25client1 ~] # mount -t glusterfs f25node1:/dist-rep
/mnt/dist-rep
09:11:25 [root at f25client1 ~] # dd if=/mnt/dist-rep/1g bs=1M of=/dev/null
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 8.16453 s, 132 MB/s

09:12:07 [root at f25client1 ~] # umount /mnt/dist-rep 

09:06:54 [root at f25node1 ~] # gluster volume set dist-rep
performance.read-ahead-page-count 16

09:13:40 [root at f25client1 ~] # mount -t glusterfs f25node1:/dist-rep
/mnt/dist-rep
09:13:44 [root at f25client1 ~] # dd if=/mnt/dist-rep/1g bs=1M of=/dev/null
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 20.1027 s, 53.4 MB/s

09:13:21 [root at f25node1 ~] # gluster volume set dist-rep
performance.open-behind off
volume set: success

09:16:32 [root at f25client1 ~] # umount /mnt/dist-rep 

09:40:07 [root at f25client1 ~] # mount -t glusterfs f25node1:/dist-rep
/mnt/dist-rep
09:40:31 [root at f25client1 ~] # dd if=/mnt/dist-rep/1g bs=1M of=/dev/null
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 10.2474 s, 105 MB/s

-- 
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=FmTaaglfcV&a=cc_unsubscribe


More information about the Bugs mailing list