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

Re: [PATCH 0/6] xen/x86: PV boot speedup


  • To: Jan Beulich <jbeulich@xxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
  • From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • Date: Wed, 27 Oct 2021 09:17:12 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eKryvM9DrpnRHaNG5FgK2wqEwMeD6lIALav02VvtXik=; b=joSB9/S0r4ZzIo1wlEpDkJ76Jsct2+xjFldQ8T+VygyZlmxJ7DxQ4mY3wV3PG1ZEQsYe1LxlKcCLH/45W3bY9//vCREzTMq3nTPHcqSv9Z2RL3kLwtzFpGL1DGPtzf8NC45DKRhmAZrx+tafhUfAA0pbVF/KDDXeXTIT/JhoK4NWbbGQcntHX1ZD0eolGY1B7KrKCLLoPfBO4MNpW7qGD3fbQTbbKXJk8gOyikWxV5g+W7pwYp3NBIM5sF4Dr+dOahYUo8ZEL+FLtWm/hVGNDtLcD9jKoIWOgTlL35g8dTA9SipED5xuwVZiw6mFTO5HbUnuEHnHxcmot8W6JNR/YQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ml8PDl91brzso0vTLH3bWUhEN8PpFT41O/ITYGxzHel7zoz7At/CjerKe932Jhbm+tECfCvqbuzHW1z4oHvm3OahcjRA7nO0xqAVRQdVCgniX4hT1+fZfzO7ME7D52G5bdubs0ma1clqG0I1pdpgXd8A2vQOU5msFG7WrsJ9000OgwZlup12rbFg+CXYN+Q01L6CzR+xDRAExKGUW40RwjwJJezE7ALcC1i2hDkL2DNpFOmYldnRwg4ndlJX4rHEKT8DuL7TgLwmshOle9uNhpdi9ruXISzn+AFHuqJ+0+pUtLZZT3DGuaRTTACN10ffbbL2IukWjKv+QWr9OMNSLQ==
  • Authentication-results: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=oracle.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 27 Oct 2021 13:17:44 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 9/30/21 8:33 AM, Jan Beulich wrote:
The observed (by the human eye) performance difference of early boot
between native and PV-on-Xen was just too large to not look into. As
it turns out, gaining performance back wasn't all that difficult.

While the series (re)introduces a small number of PTWR emulations on
the boot path (from phys_pte_init()), there has been a much larger
number of them post-boot. Hence I think if this was of concern, the
post-boot instances would want eliminating first.

Some of the later changes aren'r directly related to the main goal of
the series; these address aspects noticed while doing the investigation.

1: streamline set_pte_mfn()
2: restore (fix) xen_set_pte_init() behavior
3: adjust xen_set_fixmap()
4: adjust handling of the L3 user vsyscall special page table
5: there's no highmem anymore in PV mode
6: restrict PV Dom0 identity mapping



Applied to for-linus-5.16


-boris




 


Rackspace

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