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

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 26 08:34:25 UTC 2017


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

Milind Changire <mchangir at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(mchangir at redhat.c |
                   |om)                         |



--- Comment #10 from Milind Changire <mchangir at redhat.com> ---
(In reply to Raghavendra G from comment #9)
> @Milind,
> 
> I am curious to know whether you see same behavior by change read-ahead page
> count without applying the fix. Can you try that?
> 
> regards,
> Raghavendra

Following is the test run *without* the patch:

13:50:23 [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, 101.623 s, 10.6 MB/s

13:53:11 [root at f25client1 ~] # umount /mnt/dist-rep 

13:54:30 [root at f25client1 ~] # mount -t glusterfs f25node1:/dist-rep
/mnt/dist-rep

13:54:36 [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.44487 s, 127 MB/s

13:50:40 [root at f25node1 ~] # gluster volume set dist-rep
performance.read-ahead-page-count 16

13:56:10 [root at f25client1 ~] # umount /mnt/dist-rep 
13:56:35 [root at f25client1 ~] # mount -t glusterfs f25node1:/dist-rep
/mnt/dist-rep
13:56:59 [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, 5.23783 s, 205 MB/s

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

13:57:34 [root at f25client1 ~] # umount /mnt/dist-rep 
13:57:57 [root at f25client1 ~] # mount -t glusterfs f25node1:/dist-rep
/mnt/dist-rep
13:58:00 [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, 5.52333 s, 194 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=8HnQygoM75&a=cc_unsubscribe


More information about the Bugs mailing list