作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (20): 40-42. doi: 10.3969/j.issn.1000-3428.2006.20.015

• 软件技术与数据库 • 上一篇    下一篇

Linux环境下PowerPC-NC运行性能参数的获取

孙立江,朱 利,魏恒义   

  1. (西安交通大学软件学院,西安 710049)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-20 发布日期:2006-10-20

Collecting Techniques of PowerPC-NC System Runtime  Performance Data under Linux Environment

SUN Lijiang, ZHU Li, WEI Hengyi   

  1. (School of Software Engineering, Xi’an Jiaotong University, Xi’an 710049)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-20 Published:2006-10-20

摘要: 基于PowerPC的NC系统正逐步得到应用,但其运行性能监测工具尚未开发出来。PowerPC-NC系统硬件性能参数的获取必须解决两个主要问题:内核数据的采集,用户空间与内核空间的通信。通过对Linux环境下NC性能参数采集方法的研究,提出了一种基于LKM技术的虚拟设备驱动程序方法,并在此基础上实现了PowerPC-NC系统的数据采集模块。实验结果表明,该方法具有效率高、易用性好的特点。

关键词: NC系统, 性能指标, LKM, 内核空间

Abstract: PowerPC-based NC systems are gradually put into action, but the corresponding tools of runtime performance monitoring for these NCs are not yet developed. Two problems must be resolved for the collection of PowerPC-NC system runtime performance parameters: one is the collecting kernel data and the other is communication between user space and kernel space. Performance parameter collecting methods in Linux are researched and the virtual-device-driver method based on LKM is proposed. Based on this collecting method a data collection module of PowerPC-NC system is designed and implemented, which can collect the performance parameters of NC server. Experiment results indicate that this tool has a high effectiveness and is easy to be used.

Key words: Network computer system, Performance parameter, LKM, Kernel space

中图分类号: