并行帧缓存设备:基于多核CPU的Xorg并行显示优化  被引量:1

Parallel Frame Buffer Device:Graphics Acceleration Based on Multi-core CPU for Xorg

在线阅读下载全文

作  者:高珑[1] 戴华东 杨沙洲[1] 丁滟[1] GAO Long;DAI Hua-Dong;YANG Sha-Zhou;DING Yan(College of Computer Science and Technology,National University of Defense Technology,Changsha 410073,China;National Innovation Institute of Defense Technology,Academy of Military Sciences,Beijing 100091,China)

机构地区:[1]国防科技大学计算机学院,湖南长沙410073 [2]军事科学院国防科技创新中心,北京100091

出  处:《软件学报》2020年第10期3309-3320,共12页Journal of Software

基  金:国家核高基重大专项(2017ZX01038-104-002);国家自然科学基金(61502510)。

摘  要:Xorg图形服务器软件在帧缓存设备上采用单线程绘制模式,难以发挥多核CPU的性能.针对多核CPU上的帧缓存设备,设计了带有互斥操作的任务队列,并按照屏幕划分的方法,实现了Xorg的矩形填充操作在帧缓存设备上基于私有任务队列的多线程并行化,并实现了主从线程负载均衡.x11perf测试结果表明,该算法在一台4核商用台式机上的加速比可以达到2.06.Xorg server is running in single-threaded mode on frame buffer device,which is hard to obtain good performance on multicore CPU.For frame buffer device on multi-core CPU,a task queue is designed with mutual-inclusion,screen is split into several sub-screens,and each sub-screen is attached with a thread to draw rectangles within that sub-screen.A private task queue for each thread is used to hold their own tasks to draw rectangles,and load balance is kept between the main thread and each sub-thread.Results of x11perf show that rectangles filling operation could reach a speed-up ratio of 2.06 on a 4-core DELL desktop computer.

关 键 词:Xorg 帧缓存设备 嵌入式 并行算法 多核CPU 

分 类 号:TP316[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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