From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: ffc31,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: comp.os.vms,alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Y3K for PDP-11 Operating Systems Date: Tue, 10 May 2011 15:36:58 -0600 Organization: Update Computer Club Message-ID: References: <4d99c3b6$0$23756$14726298@news.sunsite.dk> <4dc032d4$0$313$14726298@news.sunsite.dk> <7d287cc3-4605-49a0-826e-fb92fc14e98d@j28g2000vbp.googlegroups.com> <92bjl8F19sU1@mid.individual.net> <92d114Fhm7U1@mid.individual.net> NNTP-Posting-Host: 74.125.59.49 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1305063417 5606 74.125.59.49 (10 May 2011 21:36:57 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Tue, 10 May 2011 21:36:57 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: Xref: g2news2.google.com comp.os.vms:42915 alt.sys.pdp11:2176 comp.sys.dec:3498 vmsnet.pdp-11:603 On 2011-05-10 11.58, Bob Koehler wrote: > In article<4dc972d1$0$73606$815e3792@news.qwest.net>, G Cornelius writes: >> >> References to a 1-1 MOVTUC table are basically wasted memory >> accesses, and, in fact, will be mostly cache misses until a >> significant proportion of the table has been loaded. Not to >> mention having flushed information out of cache, resulting in >> likely cache misses later. Also: these are per-byte cache misses, >> where actual data fetches should load four, eight, or even more >> soon to be used bytes into cache whenever a miss occurs. > > Caches have got large, and most likely misses would all be resolved once > early in program execution. The cache warmup is an issue, since most strings aren't that long, and the MOVTUC will probably not hit that many locations that many times when implementing a strcpy(). So performance hit is probably very measurable. And the table will most of the time probably not be around in the cache by the next time strcpy() got called. Even though caches have grown large, so have programs. Johnny