检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王月 李杰 Wang Yue;Li Jie(China Academy of Space Technology,Yantai 264003,China)
出 处:《单片机与嵌入式系统应用》2021年第12期31-34,共4页Microcontrollers & Embedded Systems
摘 要:传统自旋锁具有无序竞争的特点,本文对自旋锁机制进行了研究,通过引入优先级和等待次数阈值提出可调优先级自旋锁,保证高优先级任务尽可能多地获得锁,低优先级任务经过一段等待时间后调整优先级、增加获取锁的机会,实现了可调优先级自旋锁并通过实验进行了验证。测试结果表明,可调优先级自旋锁既能够减少传统自旋锁的时间开销,又能保证高优先级处理器核锁申请较快得到响应,验证了可调优先级自旋锁在多核系统中是可用的。The traditional spin locks have the characteristics of disorderly competition.In response to this problem,the spin lock mechanism has been studied.By introducing priority and wait times thresholds,an adjustable priority spin lock is proposed to ensure that highpriority tasks can obtain as many locks as possible.The low-priority tasks adjust their priority after a period of waiting time to increase the chance of acquiring locks.The adjustable priority spin lock is realized and verified by experiments.The experiment test results show that the adjustable priority spin lock can not only reduce the time overhead in the case of traditional spin lock,but also ensure high priority request of the level processor gets a faster response,that verifies the adjustable priority spin lock is available in a multicore system.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49