随着多媒体So C中具备密集访存能力的设备数量增加,设备之间频繁争抢存储体资源,严重影响访存性能.为此提出一种面向多媒体So C的存储体访存负载均衡划分方法.通过操作系统对物理内存的管理,将设备所访问的数据映射到独立的存储体中,避免争抢频繁的设备共享存储体,减少设备间的访存冲突;划分过程基于数据量、延迟分析设备访存行为与访存冲突之间的关系,并以此来均衡各存储体的访问负载,同时提升多个设备的访存性能.该方法不依赖特殊硬件也无需修改上层应用,提供了一种透明的纯软件优化手段.将文中方法应用于真实的多媒体So C的实验结果表明,与基于带宽优先的划分方法相比,该方法在提高带宽利用率的同时降低访存延迟,将解码帧率提升8.4%~12.3%;并且在保证服务质量的情况下,可以通过进一步降低内存工作频率来减少系统功耗.
Multimedia So C equips with more powerful devices, which delivers a plenty of requests and incurs inter device memory interference. We proposed a bank partition method to alleviate the inter device memory interference for the multimedia So C. The memory bandwidth and latency are taken as heuristic information to identify the device that incurs massive interference. By mapping unfriendly devices to separate banks, it breaks the sharing relationship and mitigates the inter device interference, requiring no modification of hardware and applications. By running HDTV applications, this method is evaluated on a real So C platform. Experimental results show that, the proposed method can provide a performance improvement by 8.4%~12.3%. While guaranteeing the quality of service, the frequency of memory can be reduced further for saving power consumption.