<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Parallel dry-run in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4712854#M7487</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/711830"&gt;@snovello&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 15:33:40 GMT</pubDate>
    <dc:creator>suvdeshm</dc:creator>
    <dc:date>2022-10-28T15:33:40Z</dc:date>
    <item>
      <title>Parallel dry-run</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4711162#M7479</link>
      <description>&lt;P&gt;Is there any way to do dry-run in parallel ? What is the best way to design this for best performance? There are more than 200 devices. Dry-run is while applying template on device. There is no service.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 17:17:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4711162#M7479</guid>
      <dc:creator>suvdeshm</dc:creator>
      <dc:date>2022-10-26T17:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel dry-run</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4711582#M7480</link>
      <description>&lt;P&gt;Lockless dry-run, which would enable you to run dry-run in parallel, is introduced with NSO 6.0. In previous versions of NSO, the dry-run diff is calculated within the critical section of the transaction, under the global transaction lock, which prohibits you from running dry-run concurrently.&lt;BR /&gt;&lt;BR /&gt;If you are running with NSO 6.0, I would probably try to limit the number of requests you do in parallel to something equivalent to the number of cores you have available or slightly below to get the best performance.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 07:07:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4711582#M7480</guid>
      <dc:creator>Christian Rennerskog</dc:creator>
      <dc:date>2022-10-27T07:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel dry-run</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4711815#M7481</link>
      <description>&lt;P&gt;Can you share any information on this? Do I have to enable it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 13:29:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4711815#M7481</guid>
      <dc:creator>suvdeshm</dc:creator>
      <dc:date>2022-10-27T13:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel dry-run</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4711881#M7482</link>
      <description>&lt;P&gt;You don't need to enable it, but you might have to get acquainted with the new concurrency control model for NSO and what that means for your system.&lt;BR /&gt;If you want more background on this I would recommend that you to read the following chapters in the user guide:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/docs/nso/guides/#!what-is-new-in-nso-nso-6-0/nso-6-0" target="_blank"&gt;https://developer.cisco.com/docs/nso/guides/#!what-is-new-in-nso-nso-6-0/nso-6-0&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developer.cisco.com/docs/nso/guides/#!nso-concurrency-model/nso-concurrency-model" target="_blank"&gt;https://developer.cisco.com/docs/nso/guides/#!nso-concurrency-model/nso-concurrency-model&lt;/A&gt;&lt;BR /&gt;There are also two presentations on the same topic here:&lt;BR /&gt;&lt;A href="https://www.youtube.com/channel/UCVMgxfH4h4XyNV8VxSMtgnQ" target="_blank"&gt;https://www.youtube.com/channel/UCVMgxfH4h4XyNV8VxSMtgnQ&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 14:39:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4711881#M7482</guid>
      <dc:creator>Christian Rennerskog</dc:creator>
      <dc:date>2022-10-27T14:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel dry-run</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4712810#M7485</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/425253"&gt;@Christian Rennerskog&lt;/a&gt;&amp;nbsp;. I can present this to the customer as it means upgrading to 6.0. Just to summarize if the apply-template on device-group is invoked parallel processing for commit dry-run will happen internally and better performance is expected in 6.0.&lt;/P&gt;
&lt;P&gt;Is that correct?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 14:14:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4712810#M7485</guid>
      <dc:creator>suvdeshm</dc:creator>
      <dc:date>2022-10-28T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel dry-run</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4712851#M7486</link>
      <description>&lt;P&gt;To get that parallelism you would have to write code that starts multiple threads dividing individual device apply-template dry runs amongst those threads&amp;nbsp; and collecting all the results. The device-group apply-template action creates one big transaction with all the changes so cannot exploit the parallelism that can exist across different transactions in NSO 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 15:24:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4712851#M7486</guid>
      <dc:creator>snovello</dc:creator>
      <dc:date>2022-10-28T15:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel dry-run</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4712854#M7487</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/711830"&gt;@snovello&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 15:33:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/parallel-dry-run/m-p/4712854#M7487</guid>
      <dc:creator>suvdeshm</dc:creator>
      <dc:date>2022-10-28T15:33:40Z</dc:date>
    </item>
  </channel>
</rss>

