From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,28b0249f7691568e X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,28b0249f7691568e X-Google-Attributes: gid1164f8,public From: ttk@for_mail_remove_this_and_fruit.larva.apple.shinma.org (TTK Ciar) Subject: Re: Alpha in peril? First Canion, now Pfieffer Date: 1999/05/09 Message-ID: #1/1 X-Deja-AN: 475921569 References: <371B1CEE.6041484B@strategypartners.com> <7fg1m0$itb@web.nmti.com> <7fkmu5$pqg$1@news.doit.wisc.edu> <371e231d.0@news.destek.net> X-Trace: news7.ispnews.com 926278260 205.179.17.2 (Sun, 09 May 1999 15:31:00 EDT) Organization: Subtle, but there NNTP-Posting-Date: Sun, 09 May 1999 15:31:00 EDT Newsgroups: comp.arch,comp.sys.dec In article <371e231d.0@news.destek.net>, Dave Cherkus wrote: > >Can you discuss how the OS should use this? I'm not the person you replied to, but I do have an educated opinion.. Obviously, it would be trivial for the OS to use the 64GB physical memory space to leave individual processes with larger working sets, and this would be a GoodThing[tm]. >Another posting said most UNIX kernels presume they can access the >entire address space of one process at the same time they retain access >to the kernel's code and data. So, if the size of the kernel is K, the >max size a process can be is 2^32-K. > >Are you expecting that presumption to change? It might. There are plenty of people out there willing to do something new. The obvious solution would be for the kernel to have some sort of interface for juggling page table records and thus map different parts of a 4GB process space into the 4GB kernel space. >Or are you expecting the kernel to provide a programming interface >where the process can treat part of its 2^32-K address space as a >window into the 2^36 or greater address space? Heh :-) the DOS folks did this for years, to swap memory regions between the normally inaccessible "high memory" and the 640k of us- able "low memory". It's certainly doable, but hardly pretty, and to be truly useful it would take a lot of co-operation from the compiler folks (which, in my experience, is often hard to come by). Alternatively the programming interface could be used explicitly in select standard library functions to implement things like selective mapping of disk cache data into the user's process space, which would yield a kind of split memory organization where a process could have 4GB of stack, heap, and code, and up to 60GB of cached file data (or another way of looking at it is memory that can only be accessed through the file io library). >Or are you presuming support for large processes isn't important, >and the extra address space should be used to keep more 2^32-K-sized >processes in memory at a time? This would be the obvious "easy" solution. I'm not going to say that large process support is or isn't important, because it really depends on what you're using your computer to do. Some applications work best with large processes while others do fine (or actually work better) as multiple processes. Certainly the ability to grant multi- ple 4GB-sized processes larger working sets can do a lot of people a lot of good, but frankly I'd rather plop down $7K for a nice beefy Alpha box and have the best of both worlds. Unfortunately not all companies can make that choice. Sometimes they need to run software which is only supported on x86, and sometimes they only have MIS staff who are experienced with x86's and cannot justify the cost of hiring more staff or training their existing staff, and sometimes everyone's running haggard trying to make deadlines and simply can't afford to do research or think too hard about solutions they have little know- ledge of, so they go with what they know (ie, buy a big multi-Xeon box). -- TTK