SLIDE 1
CS252LectureNotes MultithreadedArchitectures
- Concept
Tolerateormasklongandoftenunpredictablelatencyoperationsbyswitchingtoanothercontext, whichisabletodousefulwork.
- SituationToday–Whyisthistopicrelevant?
- ILPhasbeenexhaustedwhichmeansthreadlevelparallelismmustbeutilized
- Thegapbetweenprocessorperformanceandmemoryperformanceisstilllarge
- Thereisamplereal-estateforimplementation
- Moreapplicationsarebeingwrittenwiththeuseofthreadsandmultitaskingisubiquitous
- Multiprocessorsaremorecommon
- Networklatencyisanalogoustomemorylatency
- Complexschedulingisalreadybeingdoneinhardware
- ClassicalProblem
60’sand70’s
- I/Olatencypromptedmultitasking
- IBMmainframes
- Multitasking
- I/Oprocessors
- Cacheswithindiskcontrollers
- RequirementsofMultithreading
- Storageneedtoholdmultiplecontext’sPC,registers,statusword,etc.
- Coordinationtomatchaneventwithasavedcontext
- Awaytoswitchcontexts
- Longlatencyoperationsmustuseresourcesnotinuse
- Tovisualizetheeffectoflatencyonprocessorutilization,letRbetherunlengthtoalonglatency