欢迎来到天天文库
浏览记录
ID:34973577
大小:275.88 KB
页数:23页
时间:2019-03-15
《Effective Synchronization on Linux NUMA Systems.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、05/20/05EffectiveSynchronizationonLinux/NUMASystems1EffectiveSynchronizationonLinux/NUMASystemsGelatoConference2005thMay20,2005byChristophLameter,Ph.D.christoph@lameter.com©2005SiliconGraphics,Inc.Allrightsreserved.Effectivelockingisnecessaryforsatisfactoryperformanceonla
2、rgeItaniumbasedNUMAsystems.SynchronizationofparallelexecutingstreamsonNUMAmachinesiscurrentlyrealizedintheLinuxkernelthroughavarietyofmechanismswhichincludeatomicoperations,lockingandorderingofmemoryaccesses.Varioussynchronizationmethodsmayalsobecombinedinordertoincreasep
3、erformance.ThetalkpresentstherealizationofbasicsynchronizationinLinuxonItaniumandtheninvestigatesmorecomplexlockingschemes.ThecurrentLinuxlockingmechanismsrelyheavilyonasimplespinlockimplementationthatmaybefittingforsystemsofupto8processors.However,spinlockscauseexcessive
4、cachelinebouncingifmoreprocessorsarecontendingforalock.SomeapproachesthathavesofarbeenmadetosolvethecontentionissuearepresentedanditisthensuggestedtouseanimplementationforLinuxoftheapproachfirstproposedbyZoranRadovicwhichhecalled"HierarchicalBackoffLocks".05/20/05Effectiv
5、eSynchronizationonLinux/NUMASystems2TableofContents1Introduction.......................................................................................................................32BasicAtomicity.........................................................................
6、........................................42.1Cachelines................................................................................................................52.2Atomicnatureofprocessoroperations.....................................................................
7、.62.3Utilizingoperationalatomicityforlistprocessing....................................................62.4Barriersandacquire/release....................................................................................73Atomicsemaphoreinstructions..........................
8、...............................................................93.1Compareandexchange...........
此文档下载收益归作者所有