From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ed87f414db57207f X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-04-07 09:45:14 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.vmunix.org!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!news11-gui.server.ntli.net.POSTED!not-for-mail Message-ID: <3CB077BD.F1B51A67@aerosys.co.uk> From: Chris Quayle Organization: Man X-Mailer: Mozilla 4.75 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.dec Subject: Re: IA64 is not the VAX References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 07 Apr 2002 17:45:49 +0100 NNTP-Posting-Host: 62.254.132.123 X-Complaints-To: abuse@ntlworld.com X-Trace: news11-gui.server.ntli.net 1018197907 62.254.132.123 (Sun, 07 Apr 2002 17:45:07 BST) NNTP-Posting-Date: Sun, 07 Apr 2002 17:45:07 BST Xref: archiver1.google.com comp.sys.dec:12617 Peter da Silva wrote: > > > ISTR that the 11 hardware could technically do demand paging, but with only > 8 pages per segment, it would have been kind of pointless. PDP-11 UNIX *did* > use this capability to trap page faults near the stack (which grew down from > high memory in the UNIX memory model) and automatically grow the stack as > needed. The bourne shell also used this to allocate memory to the heap: it > would just use the memory and if it got a trap *then* it would call brk() to > grab some more memory. Even some of the early high end models (11/40-45) had separate instruction and data space of 64k bytes max each, with 2 sets of address translation registers, 1 per space. Not quite harvard architecture as it used the same physical address and data busses, but neat none the less. This was mapped with a virtual address translation scheme that allowed the 8 active memory pages per space to be of any size from 64 bytes to 8k bytes each. While such numbers seem miniscule now, you have to remember that nearly all programs were written in macro and you can do a lot with 64 k bytes in assembler + considering the coding efficiency of the instruction set. If you really got stuck, you could always use overlays to build any program size you like, which could be considered a precursor technique to swapping. One technique I found especially interesting (in 11M+) was the 'shuffler run', a task which ran periodically to defragment the memory by moving all active tasks down to recover all the holes, leaving all the free space at the top. Chris