dom0/pvh: Follow up discussion from xen-devel - Low hanging fruit
Quoted 8 lines · Roger Pau Monné
Quoted 7 lines · Alexandru Vasile
Hello,
I am writing as a follow up from our discussion on the xen-devel mailing list [0].
You mentioned some ‘low-hanging fruit, both in Xen and the Linux
kernel’ and
Quoted 13 lines
Quoted 3 lines
if I am ever interested to talk about sharing the workload.
Could you share more details about this?
- Xen: make sure PVH Dom0 works without the
dom0_memparameter. There have been reports that the initial memory accounting for Xen and
Dom0 is bogus for a PVH Dom0 depending on the host amount of RAM and other factors. This will involve testing PVH Dom0 on several boxes without thedom0_memparameter and coming up with a better algorithm to calculate the amount of memory required by Xen and Dom0. Changes will be mostly limited to thedom0_compute_nr_pagesanddom0_paging_pagesfunctions I expect.
- Linux: there are issues in the way Linux maps foreign memory and
Quoted 8 lines
grants when running in PVH mode. AFAIK Linux will balloon out RAM
and use the freed range in order to map foreign memory or grants. This can cause out of memory issues if there are enough mappings,
and also decreases the RAM available to Dom0 for no reason. Solving this issue requires an analysis of the problem and drafting a document that describes the solution before implementing it, as
it's slightly tricky. This document would be sent to xen-devel for review and opinions.
[0] https://lists.xenproject.org/archives/html/xen-devel/2018-10/msg01580.html
Amazon Development Center (Romania) S.R.L. registered office: 27A Sf. Lazar Street, UBC5, floor 2, Iasi, Iasi County, 700045, Romania. Registered in Romania. Registration number J22/2621/2005.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel