Port-vax archive

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

Re: NetBSD in SIMH vax with 512 MB RAM



On 2023-03-23 18:31, Anders Magnusson wrote:
Den 2023-03-23 kl. 18:14, skrev Mouse:

Another way would be to limit the physical memory to 256M and add
support to not map all of physical memory for large-memory machines
as a compile-time option.
I'd say the rightest thing to do is compute - either mechanically or by
hand - what amount of physical memory would put SLR as close as
possible to 200000 without going over, then cap physical memory size at
that value (preferably with a message).
Yep, but that is not possible, since ~everything is possible to change dynamically and we cannot expand the SPT on-demand since it is located in physical memory. Having a SPT that can map all of S0 virtual memory would take 8MB of physical memory, which were too much of the available memory back when I wrote that code.  Maybe it isn't today when things are mostly run in simh and a different strategy should be used?

If we actually have 512M of physical memory, then I don't see the problem of letting the page table grab 8M of it.

But we need to set this up dynamically, but I thought we already did?

  Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index