Article View: comp.arch
Article #702Re: Styles of addressing
From: Paul Clayton
Date: Thu, 12 Nov 2026 04:53
Date: Thu, 12 Nov 2026 04:53
43 lines
3368 bytes
3368 bytes
On 9/28/26 11:24 AM, Scott Lurndal wrote:
> Paul Clayton <paaronclayton@gmail.com> writes:
[snip]
>> I have a personal dislike of nested page tables and some
>
> Care to elaborate? As someone who worked with hypervisors
> both before and after AMD introduced nested page tables,
> I have nothing good to say about the alternatives to
> NPT.
Nested page tables are necessarily wasteful of storage and
add latency.
I am inclined (likely from ignorance) to prefer
paravirtualization. For a new architecture, forcing all OSes
to use the architected (paravirtualization) interface may
not be entirely impractical.
(For an existing ISA with existing OSes, a transition to
paravirtualization would seem to require limited binary
translation.)
Paravirtualization does have problems. Nested virtualization,
where a host OS treats a guest OS as an application, does not
seem to fit this model well. On the other hand, application-
level code could (in theory?) directly interact with the
architected hypervisor, though I suspect such would cause
responsibility tracking headaches.
I know extremely little about virtualization, but the
obvious inefficiency of nested page tables bothers me.
(Nested page tables may be the best selection when
considering all the tradeoffs even for a new architecture.
The arguments that I have read focus on compatibility/
invisibility, which tends to exclude paravirtualization.)
Nested page tables also work around some page coalescing
issues (base physical pages can be mapped to large virtual
physical pages), though if such is not very common something
like Shadow Memory ("Increasing TLB Reach Using Superpages
Backed by Shadow Memory", Mark Swanson et al., 1998) might
be used to provide a limited amount of "double translated"
pages.
Technical Details
Message-ID:
<11d7khc$1a1es$4@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<memo.20260831173550.33016I@jgd.cix.co.uk> <1176tcp$ehn$2@gal.iecc.com> <6a9712ab.50942781@news.eternal-september.org> <117773n$23fti$1@dont-email.me> <1177sql$287f$1@gal.iecc.com> <2026Sep8.102853@mips.complang.tuwien.ac.at> <117s845$3qin1$1@paganini.bofh.team> <1788979312-5857@newsgrouper.org> <1198s9h$l0ap$2@dont-email.me> <oEvuS.13$MN2.12@fx45.iad>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Paul Clayton <paaronclayton@gmail.com> Newsgroups: comp.arch Subject: Re: Styles of addressing Date: Wed, 11 Nov 2026 23:53:56 -0500 Organization: A noiseless patient Spider Lines: 43 Message-ID: <11d7khc$1a1es$4@dont-email.me> References: <memo.20260831173550.33016I@jgd.cix.co.uk> <1176tcp$ehn$2@gal.iecc.com> <6a9712ab.50942781@news.eternal-september.org> <117773n$23fti$1@dont-email.me> <1177sql$287f$1@gal.iecc.com> <2026Sep8.102853@mips.complang.tuwien.ac.at> <117s845$3qin1$1@paganini.bofh.team> <1788979312-5857@newsgrouper.org> <1198s9h$l0ap$2@dont-email.me> <oEvuS.13$MN2.12@fx45.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 13 Nov 2026 18:22:37 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1377756"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/JLQO9o/oUMIuQ1PjknnZkq0mnz4tB3I="; posting-host="d662f6591078f43538473732474ebcb1" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Thunderbird/140.0 Cancel-Lock: sha1:kL0QM+Gd/L1IKtuoLBR5/e0uIq4= sha256:hybkTSFtS50uYALn8ups7D+ArfQT84nU61nURfXgT40= sha1:z3YDP+5vMxbfZKvWojbY5mxNbts= sha256:3XS8lykocbXOJ+KFirCbscQsTovj05ZnYgtgKvOaVZE= In-Reply-To: <oEvuS.13$MN2.12@fx45.iad>