首页> 中文期刊> 《计算机技术与发展》 >国产飞腾1500A处理器的显存管理优化

国产飞腾1500A处理器的显存管理优化

         

摘要

In phytium 1500A processor-based computer system,the existing operating system graphics subsystem could produce segment errors when copying data between main memory and graphics card VRAM (video memory),which causes that the graphics subsystem can only use main memory as video memory and cannot be used VRAM directly.Because main memory access is so slower than accessing VRAM directly by graphics card that the problem in some scenes limits the efficiency of the graphics card,thereby limiting the performance of the graphics subsystem.Therefore,an optimization method of graphics system memory management with the Phytium 1500A processor has been presented,which permits the system equipped with graphics card VRAM,for the purpose of performance promotion.The graphics subsystem is composed of two types of components,fixed and mobile components.In the former of which the instructions of I/O devices can be used to replace memory copy instructions with Phytium 1500A processor by using VRAM which could copy the pattern data to the VRAM for efficiency promotion of the graphics card;in the latter of which the main memory can be used as video memory.Experimental results show that the Phytium 1500A processor-based computer graphics display performance has been significantly improved,wherein the 3D display performance has been promoted several times higher without mistake and that even if there is about 10% performance degradation for 2D graphics,the VRAM is also suitable for a large number of scenes with 3D graphics applications.%基于飞腾1500A处理器的计算机系统中,现有操作系统图形子系统主存和显卡VRAM(显存)之间拷贝图形运算数据时会产生段错误,导致图形子系统只能使用主存作为显存而不能直接使用VRAM.由于显卡访问主存比访问VRAM的速度慢很多,因此在某些场景下限制了显卡的工作效率,从而限制了图形子系统的性能.为此,提出了一种基于飞腾1500A处理器的图形系统显存管理的优化方法,让图形子系统能够访问显卡VRAM,以达到提升性能的目的.该方法把图形子系统划分为固定组件和流动组件两类.对于固定组件,采用飞腾1500A访问I/O设备的指令替换内存拷贝指令,使固定组件能够直接访问VRAM,从而将图形数据拷贝到VRAM中,以提高显卡工作效率;对于流动组件,则继续使用主存作为显存.实验结果表明,采用该管理方法后,基于飞腾1500A处理器的计算机图形显示整体性能在某些显卡中大幅提升,其中3D显示性能有数倍的提升,并且不会产生段错误;即使对2D图形大概有10%的性能下降,亦能适于运行大量3D图形应用的场景.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号