环境为虚拟机,内核2.6.20 总是报错: debian:/home/checksum# opreport opreport error: No sample file found: try running opcontrol --dump or specify a session containing sample files ---基本上确定为虚拟机下不能使用,物理机上都是没问题的。 [ 本帖最后由 Godbach 于 2008-5-10 11:35 编辑 ]
我已经按照网上的方法.得出了报告. 但不太明白报告的内部 哪位能说一下 下面各个标题的含义. [code] CPU: CPU with timer interrupt, speed 0 MHz (estimated) Profiling through timer interrupt Counted GLOBAL_POWER_EVENTS events (time during which processor is not stopped) with a unit mask of 0x01 (mandatory) count 100000 samples % samples % image name symbol name 4 ...
我写了一个简单的C/S模式下的TCP程序,从客户端发往一个服务器,现在用oprofile来监测网络内核的性能。 情景一:服务器端只启用一个socket监听,客户端建立10k个连接发送一定数据到服务器端。 情景二:服务器端启用多个socket监听,客户端发送等量数据发送等量数据到服务器端。 用oprofile来监测网络内核的性能。 请大侠指点一二!!