<div dir="ltr"><div><div><div><div><div><div>I was trying to use <a href="http://lists.gluster.org/pipermail/gluster-users/2015-June/022322.html">http://lists.gluster.org/pipermail/gluster-users/2015-June/022322.html</a><br></div>as an example and it never worked<br></div>Neither did <code>gluster volume set <VOLNAME> cluster.nufa enable on</code><br></div>with <br> cluster.choose-local: on<br> cluster.nufa: on<br></div>It still reads data from network bricks.<br></div><br>Was thinking to block inter-server network access for reading somehow, but seemed too suicidal.<br><br></div><div>Suggestions welcome.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 18, 2018 at 4:32 PM, Frederik Banke <span dir="ltr"><<a href="mailto:info@patch.dk" target="_blank">info@patch.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="m_739115097481092703gmail_signature"><div>I have created a 2 brick replicated volume.</div><div><br></div><div><div>gluster> volume status</div><div>Status of volume: storage</div><div>Gluster process TCP Port RDMA Port Online Pid</div><div>------------------------------<wbr>------------------------------<wbr>------------------</div><div>Brick master:/glusterfs/bricks/<wbr>storage/mountpoint 49153 0 Y 5301</div><div>Brick worker1:/glusterfs/bricks/<wbr>storage/mountpoint 49153 0 Y 3002</div><div><br></div></div><div>The volume is mounted like this:</div><div>On worker1 node /etc/fstab</div><div>worker1:/storage /data/storage/ glusterfs defaults,_netdev 0 0<br></div><div><br></div><div>On master node /etc/fstab</div><div>master:/storage /data/storage/ glusterfs defaults,_netdev 0 0<br></div><div><br></div><div>When I add read load(many small files) on the volume mounted on the master node CPU usage looks like this:</div><div>On master node: glusterfs ~ 50%</div><div>On master node: glusterfsd ~ 25%</div><div><br></div><div>On worker1 node: glusterfsd ~ 50% </div><div><br></div><div>There is no other load on the servers than the read load I start.</div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Can anyone help to clarify my understanding of the architecture? </div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>