From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a7b2c9e40c5bfe1c,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,a7b2c9e40c5bfe1c,start X-Google-Attributes: gid102b75,public From: rf@cl.cam.ac.uk (Robin Fairbairns) Subject: Re: Help on Alpha Page Tables? Date: 1995/11/13 Message-ID: <487a6r$jup@lyra.csx.cam.ac.uk>#1/1 X-Deja-AN: 119275824 references: <47oc8j$qop@engr.orst.edu> organization: University of Cambridge Computer Laboratory newsgroups: comp.arch,comp.sys.dec In article <47oc8j$qop@engr.orst.edu>, Jason Moore wrote: >I was wondering if any of you can tell me more about the structure of >Alpha page tables. I know (from CACM, Feb 93) that the first level >points to 2 2nd level entries - one shared and one private. Get copies of the chip and architecture reference manuals. I don't recognise the info you quote, but the structure is largely PALcode defined. There are three levels of page table in the PAL implementations I know of (I don't know what NT does, but then it's only a Micro$oft `operating system', isn't it? -- there are disturbing "NT mode" mumbles in the 21164 manual which I haven't completely understood). Each level contains 2**10 pages more than the one above. Thus the top level has one page in it (8192 bytes) which represents 1024 second level page table pages, and each second level page represents 1024 third-level page table pages. >My question is about the 2nd and 3rd levels. How many entries in each? 1024 and 1048576 >Is any special technique used to cache these, or are they subject to >removal from cache like any other data? There are I-space and D-space TLBs. Page table pages get treated as data, of course, so that first- and second-level pages only ever appear as D-space, but the third-level could be either. As data, they're not treated in any special way by the cache. -- Robin (Campaign for Real Radio 3) Fairbairns rf@cl.cam.ac.uk U of Cambridge Computer Lab, Pembroke St, Cambridge CB2 3QG, UK Home page: http://www.cl.cam.ac.uk/users/rf/robin.html