I was trying to use http://lists.gluster.org/pipermail/gluster-users/2015-June/022322.html
as an example and it never workedgluster volume set <VOLNAME> cluster.nufa enable on
cluster.choose-local: on
cluster.nufa: on
Was thinking to block inter-server network access for reading somehow, but seemed too suicidal.
Suggestions welcome.
On Wed, Apr 18, 2018 at 4:32 PM, Frederik Banke <info@xxxxxxxx> wrote:
I have created a 2 brick replicated volume.gluster> volume statusStatus of volume: storageGluster process TCP Port RDMA Port Online Pid------------------------------------------------------------ ------------------ Brick master:/glusterfs/bricks/storage/mountpoint 49153 0 Y 5301 Brick worker1:/glusterfs/bricks/storage/mountpoint 49153 0 Y 3002 The volume is mounted like this:On worker1 node /etc/fstabworker1:/storage /data/storage/ glusterfs defaults,_netdev 0 0On master node /etc/fstabmaster:/storage /data/storage/ glusterfs defaults,_netdev 0 0When I add read load(many small files) on the volume mounted on the master node CPU usage looks like this:On master node: glusterfs ~ 50%On master node: glusterfsd ~ 25%On worker1 node: glusterfsd ~ 50%There is no other load on the servers than the read load I start.When I inspect the glusterfsd process on worker1 using strace, it seems like it does at least some of the file reading from this node.Is this expected behavior? I would think that since it is a replicated volume and read load, it would serve all the requests from the brick on the localhost and not use the network to serve the requests.Can anyone help to clarify my understanding of the architecture?
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users