From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,9588cb5c5d758469,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,9588cb5c5d758469,start X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-03-08 08:16:24 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!hearst.acc.Virginia.EDU!murdoch.acc.Virginia.EDU!clc5q From: clc5q@cobra.cs.Virginia.EDU (Clark L. Coleman) Newsgroups: comp.arch,comp.sys.dec Subject: Alpha 21164 TLB design question Date: 8 Mar 2001 16:04:29 GMT Organization: University of Virginia Computer Science Department Message-ID: <988aid$bgh$1@murdoch.acc.Virginia.EDU> NNTP-Posting-Host: cobra.cs.virginia.edu X-Trace: murdoch.acc.Virginia.EDU 984067469 11793 128.143.137.16 (8 Mar 2001 16:04:29 GMT) X-Complaints-To: abuse@virginia.edu NNTP-Posting-Date: 8 Mar 2001 16:04:29 GMT Xref: supernews.google.com comp.arch:8447 comp.sys.dec:3121 The Alpha 21164 micro-architecture manual says that the TLBs use a "not most recently used" replacement policy. I can see that it would be easy to set a tag or pointer to the MRU entry in the fully associative TLB; you only need to keep track of one thing to do that. My question is: How does the hardware choose among the other 47 entries to evict one of them? Is there some sort of pseudo-random scheme? I take it they are avoiding the pathological behavior of LRU in the presence of a capacity problem. I am trying to figure out what kind of code will thrash the "non-MRU" scheme, so details would be helpful. Thanks to anyone who has knowledge of it. If I have missed the implementation details in the manuals somewhere, just point me to the right section.