检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:阳丽 YANG Li(School of Information and Computer Engineering,Pingxiang University,Ping Xiang,Jiangxi 337000,China)
机构地区:[1]萍乡学院信息与计算机工程学院,江西萍乡337000
出 处:《萍乡学院学报》2021年第6期73-76,共4页Journal of Pingxiang University
摘 要:多核CPU在不同的内核间同步,通常采用核间自旋锁的方法来保证多核之间互斥。核间自旋锁的使用频度需要根据CPU的核处理能力和用户程序对CPU总体处理能力的要求来进行权衡。如果核间自旋锁的使用过于频繁或核上加锁周期过长,就会导致CPU的单位时间资源使用率过高,使用户代码功能的执行效率降低。为解决核间自旋锁在使用过程中遇到的问题,文章提出的解决方案是在为核间自旋锁加锁和解锁过程增加相应的调试信息,然后针对不同情况进行扫描队列或新增核间自旋锁。In different inter-core synchronization technologies in multi-core CPU,the inter-core spin lock method is often inevitably used.The frequency of the usage of inter-core spin locks needs to be weighed according to the CPU’s core processing capability and the user program’s requirements on the CPU’s overall processing capability.If the inter-core spin lock is used too frequently or the lock period on the core is too long,the CPU’s resource utilization per unit time will be too high and the execution efficiency of user code functions will be reduced.For this reason,the paper proposed to add corresponding debugging information to the inter-core spin locking and unlocking process,and to use the solution of scanning queue or adding inter-core spinlock for different situations.
分 类 号:TP316[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.119.213.42