<?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: Performance and execution times in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4110114#M5050</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="686286" data-lia-user-login="PedroCSeq" class="lia-mention lia-mention-user"&gt;PedroCSeq&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that you are experiencing a significant delay due to free time while running your laptop in Microsoft Fabric. This can often be attributed to the time it takes to start and manage a Spark session.&amp;nbsp;You can try the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enable high concurrency mode. This mode allows multiple notebooks to share a single Spark session, reducing the overhead of starting a new session each time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;With High Concurrency Mode enabled, there's no need to start new spark sessions every time to run a notebook.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/configure-high-concurrency-session-notebooks" target="_blank"&gt;Configure high concurrency mode for notebooks - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Use Spark Autotune. Fabric's Spark Autotune feature automatically fine-tunes Spark Settings to optimize performance and reduce execution time without human intervention.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://blog.fabric.microsoft.com/en-us/blog/fabric-spark-autotune-and-run-series-job-analysis-public-preview/" target="_blank"&gt;Fabric Spark Autotune and Run Series Job Analysis | Microsoft Fabric Blog | Microsoft Fabric&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Utilize the built-in Spark advisor in Fabric to analyze your notebook code and Spark executions in real-time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/spark-monitor-debug" target="_blank"&gt;Notebook contextual monitoring and debugging - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ensure that your Spark configurations are optimized for the workload. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By implementing these strategies, you should be able to reduce the idle time and improve the overall efficiency of your notebook executions.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nono Chen&lt;/P&gt;
&lt;P&gt;If this &lt;STRONG&gt;&lt;EM&gt;post&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2024 01:31:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-08-21T01:31:26Z</dc:date>
    <item>
      <title>Performance and execution times</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4108928#M5038</link>
      <description>&lt;P&gt;Hello everyone,&lt;BR /&gt;&lt;BR /&gt;I'm building a lakehouse to serve as the centralized source of truth for an organization and the periodic ingestions are taking a looong time to ingest a relatively small volume of data. The built in fabric activities don't seem to be taking more that they should and the variance on the execution time is low, but the execution of notebooks in the pipelines seems to be broken:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anyone aware of why a notebook would take 2 and a half minutes when the code itself executed in the notebook takes little more than 1s? Can this be improved on by changing some configuration setting(s)?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 09:52:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4108928#M5038</guid>
      <dc:creator>PedroCSeq</dc:creator>
      <dc:date>2024-08-20T09:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Performance and execution times</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4109407#M5041</link>
      <description>&lt;P&gt;I'm just guessing here - If you rerun it right away, does it still take the same amount of time? If it has been awhile since you last ran code, it could be waiting for an instance to spin up?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 14:41:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4109407#M5041</guid>
      <dc:creator>mikeburek</dc:creator>
      <dc:date>2024-08-20T14:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Performance and execution times</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4109443#M5042</link>
      <description>&lt;P&gt;Times are not consistent, but the fact that it would take a lot less time to just run the code&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But the efficiency and idle times in a one operation notebook shouldn't be this low and high respectivelly&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 14:48:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4109443#M5042</guid>
      <dc:creator>PedroCSeq</dc:creator>
      <dc:date>2024-08-20T14:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Performance and execution times</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4109478#M5045</link>
      <description>&lt;P&gt;Oh, that is weird that your total idle time is still almost 80% of the total time. I didn't expect that to stay that high.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 15:03:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4109478#M5045</guid>
      <dc:creator>mikeburek</dc:creator>
      <dc:date>2024-08-20T15:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Performance and execution times</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4109491#M5046</link>
      <description>&lt;P&gt;The idle time is high basically across&amp;nbsp;pipeline execution, this in a completely&amp;nbsp;different notebook, so efficiency is not a given, but the iddle time is still high&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 15:08:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4109491#M5046</guid>
      <dc:creator>PedroCSeq</dc:creator>
      <dc:date>2024-08-20T15:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Performance and execution times</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4110114#M5050</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="686286" data-lia-user-login="PedroCSeq" class="lia-mention lia-mention-user"&gt;PedroCSeq&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that you are experiencing a significant delay due to free time while running your laptop in Microsoft Fabric. This can often be attributed to the time it takes to start and manage a Spark session.&amp;nbsp;You can try the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enable high concurrency mode. This mode allows multiple notebooks to share a single Spark session, reducing the overhead of starting a new session each time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;With High Concurrency Mode enabled, there's no need to start new spark sessions every time to run a notebook.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/configure-high-concurrency-session-notebooks" target="_blank"&gt;Configure high concurrency mode for notebooks - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Use Spark Autotune. Fabric's Spark Autotune feature automatically fine-tunes Spark Settings to optimize performance and reduce execution time without human intervention.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://blog.fabric.microsoft.com/en-us/blog/fabric-spark-autotune-and-run-series-job-analysis-public-preview/" target="_blank"&gt;Fabric Spark Autotune and Run Series Job Analysis | Microsoft Fabric Blog | Microsoft Fabric&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Utilize the built-in Spark advisor in Fabric to analyze your notebook code and Spark executions in real-time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/spark-monitor-debug" target="_blank"&gt;Notebook contextual monitoring and debugging - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ensure that your Spark configurations are optimized for the workload. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By implementing these strategies, you should be able to reduce the idle time and improve the overall efficiency of your notebook executions.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nono Chen&lt;/P&gt;
&lt;P&gt;If this &lt;STRONG&gt;&lt;EM&gt;post&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 01:31:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Performance-and-execution-times/m-p/4110114#M5050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-21T01:31:26Z</dc:date>
    </item>
  </channel>
</rss>

