Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
Қайта ойнату жүйесі – Intel Pentium 4 процессорының ішкі жүйесі. Оның басты міндеті – процессордың жоспарлаушысы қате жіберген орындалуға жіберілген операцияларды анықтау. Қайта ойнату жүйесімен анықталған операциялар олардың дұрыс орындалуына қажетті жағдайлар орындалғанша циклмен қайта орындалады.
The replay system is a subsystem within the Intel Pentium 4 processor. Its primary function is to catch operations that have been mistakenly sent for execution by the processor's scheduler. Operations caught by the replay system are then re executed in a loop until the conditions necessary for their proper execution have been fulfilled.
Шолу
Қайта ойнату жүйесі Intel компаниясының сағат жылдамдығын үздіксіз арттыруға тырысуының нәтижесінде пайда болды. Осы жоғары сағат жылдамдықтары өте ұзын құбырларды қажет етті (Прескотт ядросында 31 сатыға дейін). Осы себепті, Прескотт ядросында жоспарлаушы мен орындау бірліктері арасында алты кезең бар. Қабылданатын деңгейдегі өнімділікті сақтау мақсатында Intel инженерлері жоспарлаушыны өте сенімді етіп жобалауға мәжбүр болды.
The replay system came about as a result of Intel's quest for ever increasing clock speeds. These higher clock speeds necessitated very lengthy pipelines (up to 31 stages in the Prescott core). Because of this, there are six stages between the scheduler and the execution units in the Prescott core. In an attempt to maintain acceptable performance, Intel engineers had to design the scheduler to be very optimistic.
Орындаушылық мән-жайлар
Кейбір жағдайларда қайта ойнату жүйесі өнімділікке өте теріс әсер ете алады. Әдеттегі жағдайда, Pentium 4 процессорларының орындау бірліктері уақтың шамамен 33% бөлігінде жұмыс істейді. Қайта ойнату жүйесі іске қосылғанда, ол барлық қолданылатын циклдарда орындау бірліктерін толығымен пайдаланады. Бұл қуатты ысыраптап, архитектуралық дизайнның маңызды көрсеткіші болып табылады, бірақ орындау бірліктері дегенмен бос тұрғандықтан өнімділікке ешқандай зиян келтірмейді. Дегенмен, егер гипер жіптеу (hyper threading) қолданылса, қайта ойнату жүйесі екінші жіптің орындау бірліктерін пайдалануына кедерілгі келтіреді. Гипер жіптеуге байланысты өнімділіктің төмендеуіне осы себеп болады. Prescott процессорларында Pentium 4 қайта ойнату буферін алды, бұл қайта ойнату жүйесінің орындау бірліктерін пайдаланатын уақытын қысқартады. Басқа жағдайларда, әрбір жіп әртүрлі операцияларды өңдегенде, қайта ойнату жүйесі араласпайды және өнімділік артуы мүмкін. Осы себепті гипер жіптеудің өнімділігі қолданбаға байланысты болады.
Not surprisingly, in some cases the replay system can have a very bad impact on performance. Under normal circumstances, the execution units in the Pentium 4 are in use roughly 33% of the time. When the replay system is invoked, it will occupy execution units nearly every available cycle. This wastes power, which is an increasingly important architectural design metric, but poses no performance penalty because the execution units would be sitting idle anyway. However, if hyper threading is in use, the replay system will prevent the other thread from utilizing the execution units. This is the true cause of any performance degradation concerning hyper threading. In Prescott, the Pentium 4 gained a replay queue, which reduces the time the replay system will occupy the execution units. In other cases, where each thread is processing different types of operations, the replay system will not interfere, and a performance increase can appear. This explains why performance with hyper threading is application dependent.