<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:40:50 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LUDOC-175] Need Guidance on Selecting sgpdd-survey Parameters</title>
                <link>https://jira.whamcloud.com/browse/LUDOC-175</link>
                <project id="10070" key="LUDOC">Lustre Documentation</project>
                    <description>
&lt;p&gt;It would help customers and partners if we could help add information in the following areas:&lt;/p&gt;

&lt;p&gt;1.  More info on the parameters&lt;br/&gt;
2.  Suggestions around selecting the range of the parameters&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
                <environment></environment>
        <key id="20571">LUDOC-175</key>
            <summary>Need Guidance on Selecting sgpdd-survey Parameters</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="10100">Low Priority</resolution>
                                        <assignee username="dan cobb">Dan Cobb</assignee>
                                    <reporter username="dferber">Dan Ferber</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Aug 2013 18:09:46 +0000</created>
                <updated>Wed, 25 Oct 2017 15:41:09 +0000</updated>
                            <resolved>Wed, 25 Oct 2017 15:41:09 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="64867" author="dferber" created="Thu, 22 Aug 2013 18:11:56 +0000"  >
&lt;p&gt;(from Zhiqi Tao)&lt;/p&gt;

&lt;p&gt;These failures are normal. There should be a sgpdd_survey_&lt;span class=&quot;error&quot;&gt;&amp;#91;date&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;time&amp;#93;&lt;/span&gt;.detail file in the working directory that shows the failures due to out of memory.&lt;/p&gt;

&lt;p&gt;&quot;sg starting in command at &quot;sgp_dd.c&quot;:827: Cannot allocate memory&quot;&lt;/p&gt;

&lt;p&gt;BTW, I normally put sgpdd-survey into a script and run from there.&lt;/p&gt;

&lt;p&gt;Here is what I normally use.&lt;/p&gt;

&lt;p&gt;$ cat run_sgpdd-survey.sh&lt;br/&gt;
#!/bin/bash&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Device List, for example, &quot;/dev/raw/raw1 /dev/raw/raw2 /dev/raw/raw3&quot;&lt;br/&gt;
DEVICE=&quot;regal-oss01:/dev/sdh regal-oss01:/dev/sdi regal-oss01:/dev/sdj regal-oss01:/dev/sdk regal-oss01:/dev/sdl regal-oss01:/dev/sdm regal-oss00:/dev/sdh regal-oss00:/dev/sdi regal-oss00:/dev/sdj regal-oss00:/dev/sdk regal-oss00:/dev/sdl regal-oss00:/dev/sdm&quot;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;The directory for the test output&lt;br/&gt;
OUTDIR=&quot;/root/test_results/sgpdd_survey/&quot;&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;The test dataset size (MB) for each LUN. The total dataset size must be larger than 2 times of the RAM size in order to avoid the caching.&lt;/li&gt;
	&lt;li&gt;The calculation of the size&lt;/li&gt;
	&lt;li&gt;(RAM size * 2) / the number of LUNs&lt;/li&gt;
	&lt;li&gt;For example, the server RAM is 24GB and there are 5 LUN&lt;/li&gt;
	&lt;li&gt;the size should be (24GB * 2 ) / 5 ~= 10 GB = 10240 MB&lt;/li&gt;
	&lt;li&gt;However, it is a good idea to run a very short trial run to make sure the test configuration working properly before scheduling a complete test.&lt;/li&gt;
	&lt;li&gt;SIZE=100 is a good number for the trial run&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;SIZE=100&lt;br/&gt;
SIZE=23000&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;Concurrent Regions&lt;/li&gt;
	&lt;li&gt;CRGLO=1 - start from 1 concurrent regions&lt;/li&gt;
	&lt;li&gt;CRGHI=256 - finish at the X number of concurrent regions.&lt;/li&gt;
	&lt;li&gt;Before starting a complete run, use the following settings for a quick trial run.&lt;br/&gt;
CRGLO=1&lt;br/&gt;
CRGHI=256&lt;/li&gt;
&lt;/ol&gt;


&lt;ol&gt;
	&lt;li&gt;Thread count&lt;/li&gt;
	&lt;li&gt;THRLO=1&lt;/li&gt;
	&lt;li&gt;THRHI=4096&lt;/li&gt;
	&lt;li&gt;Before starting a complete run, use the following settings for a quick trial run.&lt;br/&gt;
THRLO=1&lt;br/&gt;
THRHI=4096&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;mkdir -p ${OUTDIR}&lt;br/&gt;
ssh regal-oss00 mkdir -p ${OUTDIR}&lt;br/&gt;
echo crglo=$CRGLO crghi=$CRGHI thrlo=$THRLO thrhi=$THRHI size=$SIZE rslt_loc=${OUTDIR} scsidevs=&quot;$DEVICE&quot; ./sgpdd-survey&lt;br/&gt;
crglo=$CRGLO crghi=$CRGHI thrlo=$THRLO thrhi=$THRHI size=$SIZE rslt_loc=${OUTDIR} scsidevs=&quot;$DEVICE&quot; ./sgpdd-survey&lt;/p&gt;

&lt;p&gt;I used the enhanced sgpdd-survey from &lt;a href=&quot;https://jira.hpdd.intel.com/browse/LU-2043&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.hpdd.intel.com/browse/LU-2043&lt;/a&gt; According to the ticket, It should be in 2.4 now.&lt;/p&gt;</comment>
                            <comment id="64877" author="dferber" created="Thu, 22 Aug 2013 19:24:30 +0000"  >&lt;p&gt;I received the same error... The root cause is the sg device. If you try to run sgp-dd against the sd device, you don&apos;t receive any errors, but if you try (as sgpddsurvey does) the sg device you receive the memory error. My workaround (per Zhiqi suggestion) was using raw devices.&lt;/p&gt;

&lt;p&gt;Gabriele Paciucci&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvyzb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9877</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>