<?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: Memory configuration for Analysis Services / Vertipaq engine ? in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Memory-configuration-for-Analysis-Services-Vertipaq-engine/m-p/840324#M12092</link>
    <description>&lt;P&gt;There are details in the docs below on how to edit the msmdsrv.ini file for the Report Server SSAS instance&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/report-server/scheduled-refresh-troubleshoot#configuring-analysis-services-settings-msmdsrvini" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/report-server/scheduled-refresh-troubleshoot#configuring-analysis-services-settings-msmdsrvini&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if you are running on a load balanced cluster you need to make sure you have followed all the steps in the following docs&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/reporting-services/report-server/configure-a-report-server-on-a-network-load-balancing-cluster?view=sql-server-ver15" target="_blank"&gt;https://docs.microsoft.com/en-us/sql/reporting-services/report-server/configure-a-report-server-on-a-network-load-balancing-cluster?view=sql-server-ver15&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take special care to check the step on the backconnectionhostname setting. The first thing PBIRS does in uploading a file is to cache the file locally on c:\temp so if you don't have the backconnectionhostname property set properly the request to copy the file from the local temp folder to the database can fail as it can get "load balanced" to the other node where the cached file does not exist.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2019 22:13:59 GMT</pubDate>
    <dc:creator>d_gosbell</dc:creator>
    <dc:date>2019-11-07T22:13:59Z</dc:date>
    <item>
      <title>Memory configuration for Analysis Services / Vertipaq engine ?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Memory-configuration-for-Analysis-Services-Vertipaq-engine/m-p/839882#M12086</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My client is using Power BI Report Server (on prem). Users are complaining about slowness when they try to open reports, and failures when they upload pbix files to the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ReportServer MSSQL database seems fine.&lt;/P&gt;&lt;P&gt;On the 2 VMs hosting the ReportServer portal, basic CPU &amp;amp; Memory &amp;amp; IO metrics are fine.&lt;/P&gt;&lt;P&gt;More precisely, less than 35% of the total RAM is used. But I can see the process msmdsrv.exe (analysis services vertipaq, right ?) has high values for perf counter Page/sec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On SSAS stand alone, I know there are options in file msmdsrv.ini to tweak the memory policy.&lt;/P&gt;&lt;P&gt;Is this configuration file used when msmdsrv runs in Power BI context ? In other words, if I change settings in that file, will it effectively change the behavior of the msmdsrv process ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 13:23:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Memory-configuration-for-Analysis-Services-Vertipaq-engine/m-p/839882#M12086</guid>
      <dc:creator>slhermite</dc:creator>
      <dc:date>2019-11-07T13:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Memory configuration for Analysis Services / Vertipaq engine ?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Memory-configuration-for-Analysis-Services-Vertipaq-engine/m-p/840324#M12092</link>
      <description>&lt;P&gt;There are details in the docs below on how to edit the msmdsrv.ini file for the Report Server SSAS instance&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/report-server/scheduled-refresh-troubleshoot#configuring-analysis-services-settings-msmdsrvini" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/report-server/scheduled-refresh-troubleshoot#configuring-analysis-services-settings-msmdsrvini&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if you are running on a load balanced cluster you need to make sure you have followed all the steps in the following docs&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/reporting-services/report-server/configure-a-report-server-on-a-network-load-balancing-cluster?view=sql-server-ver15" target="_blank"&gt;https://docs.microsoft.com/en-us/sql/reporting-services/report-server/configure-a-report-server-on-a-network-load-balancing-cluster?view=sql-server-ver15&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take special care to check the step on the backconnectionhostname setting. The first thing PBIRS does in uploading a file is to cache the file locally on c:\temp so if you don't have the backconnectionhostname property set properly the request to copy the file from the local temp folder to the database can fail as it can get "load balanced" to the other node where the cached file does not exist.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 22:13:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Memory-configuration-for-Analysis-Services-Vertipaq-engine/m-p/840324#M12092</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-11-07T22:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Memory configuration for Analysis Services / Vertipaq engine ?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Memory-configuration-for-Analysis-Services-Vertipaq-engine/m-p/840948#M12096</link>
      <description>&lt;P&gt;Thanks d_gosbell for your answer ! We are doing these NLB configuration checks right now, keep you posted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, do you know if this high paging rate of msmdsrv is a normal behavior ? Isn't it supposed to consume the available memory on the server instead of paging ? Let me precise that nothing else Power BI Report Server runs on these VMs, and RAM usage is less than 35%.&lt;/P&gt;&lt;P&gt;Based on&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/analysis-services/server-properties/memory-properties" target="_blank"&gt;https://docs.microsoft.com/en-us/analysis-services/server-properties/memory-properties&lt;/A&gt; I would like to try setting the paging policy to 0, but I am open to any advice here!&lt;/P&gt;&lt;P&gt;Here is the memory settings we have, default values I presume:&lt;/P&gt;&lt;PRE&gt;&amp;lt;Memory&amp;gt;&lt;BR /&gt; &amp;lt;MemoryHeapType&amp;gt;-1&amp;lt;/MemoryHeapType&amp;gt;&lt;BR /&gt; &amp;lt;HeapTypeForObjects&amp;gt;-1&amp;lt;/HeapTypeForObjects&amp;gt;&lt;BR /&gt; &amp;lt;HardMemoryLimit&amp;gt;85&amp;lt;/HardMemoryLimit&amp;gt;&lt;BR /&gt; &amp;lt;TotalMemoryLimit&amp;gt;70&amp;lt;/TotalMemoryLimit&amp;gt;&lt;BR /&gt; &amp;lt;LowMemoryLimit&amp;gt;60&amp;lt;/LowMemoryLimit&amp;gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;lt;VertiPaqMemoryLimit&amp;gt;0&amp;lt;/VertiPaqMemoryLimit&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt; &amp;lt;MidMemoryPrice&amp;gt;10&amp;lt;/MidMemoryPrice&amp;gt;&lt;BR /&gt; &amp;lt;HighMemoryPrice&amp;gt;1000&amp;lt;/HighMemoryPrice&amp;gt;&lt;BR /&gt; &amp;lt;VirtualMemoryLimit&amp;gt;80&amp;lt;/VirtualMemoryLimit&amp;gt;&lt;BR /&gt; &amp;lt;SessionMemoryLimit&amp;gt;50&amp;lt;/SessionMemoryLimit&amp;gt;&lt;BR /&gt; &amp;lt;MinimumAllocatedMemory&amp;gt;25&amp;lt;/MinimumAllocatedMemory&amp;gt;&lt;BR /&gt; &amp;lt;WaitCountIfHighMemory&amp;gt;10&amp;lt;/WaitCountIfHighMemory&amp;gt;&lt;BR /&gt; &amp;lt;DefaultPagesCountToReuse&amp;gt;2&amp;lt;/DefaultPagesCountToReuse&amp;gt;&lt;BR /&gt; &amp;lt;HandleIA64AlignmentFaults&amp;gt;0&amp;lt;/HandleIA64AlignmentFaults&amp;gt;&lt;BR /&gt; &amp;lt;PreAllocate&amp;gt;0&amp;lt;/PreAllocate&amp;gt;&lt;BR /&gt;&lt;STRONG&gt; &amp;lt;VertiPaqPagingPolicy&amp;gt;1&amp;lt;/VertiPaqPagingPolicy&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt; &amp;lt;PagePoolRestrictNumaNode&amp;gt;0&amp;lt;/PagePoolRestrictNumaNode&amp;gt;&lt;BR /&gt; &amp;lt;HeapTypeForObjectGroupCount&amp;gt;0&amp;lt;/HeapTypeForObjectGroupCount&amp;gt;&lt;BR /&gt; &amp;lt;UseCountersPerCPU&amp;gt;-1&amp;lt;/UseCountersPerCPU&amp;gt;&lt;BR /&gt;&amp;lt;/Memory&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help,&lt;/P&gt;&lt;P&gt;Silvère&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 11:33:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Memory-configuration-for-Analysis-Services-Vertipaq-engine/m-p/840948#M12096</guid>
      <dc:creator>slhermite</dc:creator>
      <dc:date>2019-11-08T11:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Memory configuration for Analysis Services / Vertipaq engine ?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Memory-configuration-for-Analysis-Services-Vertipaq-engine/m-p/841882#M12110</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="184636" data-lia-user-login="slhermite" class="lia-mention lia-mention-user"&gt;slhermite&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;By the way, do you know if this high paging rate of msmdsrv is a normal behavior ? Isn't it supposed to consume the available memory on the server instead of paging ?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's hard to say as I'm not sure which counters you are looking at or what the rate is. But in general I would not expect to see a lot of paging from the msmdsrv process unless it is under memory pressure which it does not sound like it is in your case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 01:35:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Memory-configuration-for-Analysis-Services-Vertipaq-engine/m-p/841882#M12110</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-11-11T01:35:49Z</dc:date>
    </item>
  </channel>
</rss>

