Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!ut-sally!pyramid!dan From: dan@pyramid.UUCP Newsgroups: net.arch Subject: not missing anything Message-ID: <145@pyramid.UUCP> Date: Fri, 7-Mar-86 17:05:26 EST Article-I.D.: pyramid.145 Posted: Fri Mar 7 17:05:26 1986 Date-Received: Sun, 9-Mar-86 08:46:39 EST Reply-To: dan@.UUCP (Dan Sobottka) Organization: Pyramid Technology Corp., Mountain View, CA Lines: 41 > >... The space that is freed up on a RISC chip by having >little if any u-code ROM can be used for more cache. ... >... So, having the cache effectively reduces Bus traffic not only to a CISC >level (because of above explanation) but also probably LESS traffic because >the cache can be used for ALL instructions (and data). >Or am I missing something? > berger@imag.UUCP (Gilles BERGER SABBATEL) replys: >OK, but what when the system is multiprogrammed? Frequent swaps between >processes aren't likely to break the cache efficiency? This could be >the cause of important degradation of RISC performance in multiuser >environment (Cf previous discussions about the Ridge). > >... Or am I missing something?.... First of all, the problem of multiprogramming effects on caches are common to ANY cached machine (RISC or CISC or whatever). Secondly, (as far as 'defending' caches) the problem can be reduced greatly: (1) the on-chip cache is not likely to be that large. Even if we flushed the entire on-chip cache after every context switch, it wouldn't be any big deal (how often are users switched anyway? Couldn't be more than a few hundred times a second). (2) in slightly more elaborate schemes (commonly used for large off-chip caches) each cache line's TAG could contain the entire process ID and other info, so that a context switch would not require flushing of the cache. Of course, dilution still occurs because of the room the old (say, 'context A') cache lines occupied, but in many cases, after switching back to context A (from wherever) many of those lines will still be there!! Indeed, the more frequent the context switches , the more likely it is that those lines will be there, somewhat negating the other degradations due to switches. Please please not let me be missing something!!!!!!!!!!!!!!!!!! :-) -- 'Out of the inkwell comes Bozo the Clown ...' DISCLAIMER: These opinions are neither mine nor my C-compiler's sun!pyramid!dan