From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: fa528,85404311f8041f7a X-Google-Attributes: gidfa528,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-06-29 08:42:49 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!skynet.be!peer.news.eu-x.com!server2.netnews.ja.net!pegasus.csx.cam.ac.uk!nmm1 From: nmm1@cus.cam.ac.uk (Nick Maclaren) Newsgroups: comp.sys.dec,comp.unix.tru64,comp.arch Subject: Re: Compaq kills Alpha Date: 29 Jun 2001 15:42:47 GMT Organization: University of Cambridge, England Message-ID: <9hi7ln$hk8$1@pegasus.csx.cam.ac.uk> References: <3B37351D.5080503@cli.de> <3B375AA6.FBBF9FE3@smbc-cm.com> <3B376A34.9080705@compaq.com> <3B3AE9BD.5070205@imk.fzk.de> <3B3B4580.25C255DD@zk3.dec.com> <9hfj3b$48u$1@aquila.mdx.ac.uk> <3B3C75DD.3528147C@TeraPort.de> <993820703.988205@haldjas.folklore.ee> <9hi0vk$ba7$1@pegasus.csx.cam.ac.uk> <993824790.709648@haldjas.folklore.ee> <9hi4ds$egm$1@pegasus.csx.cam.ac.uk> <993827646.193602@haldjas.folklore.ee> NNTP-Posting-Host: virgo.cus.cam.ac.uk Originator: nmm1@virgo.cus.cam.ac.uk Xref: archiver1.google.com comp.sys.dec:4948 comp.unix.tru64:2805 comp.arch:12535 In article <993827646.193602@haldjas.folklore.ee>, Sander Vesik writes: |> In comp.arch Nick Maclaren wrote: |> |> > |> > You might be able to introduce a kludge by which TLB reload and |> > |> > in-memory page faults were included in this, but great care would |> > |> > be needed. Beyond that, madness lies. |> > |> |> > |> Software TLB reload is just that, just another array of commands, except |> > |> you remmeber not to fault on protected instructions. There is no maddness |> > |> in it if you require that all threads belonging to an address mapping |> > |> be in at most one state on one processor. |> |> > It gets seriously tricky if you allow interrupts during the |> > process, which is needed for really massive virtual memory |> > systems. Pageable page tables are not easy to support in |> > conjunction with multi-threading. |> |> I'm not sure I agree here - I would rather argue that pageable |> page tables are a misfeature that introduces way more drawbacks than |> it solves in the first place and that the way to go is discardable |> page tables. Page tables would not contain any persistent information |> and would be discarded instead of being swaped out and regenerated instead |> of being swaped in. One such present system is for example FreeBSD. That is certainly a reasonable viewpoint - most systems that have introduced them have backed off at least once. It doesn't entirely solve the problem, however, as there are still cases where interrupts can occur while servicing a page fault or TLB miss. Memory ECC failure for example - it isn't always permissible to crash the machine. And, if you are not careful, this can get two threads running in different modes. |> Regenration is bound to get cheaper and cheaper compared to swapping |> over time aswell... Yes, but that may not help in the long term. It is getting close to the point that you can't afford to block all interrupts while you load a page from main memory .... Regards, Nick Maclaren, University of Cambridge Computing Service, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679