انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة
الكلية كلية العلوم للبنات
القسم قسم الحاسبات
المرحلة 2
أستاذ المادة نور كاظم ايوب مهدي المهدي
28/03/2018 15:51:06
Problems of cache design! It should be clear that as more requests for items that do not exist in the cache (cache miss) occur, more blocks would have to be brought to the cache. This should raise (يثير) two basic questions:
first : Where to place an incoming main memory block in the cache? Second: In the case where the cache is totally filled, which cache block should the incoming main memory block replace? In other words, the designer faces two problems must be taken into consideration: Placement of incoming blocks and Replacement of existing blocks are performed according.
Replacement Techniques We discuss three algorithms that are used to deal with miss case when the cache is full:- ----------------------------------------------------------------------------------------- A) Random Selection ----------------------------------------------------------------------------------------- It is done based on the output of the random number generator at the time of replacement. The generator produce a number between 0 and (N - 1) where N is no. of blocks in cache. This technique is simple and does not require much additional overhead. However, its main shortcoming is that it does not take locality into consideration. Random techniques have been found effective enough such that they have been first used by Intel in its iAPX microprocessor series.
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
|