No, thealgorithm is not purely random, it is weighted on QOS, space and a few other things.<div>When a stripe is chosen on one OSS, we add a penalty to the other OSTs on that OSS to prevent</div><div>IO bunching on one OSS.</div>
<div>cliffw</div><div><br><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 1:59 PM, Jeremy Filizetti <span dir="ltr">&lt;<a href="mailto:jeremy.filizetti@gmail.com">jeremy.filizetti@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I this a feature implemented after 1.8.5? In the past default striping without an offset resulted in sequential stripe allocation according to client device order for a striped file. Basically the order OSTs were mounted after the the last --writeconf is the order the targets are added to the client llog and allocated. <br>

<br>It&#39;s probably not a big deal for lots of clients but for a small number of clients doing large sequential IO or working over the WAN it is. So regardless of an A or B configuration a file with a stripe count of 3 could end up issuing IO to a single OSS instead of using round-robin between the socket/queue pair to each OSS.<br>
<font color="#888888">
<br>Jeremy</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 11:06 AM, Kevin Van Maren <span dir="ltr">&lt;<a href="mailto:kevin.van.maren@oracle.com" target="_blank">kevin.van.maren@oracle.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
It used to be that multi-stripe files were created with sequential OST<br>
indexes. It also used to be that OST indexes were sequentially assigned<br>
to newly-created files.<br>
As Lustre now adds greater randomization, the strategy for assigning<br>
OSTs to OSS nodes (and storage hardware, which often limits the<br>
aggregate performance of multiple OSTs) is less important.<br>
<br>
While I have normally gone with &quot;a&quot;, &quot;b&quot; can make it easier to remember<br>
where OSTs are located, and also keep a uniform convention if the<br>
storage system is later grown.<br>
<font color="#888888"><br>
Kevin<br>
</font><div><div></div><div><br>
<br>
Heckes, Frank wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; sorry if this question has been answered before.<br>
&gt;<br>
&gt; What is the optimal &#39;strategy&#39; assigning OSTs to OSS nodes:<br>
&gt;<br>
&gt; -a- Assign OST via round-robin to the OSS<br>
&gt; -b- Assign in consecutive order (as long as the backend storage provides<br>
&gt;   enought capacity for iops and bandwidth)<br>
&gt; -c- Something &#39;in-between&#39; the &#39;extremes&#39; of -a- and -b-<br>
&gt;<br>
&gt; E.g.:<br>
&gt;<br>
&gt; -a-   OSS_1      OSS_2      OST_3<br>
&gt;      |_       |_       |_<br>
&gt;       OST_1      OST_2      OST_3<br>
&gt;       OST_4      OST_5      OST_6<br>
&gt;       OST_7      OST_8      OST_9<br>
&gt;<br>
&gt; -b-   OSS_1      OSS_2      OST_3<br>
&gt;      |_       |_       |_<br>
&gt;       OST_1      OST_4      OST_7<br>
&gt;       OST_2      OST_5      OST_8<br>
&gt;       OST_3      OST_6      OST_9<br>
&gt;<br>
&gt; I thought -a- would be best for task-local (each task write to own<br>
&gt; file) and single file (all task write to single file) I/O since its like<br>
&gt; a raid-0 approach used disk I/O (and SUN create our first FS this way).<br>
&gt; Does someone made any systematic investigations which approach is best<br>
&gt; or have some educated opinion?<br>
&gt; Many thanks in advance.<br>
&gt; BR<br>
&gt;<br>
&gt; -Frank Heckes<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------------------------<br>
&gt; ------------------------------------------------------------------------------------------------<br>
&gt; Forschungszentrum Juelich GmbH<br>
&gt; 52425 Juelich<br>
&gt; Sitz der Gesellschaft: Juelich<br>
&gt; Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498<br>
&gt; Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher<br>
&gt; Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),<br>
&gt; Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,<br>
&gt; Prof. Dr. Sebastian M. Schmidt<br>
&gt; ------------------------------------------------------------------------------------------------<br>
&gt; ------------------------------------------------------------------------------------------------<br>
&gt;<br>
&gt; Besuchen Sie uns auf unserem neuen Webauftritt unter <a href="http://www.fz-juelich.de" target="_blank">www.fz-juelich.de</a><br>
&gt; _______________________________________________<br>
&gt; Lustre-discuss mailing list<br>
&gt; <a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br>
&gt; <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>cliffw<div>Support Guy</div><div>WhamCloud, Inc.</div><div><a href="http://www.whamcloud.com" target="_blank">www.whamcloud.com</a></div><div><br></div><br>
</div>