Re: Tonight's tradeoff

Liste des GroupesRevenir à c arch 
Sujet : Re: Tonight's tradeoff
De : sfuld (at) *nospam* alumni.cmu.edu.invalid (Stephen Fuld)
Groupes : comp.arch
Date : 07. Mar 2024, 20:58:54
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <usd69u$iq1t$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
On 3/5/2024 9:32 AM, MitchAlsup1 wrote:
snip

I also believe in the tension between pages that are too small and those that are too large. 256B is widely seen as too small (VAX). I think most
people are comfortable in the 4KB range. I think 64KB is too big since
something like cat needs less code, less data, and less stack space than
1 single 64KB page and another 64KB page to map cat from its VAS. So, now;
instead of four* 4KB pages (16KB ={code, data, stack, map} ) we now need
four 64KB pages 256KB. It is these small applications that drive the
minimum page size down.
In thinking about this, an idea occurred to me that may ease this tension some.  For a large page, you introduce a new protection mode such that, for example, the lower half of the addresses in the page are execute only, and the upper half are read/write enabled.  This would allow the code and the data, and perhaps even the stack for such a program to share a single page, while still maintaining the required access protection.  I think the hardware to implement this is pretty small.  While the benefits of this would be modest, if such "small programs" occur often enough it may be worth the modest cost of the additional hardware.
--
  - Stephen Fuld
(e-mail address disguised to prevent spam)

Date Sujet#  Auteur
7 Mar 24 * Re: Tonight's tradeoff4Stephen Fuld
8 Mar 24 +- Re: Tonight's tradeoff1Stephen Fuld
8 Mar 24 `* Re: Tonight's tradeoff2Robert Finch
10 Mar 24  `- Re: Tonight's tradeoff1Stephen Fuld

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal