Methods of Resource Allocation with Conflict Detection

Xin Li, Meng Wang
{"title":"Methods of Resource Allocation with Conflict Detection","authors":"Xin Li, Meng Wang","doi":"10.1109/IICSPI.2018.8690426","DOIUrl":null,"url":null,"abstract":"The problems of resource allocation in query-applying pattern widely exist in daily applications. Resource allocation has the characteristic of exclusiveness. Lock methods are mostly used to deal with possible conflicts in the allocation process in traditional solutions. There is a natural contradiction between lock mechanism and multi task parallelism and such contradiction becomes more and more protruding with the increasing popularity of parallel processing environments represented by multi core CPU. A method of abandoning lock mechanism at application level is discussed in this paper. Instead, the method of resource conflict detection is used to ensure the correctness of transaction parallelism. According to sufficient conditions for the effectiveness of conflict detection, two kinds of conflict detection algorithms are proposed, which are separately based on the queue and on Key-T table. Then, the problem of resource allocation is further extended to \"renting\" situation with \"time dimension\", where a more general conflict detection algorithm is proposed. The parallel efficiency of multi task system can be improved remarkably and the implementation of the system can be much simplified with the scheme based on conflict detection.","PeriodicalId":6673,"journal":{"name":"2018 IEEE International Conference of Safety Produce Informatization (IICSPI)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2018-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE International Conference of Safety Produce Informatization (IICSPI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IICSPI.2018.8690426","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The problems of resource allocation in query-applying pattern widely exist in daily applications. Resource allocation has the characteristic of exclusiveness. Lock methods are mostly used to deal with possible conflicts in the allocation process in traditional solutions. There is a natural contradiction between lock mechanism and multi task parallelism and such contradiction becomes more and more protruding with the increasing popularity of parallel processing environments represented by multi core CPU. A method of abandoning lock mechanism at application level is discussed in this paper. Instead, the method of resource conflict detection is used to ensure the correctness of transaction parallelism. According to sufficient conditions for the effectiveness of conflict detection, two kinds of conflict detection algorithms are proposed, which are separately based on the queue and on Key-T table. Then, the problem of resource allocation is further extended to "renting" situation with "time dimension", where a more general conflict detection algorithm is proposed. The parallel efficiency of multi task system can be improved remarkably and the implementation of the system can be much simplified with the scheme based on conflict detection.
具有冲突检测的资源分配方法
查询应用模式中的资源分配问题在日常应用中广泛存在。资源配置具有排他性的特点。在传统的解决方案中,锁方法主要用于处理分配过程中可能出现的冲突。锁机制与多任务并行之间存在着天然的矛盾,随着以多核CPU为代表的并行处理环境的日益普及,这种矛盾越来越突出。本文讨论了一种在应用层放弃锁机制的方法。相反,使用资源冲突检测方法来确保事务并行性的正确性。根据冲突检测有效性的充分条件,分别提出了基于队列和基于Key-T表的两种冲突检测算法。然后,将资源分配问题进一步扩展到具有“时间维度”的“租用”情况,提出了一种更通用的冲突检测算法。基于冲突检测的多任务并行处理方案可以显著提高多任务系统的并行效率,大大简化系统的实现。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信