网站建设资讯

NEWS

网站建设资讯

tpccsysbench测试kernel:perf:interrupttooktoolong

Sep 29 22:00:31 localhost kernel: perf: interrupt took too long (2508 > 2500), lowering kernel.perf_event_max_sample_rate to 79000
Sep 29 22:05:51 localhost kernel: perf: interrupt took too long (3156 > 3135), lowering kernel.perf_event_max_sample_rate to 63000
Sep 29 22:11:54 localhost kernel: perf: interrupt took too long (3946 > 3945), lowering kernel.perf_event_max_sample_rate to 50000
Sep 29 22:19:02 localhost kernel: perf: interrupt took too long (4965 > 4932), lowering kernel.perf_event_max_sample_rate to 40000
Sep 29 22:24:15 localhost kernel: perf: interrupt took too long (3665 > 2500), lowering kernel.perf_event_max_sample_rate to 54000
Sep 29 22:24:20 localhost kernel: perf: interrupt took too long (5015 > 4581), lowering kernel.perf_event_max_sample_rate to 39000


[root@localhost kernel]# cat /etc/sysctl.conf|grep per
kernel.perf_event_max_sample_rate =  100000
kernel.perf_cpu_time_max_percent = 0


echo 0 > /proc/sys/kernel/perf_cpu_time_max_percent
echo 10000 >  /proc/sys/kernel/perf_event_max_sample_rate


本文名称:tpccsysbench测试kernel:perf:interrupttooktoolong
标题来源:http://cdweb.net/article/jopdgs.html