<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[XCP-ng 8] max_grant_frames reached]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">got the following while started a VyOS router:</p>
<pre><code class="language-console">[    2.072983] xen:grant_table: xen/grant-table: max_grant_frames reached cur=32 extra=1 limit=32 gnttab_free_count=191 req_entries=65
[    2.072985] xen_netfront: can't alloc rx grant refs
[    2.092487] vif vif-7: only created 3 queues
</code></pre>
<p dir="auto">Do you know who is limiting domU to 32 pages while dom0 has 64 per default?</p>
<pre><code class="language-console">11:14 xs1 ~]# xen-diag gnttab_query_size 0
domid=0: nr_frames=1, max_nr_frames=64
[11:14 xs1 ~]# xen-diag gnttab_query_size 1
domid=1: nr_frames=32, max_nr_frames=32
</code></pre>
<p dir="auto">Thanks<br />
Christian</p>
]]></description><link>https://xcp-ng.org/forum/topic/2030/xcp-ng-8-max_grant_frames-reached</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 15:42:38 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/2030.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Oct 2019 09:26:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Wed, 18 Dec 2019 00:40:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/rjt" aria-label="Profile: rjt">@<bdi>rjt</bdi></a><br />
The <a href="https://xcp-ng.org/blog/2019/11/08/xcp-ng-security-bulletin-november-2019/" target="_blank" rel="noopener noreferrer nofollow ugc">November 2019 security, bugfix, and enhancement updates</a> address this issue in the section "<a href="https://xcp-ng.org/blog/2019/11/08/xcp-ng-security-bulletin-november-2019/#enableincreasingmax_grant_framesforguests" target="_blank" rel="noopener noreferrer nofollow ugc">Enable increasing max_grant_frames for guests</a>."</p>
<p dir="auto">Indicates that with not enough grant frames, the guest VM will not be able to use the all the virtual NICs  that it expects.   Still wonder if increasing max_grant_frames would speed up existing network interfaces even when they have enough working vNICS.</p>
]]></description><link>https://xcp-ng.org/forum/post/20557</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/20557</guid><dc:creator><![CDATA[rjt]]></dc:creator><pubDate>Wed, 18 Dec 2019 00:40:44 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Tue, 17 Dec 2019 20:13:42 GMT]]></title><description><![CDATA[<p dir="auto">Does not having all the grants requested result in network slowdown?</p>
]]></description><link>https://xcp-ng.org/forum/post/20555</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/20555</guid><dc:creator><![CDATA[rjt]]></dc:creator><pubDate>Tue, 17 Dec 2019 20:13:42 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Fri, 04 Oct 2019 08:08:32 GMT]]></title><description><![CDATA[<p dir="auto">This is a free support without any commitment to answer, but it's a good way to discuss more in depth details when we can.</p>
]]></description><link>https://xcp-ng.org/forum/post/17720</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17720</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 04 Oct 2019 08:08:32 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Fri, 04 Oct 2019 08:04:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a>: Thanks, I wasn't aware the possibility submitting tickets. Ticket created.</p>
]]></description><link>https://xcp-ng.org/forum/post/17719</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17719</guid><dc:creator><![CDATA[cfischer]]></dc:creator><pubDate>Fri, 04 Oct 2019 08:04:30 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Fri, 04 Oct 2019 07:25:13 GMT]]></title><description><![CDATA[<p dir="auto">Here: <a href="https://xen-orchestra.com/#!/member/support" target="_blank" rel="noopener noreferrer nofollow ugc">https://xen-orchestra.com/#!/member/support</a></p>
]]></description><link>https://xcp-ng.org/forum/post/17716</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17716</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 04 Oct 2019 07:25:13 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Fri, 04 Oct 2019 07:24:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a>: How can I open a support ticket without buying support?</p>
]]></description><link>https://xcp-ng.org/forum/post/17715</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17715</guid><dc:creator><![CDATA[cfischer]]></dc:creator><pubDate>Fri, 04 Oct 2019 07:24:37 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Thu, 03 Oct 2019 17:22:14 GMT]]></title><description><![CDATA[<p dir="auto">Due to the complicated modification, we'd like to have a support ticket created please, so we can continue to discuss those details in depth <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a78c449d9ac" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/17705</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17705</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Oct 2019 17:22:14 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Thu, 03 Oct 2019 17:15:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/cfischer" aria-label="Profile: cfischer">@<bdi>cfischer</bdi></a> thanks for your feedback. I might have a solution. Note this is a really complex problem in the end (interactions between xenops/xenguest and XAPI)</p>
<p dir="auto">I might have an patch idea to see if it works. Stay tuned.</p>
]]></description><link>https://xcp-ng.org/forum/post/17704</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17704</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 03 Oct 2019 17:15:12 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Wed, 02 Oct 2019 19:56:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a>: The problem is that there are not enough grants for creating queues for 9 vif on a system running 4 vcpu. Trying to create the 4th queue for vif-7 raises a max_grant_frames reached error.  The netfront driver could create only 3 of 4 queues for vif-7 and 0 queues for vif-8, which is configured in Xen but therefore not present in the guest.</p>
<p dir="auto">That is not a problem of the "Other media install" template, all created VMs (different templates, different OSs) have the same issue, max_nr_frames=32, which seems a default value for XCP-ng. Since Xen version 4.10 max_grant_frames isn't a global config parameter issued to the hypervisor at boot time anymore. Since version 4.10 it is a parameter per domU.</p>
<p dir="auto">The question is, since XCP-ng has no config files per domU, how can I set domU parameter?</p>
]]></description><link>https://xcp-ng.org/forum/post/17671</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17671</guid><dc:creator><![CDATA[cfischer]]></dc:creator><pubDate>Wed, 02 Oct 2019 19:56:24 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Wed, 02 Oct 2019 15:42:12 GMT]]></title><description><![CDATA[<ol>
<li>Please use Markdown syntax for code/console blocks (I edited your post)</li>
<li>Sorry I don't understand the problem you have, can you rephrase?</li>
</ol>
]]></description><link>https://xcp-ng.org/forum/post/17640</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17640</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 02 Oct 2019 15:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Wed, 02 Oct 2019 19:57:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a>: I've read since 4.10 it is a domU configuration via max_grant_frames parameter. Since XCP-ng has no config files per domU, how can I set domU parameter?</p>
<p dir="auto">I've tried it via</p>
<pre><code>xe vm-param-set platform:max_grant_frames=64 uuid=b61297e6-a413-135a-fa1e-647b547247ef
</code></pre>
<p dir="auto">but no success.</p>
]]></description><link>https://xcp-ng.org/forum/post/17636</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17636</guid><dc:creator><![CDATA[cfischer]]></dc:creator><pubDate>Wed, 02 Oct 2019 19:57:40 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Wed, 02 Oct 2019 15:41:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a>: Are you asking for issues with the VM? Yes, the issue is that I get round about 7.5 of 9 vif if I have 4 vcpu due to the lack of grants.</p>
<p dir="auto">I've freshly installed and updated OL7 and Debian9 using the provided templates.</p>
<pre><code>13:19 xs1 ~]# xl list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1840     4     r-----    4892.2
ER1-de.egr.lan                               1   512     4     -b----      86.5
Debian Stretch 9.0 (1)                       7   511     4     -b----      14.5
Oracle Linux 7 (1)                           9  4095     4     -b----      71.2
[13:19 xs1 ~]# xen-diag gnttab_query_size 0
domid=0: nr_frames=1, max_nr_frames=64
[13:19 xs1 ~]# xen-diag gnttab_query_size 1
domid=1: nr_frames=32, max_nr_frames=32
[13:19 xs1 ~]# xen-diag gnttab_query_size 7
domid=7: nr_frames=5, max_nr_frames=32
[13:19 xs1 ~]# xen-diag gnttab_query_size 9
domid=9: nr_frames=5, max_nr_frames=32
</code></pre>
<p dir="auto">Grants for domU are always 32. What is causing the grants limit?</p>
]]></description><link>https://xcp-ng.org/forum/post/17634</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17634</guid><dc:creator><![CDATA[cfischer]]></dc:creator><pubDate>Wed, 02 Oct 2019 15:41:32 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Wed, 02 Oct 2019 10:43:59 GMT]]></title><description><![CDATA[<p dir="auto">But is it causing any issue in the VM?</p>
]]></description><link>https://xcp-ng.org/forum/post/17633</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17633</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 02 Oct 2019 10:43:59 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Wed, 02 Oct 2019 10:31:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a>: I can't find a restriction of this kind in the template.</p>
]]></description><link>https://xcp-ng.org/forum/post/17632</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17632</guid><dc:creator><![CDATA[cfischer]]></dc:creator><pubDate>Wed, 02 Oct 2019 10:31:26 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Wed, 02 Oct 2019 10:19:15 GMT]]></title><description><![CDATA[<p dir="auto">Yes, Other media</p>
]]></description><link>https://xcp-ng.org/forum/post/17631</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17631</guid><dc:creator><![CDATA[cfischer]]></dc:creator><pubDate>Wed, 02 Oct 2019 10:19:15 GMT</pubDate></item><item><title><![CDATA[Reply to [XCP-ng 8] max_grant_frames reached on Wed, 02 Oct 2019 09:55:56 GMT]]></title><description><![CDATA[<p dir="auto">What kind of template are you using? Other media install?</p>
]]></description><link>https://xcp-ng.org/forum/post/17628</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/17628</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Wed, 02 Oct 2019 09:55:56 GMT</pubDate></item></channel></rss>