Article :Browse 145 Download 168
Received:March 24, 2017 Revised:October 02, 2018
Received:March 24, 2017 Revised:October 02, 2018
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.
keywords: Xorg frame buffer embedded parallel algorithm multi-core CPU
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
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