[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] grant table size


  • To: "Durrant, Paul" <pdurrant@xxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Wed, 20 Nov 2019 11:06:27 +0100
  • Authentication-results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@xxxxxxxxxx; spf=Pass smtp.mailfrom=roger.pau@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 20 Nov 2019 10:06:44 +0000
  • Ironport-sdr: T/gc+UgqmJw7u33q8Arx7wVL2EvykPU5x+2FEzcvND4zaZ36hWtqqQgfigO2aO6T1EVvbhyBWT WEhucR87Qw+YQEuHn32T8h+eqYbTaGAHTx6iWZVQy/R6OkbtBgvadXZHUEjAe29dZkvd2ulT/S 1iTMWS30fZKhZp9cgMIpm5eIBpefsda1AAgikGvHlqohR30seDnZsoPjMgTt3oUjSYBXeGEEGN nbLiU7K4xUfLOCyhshNaXPvqnNkS4J6KD0ABWKmagH5h0U0CoCZirFouZXKmlynnuItX5ZJK8X AfI=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed, Nov 20, 2019 at 09:43:59AM +0000, Durrant, Paul wrote:
> I've dealt with a few problems over the years where the root cause was a 
> guest running out of grant table and so I'm wondering whether it would be a 
> good idea to allow a toolstack to increase the table size of a running guest, 
> e.g. when plugging in a new PV interface.
I would rather have a new xl command that does the grant table
increase (ie: xl set-max-grant-frames) instead of doing it when
plugging new interfaces.

> It would appear that current Linux guests would not be able to make use of 
> this as it stands (but that could be fixed), but as far as I can tell a pvops 
> kernel would not misbehave if the maximum table size were to increase. 
> Similarly Windows PV drivers would need modification to make use of a dynamic 
> maximum table size but would not misbehave as is.
> Does anyone have any objection to the idea?

Do you have in mind to signal this somehow to guests, or the
expectation is that the guest will have to poll GNTTABOP_query_size
and at some point the size will increase?

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.