Journal of Software:2020.31(10):3309-3320

(国防科技大学 计算机学院, 湖南 长沙 410073;军事科学院 国防科技创新中心, 北京 100091)
Parallel Frame Buffer Device: Graphics Acceleration Based on Multi-core CPU for Xorg
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)
Chart / table
Similar Articles
Article :Browse 145   Download 168
Received:March 24, 2017    Revised:October 02, 2018
> 中文摘要: Xorg图形服务器软件在帧缓存设备上采用单线程绘制模式,难以发挥多核CPU的性能.针对多核CPU上的帧缓存设备,设计了带有互斥操作的任务队列,并按照屏幕划分的方法,实现了Xorg的矩形填充操作在帧缓存设备上基于私有任务队列的多线程并行化,并实现了主从线程负载均衡.x11perf测试结果表明,该算法在一台4核商用台式机上的加速比可以达到2.06.
中文关键词: Xorg  帧缓存设备  嵌入式  并行算法  多核CPU
Abstract:Xorg server is running in single-threaded mode on frame buffer device, which is hard to obtain good performance on multi-core 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.
文章编号:     中图分类号:TP316    文献标志码:
基金项目:国家核高基重大专项(2017ZX01038-104-002);国家自然科学基金(61502510) 国家核高基重大专项(2017ZX01038-104-002);国家自然科学基金(61502510)
Foundation items:National Fundamental Science and Technology Foundation of China (2017ZX01038-104-002); National Natural Science Foundation of China (61502510)
Reference text:


GAO Long,DAI Hua-Dong,YANG Sha-Zhou,DING Yan.Parallel Frame Buffer Device: Graphics Acceleration Based on Multi-core CPU for Xorg.Journal of Software,2020,31(10):3309-3320