<p dir="ltr">Yeah, you are right... I forgot that subtle difference.</p>
<p dir="ltr">You still need a DR volume in case data is precious . UPS is also nice to have.</p>
<p dir="ltr">You should consider sharding and also NUMA pinning.<br>
For example if your node has 2 numa nodes and 128 GB per numa node - you should create 2 tmpfs (pinned per numa) of 128GB each.If you create a single 256 GB tmpfs perforamnce will be sporadic.</p>
<p dir="ltr">You can google 'SAP HANA fast reboot' for an example.</p>
<p dir="ltr">Have you thought about 'replicated dispersed' type of volumes ? What about network - RDMA ?</p>
<p dir="ltr">Best Regards,<br>
Strahil Nikolov</p>
<div class="quote">On Aug 21, 2019 13:47, Ewen Chan <alpha754293@hotmail.com> wrote:<br type='attribution'><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
Strahil:<br />
<br />
Thank you.<br />
<br />
I was doing some research in regards to the difference between ramfs and tmpfs and what others were saying about ramfs is that you can't actually set a ramfs mount point to have a fixed size, so it will keep filling up until you run out of RAM which will either
cause the application to crash or it would case it to start swapping heavily.</div>
<div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br />
</div>
<div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
This is why I went with tmpfs instead because with tmpfs, you can limit it to a fixed size, so it won't grow indefinitely until you run out of RAM, which can cause the host system to hang.</div>
<div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br />
</div>
<div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
Thanks.</div>
<div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br />
</div>
<div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
Sincerely,</div>
<div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
Ewen<br />
</div>
<div>
<div></div>
<div style="font-family:'calibri' , 'helvetica' , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
<br />
</div>
<hr style="display:inline-block;width:98%" />
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Strahil <hunter86_bg@yahoo.com><br />
<b>Sent:</b> August 21, 2019 6:09 AM<br />
<b>To:</b> Ewen <alpha754293@hotmail.com>; gluster-users <gluster-users@gluster.org><br />
<b>Subject:</b> Re: [Gluster-users] Can I create a distributed dispersed volume withRAM drives?</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
</span></font><div>In such setup you definately need a remote DR volume...<br />
<br />
If you create your volumes as ramfs , you should not have issues, but use systemd.mount units - 1. For the ramfs , 2. For glusterd to require the ramfs mount point.<br />
<br />
Best Regards,<br />
Strahil NikolovOn Aug 20, 2019 06:37, Ewen Chan <alpha754293@hotmail.com> wrote:<br />
><br />
> To Whom It May Concern: <br />
><br />
> I am currently using CentOS 7.6.1810 on four compute nodes, where each node has 128 GB of RAM.
<br />
><br />
> I have created a tmpfs mount point using half of the RAM. <br />
><br />
> I read the CentOS SIG Gluster Quickstart wiki/document (<a href="https://wiki.centos.org/SpecialInterestGroup/Storage/gluster-Quickstart">https://wiki.centos.org/SpecialInterestGroup/Storage/gluster-Quickstart</a>). In there, it was creating a replicated
volume. <br />
><br />
> Can I create a distributed dispersed volume with RAM drives? <br />
><br />
> I was able to create a distributed volume, but I am having difficulties trying to create a distributed dispersed volume.
<br />
><br />
> Any help in regards to this matter would be greatly appreciated! <br />
><br />
> Thank you. <br />
><br />
> Sincerely, <br />
><br />
> Ewen Chan <br />
><br />
><br />
> _______________________________________________ <br />
> Gluster-users mailing list <br />
> Gluster-users@gluster.org <br />
> <a href="https://lists.gluster.org/mailman/listinfo/gluster-users">https://lists.gluster.org/mailman/listinfo/gluster-users</a>
<br />
</div>
</div>
</div>
</div>
</blockquote></div>