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: "Andy Glew" Subject: Re: Alpha in peril? First Canion, now Pfieffer Date: 1999/04/21 Message-ID: <7fkmu5$pqg$1@news.doit.wisc.edu>#1/1 X-Deja-AN: 469145605 References: <371B1CEE.6041484B@strategypartners.com> <7ffqdc$4ch@news2.newsguy.com> <7ffvbu$dv6$1@vixen.cso.uiuc.edu> <7fg1m0$itb@web.nmti.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: University of Wisconsin, Madison Newsgroups: comp.arch,comp.sys.dec >>But Xeon supports 36 bit memory addressing > >Xeon supports multiple 32 bit segments, like every x86 processor since, IIRC, >the 386. It has 36 bits of external address lines, but the programming model >is still 32 bit segments and nobody's ever done anything useful with that over >the past, what, 15 years... Oy, vey! x86 segments are totally unrelated to x86's greater than 36 bit addressing. Each segment can be up to 4G in size, true, but all of the segments produce 32 bit virtual addresses that use the same page table. The page tables can translate a 32 bit physical address to a >32 bit (currently 36 bit, could be larger) physical address. At any particular time, there is only one page table en force, meaning that at ant time a process can directly access only 2^32 bytes, scattered over a 2^36 byte physical address space. There is no page table per segment, so segments don't get you around that. --- However: the >32 bit physical addresses are used in several systems. Potentially, you can have multiple processes, each of 2^32 bytes, living in the same 2^36 byte physical memory without sharing. Actually, most people seem to be using the >2^32 bytes as a sort of RAM disk or extended buffer cache, making OS calls to map high memory into a 4K or 4M page within a process's 2^32 byte address space. This is used now. Yes, it's ugly and klugey. It's exactly the same sort of thing that happened to the PDP-11 as it hit the 16 bit boundary. --- But, I want to emphasisze: >32 bits of physical memory has nothing to do with segments, as currently implemented. It is being used, probably on some of the web servers you contact every day.