<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Ernie,</p>
<p>For small-files, there are few tunables you would go for a good
performance.</p>
<p>first stop the volume and then set the below parameters:-<br>
</p>
<p>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
</p>
<p>
<meta charset="utf-8">
<b style="font-weight:normal;"
id="docs-internal-guid-d67243dc-7ed4-e9ef-1edc-6a4cd85db2cc">
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:11pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">gluster volume set <b><volname></b> cluster.lookup-optimize </span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">on</span></p>
<p dir="ltr"
style="line-height:1.38;margin-top:0pt;margin-bottom:11pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">gluster volume set </span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"><b style="font-weight:normal;" id="docs-internal-guid-d67243dc-7ed4-e9ef-1edc-6a4cd85db2cc"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"><b><volname></b></span></b> server.event-threads </span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">4</span></p>
<p dir="ltr"
style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">gluster volume set </span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"><b style="font-weight:normal;" id="docs-internal-guid-d67243dc-7ed4-e9ef-1edc-6a4cd85db2cc"><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;"><b><volname></b></span></b> client.event-threads </span><span style="font-size:11pt;font-family:Arial;color:#000000;background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;">4</span></p>
</b></p>
Start the volume and do a rebalance on the volume using :- gluster
volume rebalance <volname> start ; check the status using the
gluster volume rebalance <volname> status . you will be seeing
a bump in performance of small files workload.<br>
<br>
Thanks & Regards<br>
Karan Sandha<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 02/25/2017 02:46 PM, Vahric
Muhtaryan wrote:<br>
</div>
<blockquote cite="mid:D4D72318.393149%25vahric@doruk.net.tr"
type="cite">
<div>Hello Ernie , </div>
<div><br>
</div>
<div>Actually why not really set it Raid0 also for mail server
raid10 should be fine , you can do it both .</div>
<div>Actually I m not real gluster user but just only tried for vm
instances . I find from blogs fro small io you should also care
and tune about LOOKUP issues</div>
<div>One more actually I don’t know how you are handling HA but
with glusterfs but I believe that if you are not using NFS
Ganesha you have single point of failure everytime , isn't it ? </div>
<div><br>
</div>
<div>Regards</div>
<div>VM</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt;
text-align:left; color:black; BORDER-BOTTOM: medium none;
BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span
style="font-weight:bold">From: </span> <<a
moz-do-not-send="true"
href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a>>
on behalf of Ernie Dunbar <<a moz-do-not-send="true"
href="mailto:maillist@lightspeed.ca">maillist@lightspeed.ca</a>><br>
<span style="font-weight:bold">Date: </span> Friday, 24
February 2017 at 22:36<br>
<span style="font-weight:bold">To: </span> Gluster-users <<a
moz-do-not-send="true"
href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>><br>
<span style="font-weight:bold">Subject: </span> **SPAM**
[Gluster-users] Gluster performance is paramount!<br>
</div>
<div><br>
</div>
<div>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hi everyone!</p>
<p>We have a gluster array of three servers supporting a
large mail server with about 10,000 e-mail accounts with
the Maildir file format. This means lots of random small
file reads and writes. Gluster's performance hasn't been
great since we switched to it from a local disk on a
single server, but we're aiming for high availability
here, since simply restoring that mail from backups (or
even backing it up in the first place) takes a day or two.
Clearly, some kind of network drive is what we need, and
Gluster does the job better than every other solution
we've looked at so far.<br>
</p>
<p>The problem comes from the fact that when I set out on
this project, I'd never done any kind of performance
tuning before. We didn't need it. All three of our Gluster
servers are set up in a RAID5 array with a hot spare. I'm
starting to think that the performance woes we have all
stem from this fact, and speaking to one of my colleagues,
it was suggested that Gluster can handle the data
integrity just fine on its own, so why don't we just
switch to the fastest possible type, RAID0 and completely
toss out any data integrity on each individual node in the
cluster?</p>
<p>While this sounds good in theory, I'd like to know how
well this works in practice before subjecting our 10,000
e-mail clients to this experiment. The other possibility
is to switch our Gluster nodes to RAID1 or 10, which might
be faster than RAID5 while still keeping some semblance of
data integrity.<br>
</p>
</div>
</div>
_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true"
href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a moz-do-not-send="true"
href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a></span>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>