一种高效RTAI共享内存管理层的研究与实现  被引量:1

Research and Development of a High Efficient RTAI Shared Memory Manage Layer

在线阅读下载全文

作  者:王煜[1,2] 林浒 陶耀东[2] 郑一麟[1,2] 

机构地区:[1]中国科学院研究生院,北京100049 [2]中国科学院沈阳计算技术研究所,沈阳110168

出  处:《组合机床与自动化加工技术》2013年第1期27-30,共4页Modular Machine Tool & Automatic Manufacturing Technique

基  金:核高基重大专项(2012ZX01029-001-002);国家科技支撑计划(2012BAF13B08)

摘  要:针对基于国产龙芯CPU的RTAI扩展的数控系统的共享内存问题,通过对RTAI共享内存实现机制的研究,设计共享内存池和共享内存块两级管理数据结构,在RTAI提供的共享内存分配和释放函数的基础上,设计了一种分配算法和释放算法,并使用C语言实现一个高效的共享内存管理层。经验证,该设计有效降低了数控系统共享内存分配和释放的时间耗费,提高了数控系统的共享内存管理效率。Aiming at Shared memory problems of CNC system based on RTAI extension with domestic Loongson CPU, study the RTAI shared memory mechanism, shared memory pool and memory block two-grade management data structure is taken, on the encapsulation of RTAI shared memory allocation and release functions, design allocation algorithm and the release algorithm, achieve a high efficient management of the shared memory with C language. Experimental results show that the method is effective to reduce CNC system' s the shared memory allocation and release time-consuming, and improves CNC system' s shared memory management efficiency.

关 键 词:数控系统 共享内存管理层 分配算法 释放算法 

分 类 号:TH16[机械工程—机械制造及自动化] TG65[金属学及工艺—金属切削加工及机床]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象