[Gluster-users] Slow write times to gluster disk

Pat Haley
2017-05-10T16:05:25Z

Without the oflag=sync and only a single test of each, the FUSE is going
faster than NFS:

FUSE:
mseas-data2(dri_nascar)% dd if=/dev/zero count=4096 bs=1048576
of=zeros.txt conv=sync
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB) copied, 7.46961 s, 575 MB/s


NFS
mseas-data2(HYCOM)% dd if=/dev/zero count=4096 bs=1048576 of=zeros.txt
conv=sync
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB) copied, 11.4264 s, 376 MB/s


On 05/10/2017 11:53 AM, Pranith Kumar Karampuri wrote:
> Could you let me know the speed without oflag=sync on both the mounts?
> No need to collect profiles.
>
> On Wed, May 10, 2017 at 9:17 PM, Pat Haley <phaley at mit.edu
> <mailto:phaley at mit.edu>> wrote:
>
>
>     Here is what I see now:
>
>     [root at mseas-data2 ~]# gluster volume info
>
>     Volume Name: data-volume
>     Type: Distribute
>     Volume ID: c162161e-2a2d-4dac-b015-f31fd89ceb18
>     Status: Started
>     Number of Bricks: 2
>     Transport-type: tcp
>     Bricks:
>     Brick1: mseas-data2:/mnt/brick1
>     Brick2: mseas-data2:/mnt/brick2
>     Options Reconfigured:
>     diagnostics.count-fop-hits: on
>     diagnostics.latency-measurement: on
>     nfs.exports-auth-enable: on
>     diagnostics.brick-sys-log-level: WARNING
>     performance.readdir-ahead: on
>     nfs.disable: on
>     nfs.export-volumes: off
>
>
>
>     On 05/10/2017 11:44 AM, Pranith Kumar Karampuri wrote:
>>     Is this the volume info you have?
>>
>>     >/[root at mseas-data2
>>     <http://www.gluster.org/mailman/listinfo/gluster-users> ~]#
>>     gluster volume info />//>/Volume Name: data-volume
/>/Type: Distribute />/Volume ID: c162161e-2a2d-4dac-b015-f31fd89ceb18
/>/Status: Started />/Number of Bricks: 2 />/Transport-type: tcp
/>/Bricks: />/Brick1: mseas-data2:/mnt/brick1 />/Brick2:
mseas-data2:/mnt/brick2 />/Options Reconfigured:
/>/performance.readdir-ahead: on />/nfs.disable: on
/>/nfs.export-volumes: off /
>>     ?I copied this from old thread from 2016. This is distribute
>>     volume. Did you change any of the options in between?
>
>     --
>
>     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>     Pat Haley                          Email:phaley at mit.edu
<mailto:phaley at mit.edu>
>     Center for Ocean Engineering       Phone:  (617) 253-6824
>     Dept. of Mechanical Engineering    Fax:    (617) 253-8125
>     MIT, Room 5-213http://web.mit.edu/phaley/www/
>     77 Massachusetts Avenue
>     Cambridge, MA  02139-4301
>
> --
> Pranith
--

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Pat Haley                          Email:  phaley at mit.edu
Center for Ocean Engineering       Phone:  (617) 253-6824
Dept. of Mechanical Engineering    Fax:    (617) 253-8125
MIT, Room 5-213                    http://web.mit.edu/phaley/www/
77 Massachusetts Avenue
Cambridge, MA  02139-4301
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.gluster.org/pipermail/gluster-users/attachments/20170510/a7da71ed/attachment.html>