newrelic_rpm 3.9.4.245 → 3.9.5.251
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +57 -0
- data/Guardfile +1 -0
- data/lib/new_relic/agent/agent.rb +3 -3
- data/lib/new_relic/agent/audit_logger.rb +5 -2
- data/lib/new_relic/agent/configuration/default_source.rb +11 -5
- data/lib/new_relic/agent/error_collector.rb +14 -1
- data/lib/new_relic/agent/hostname.rb +22 -1
- data/lib/new_relic/agent/instrumentation/middleware_tracing.rb +8 -2
- data/lib/new_relic/agent/instrumentation/queue_time.rb +9 -6
- data/lib/new_relic/agent/method_tracer.rb +51 -172
- data/lib/new_relic/agent/method_tracer_helpers.rb +90 -0
- data/lib/new_relic/agent/new_relic_service.rb +33 -11
- data/lib/new_relic/agent/new_relic_service/encoders.rb +9 -5
- data/lib/new_relic/agent/request_sampler.rb +20 -12
- data/lib/new_relic/agent/rules_engine.rb +31 -78
- data/lib/new_relic/agent/rules_engine/replacement_rule.rb +76 -0
- data/lib/new_relic/agent/rules_engine/segment_terms_rule.rb +48 -0
- data/lib/new_relic/agent/samplers/cpu_sampler.rb +1 -1
- data/lib/new_relic/agent/sql_sampler.rb +39 -10
- data/lib/new_relic/agent/stats_engine/metric_stats.rb +1 -0
- data/lib/new_relic/agent/stats_engine/stats_hash.rb +7 -13
- data/lib/new_relic/agent/system_info.rb +96 -10
- data/lib/new_relic/agent/threading/agent_thread.rb +4 -1
- data/lib/new_relic/agent/threading/backtrace_node.rb +67 -57
- data/lib/new_relic/agent/threading/thread_profile.rb +30 -15
- data/lib/new_relic/agent/transaction.rb +11 -4
- data/lib/new_relic/environment_report.rb +21 -20
- data/lib/new_relic/version.rb +1 -1
- data/test/agent_helper.rb +12 -0
- data/test/fixtures/cross_agent_tests/README.md +1 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/1pack_1core_1logical.txt +3 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/1pack_1core_2logical.txt +14 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/1pack_2core_2logical.txt +14 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/1pack_4core_4logical.txt +28 -0
- data/test/fixtures/{proc_cpuinfo.txt → cross_agent_tests/proc_cpuinfo/2pack_12core_24logical.txt} +0 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/2pack_20core_40logical.txt +999 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/2pack_2core_2logical.txt +51 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/2pack_2core_4logical.txt +28 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/2pack_4core_4logical.txt +28 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/4pack_4core_4logical.txt +103 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/8pack_8core_8logical.txt +199 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/README.md +24 -0
- data/test/fixtures/cross_agent_tests/proc_cpuinfo/Xpack_Xcore_2logical.txt +43 -0
- data/test/fixtures/cross_agent_tests/transaction_segment_terms.json +101 -0
- data/test/multiverse/lib/multiverse/suite.rb +1 -1
- data/test/multiverse/suites/agent_only/agent_run_id_handling_test.rb +40 -0
- data/test/multiverse/suites/agent_only/labels_test.rb +9 -14
- data/test/multiverse/suites/agent_only/marshaling_test.rb +4 -6
- data/test/multiverse/suites/agent_only/rename_rule_test.rb +41 -4
- data/test/multiverse/suites/agent_only/set_transaction_name_test.rb +11 -3
- data/test/multiverse/suites/config_file_loading/config_file_loading_test.rb +8 -8
- data/test/multiverse/suites/rack/example_app.rb +20 -0
- data/test/multiverse/suites/rack/http_response_code_test.rb +51 -0
- data/test/multiverse/suites/sidekiq/Envfile +13 -6
- data/test/multiverse/suites/sidekiq/sidekiq_server.rb +4 -3
- data/test/new_relic/agent/audit_logger_test.rb +27 -0
- data/test/new_relic/agent/error_collector_test.rb +26 -5
- data/test/new_relic/agent/hostname_test.rb +66 -14
- data/test/new_relic/agent/instrumentation/action_controller_subscriber_test.rb +8 -12
- data/test/new_relic/agent/method_tracer/instance_methods/trace_execution_scoped_test.rb +7 -45
- data/test/new_relic/agent/method_tracer_test.rb +52 -1
- data/test/new_relic/agent/new_relic_service_test.rb +76 -0
- data/test/new_relic/agent/request_sampler_test.rb +7 -0
- data/test/new_relic/agent/rules_engine_test.rb +87 -56
- data/test/new_relic/agent/sql_sampler_test.rb +50 -14
- data/test/new_relic/agent/stats_engine/metric_stats_test.rb +2 -2
- data/test/new_relic/agent/stats_engine/samplers_test.rb +1 -1
- data/test/new_relic/agent/{stats_hash_test.rb → stats_engine/stats_hash_test.rb} +1 -38
- data/test/new_relic/agent/system_info_test.rb +45 -0
- data/test/new_relic/agent/threading/agent_thread_test.rb +30 -0
- data/test/new_relic/agent/threading/backtrace_node_test.rb +27 -44
- data/test/new_relic/agent/threading/thread_profile_test.rb +35 -14
- data/test/new_relic/agent/transaction_test.rb +13 -10
- data/test/new_relic/environment_report_test.rb +7 -6
- data/test/new_relic/fake_collector.rb +10 -6
- data/test/new_relic/multiverse_helpers.rb +4 -11
- data/test/new_relic/rack/agent_hooks_test.rb +1 -1
- data/test/performance/lib/performance/baseline_compare_reporter.rb +24 -7
- data/test/performance/lib/performance/result.rb +3 -1
- data/test/performance/lib/performance/runner.rb +10 -0
- data/test/performance/lib/performance/timer.rb +6 -10
- data/test/performance/script/runner +18 -1
- data/test/performance/suites/queue_time.rb +21 -0
- data/test/performance/suites/stats_hash.rb +34 -0
- data/test/performance/suites/thread_profiling.rb +26 -0
- metadata +25 -4
- metadata.gz.sig +0 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
processor : 0
|
2
|
+
vendor_id : AuthenticAMD
|
3
|
+
cpu family : 15
|
4
|
+
model : 33
|
5
|
+
model name : Dual Core AMD Opteron(tm) Processor 270
|
6
|
+
stepping : 2
|
7
|
+
cpu MHz : 2004.546
|
8
|
+
cache size : 1024 KB
|
9
|
+
physical id : 0
|
10
|
+
siblings : 1
|
11
|
+
core id : 0
|
12
|
+
cpu cores : 1
|
13
|
+
fpu : yes
|
14
|
+
fpu_exception : yes
|
15
|
+
cpuid level : 1
|
16
|
+
wp : yes
|
17
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush mmx fx
|
18
|
+
sr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_lega
|
19
|
+
cy
|
20
|
+
bogomips : 4011.21
|
21
|
+
TLB size : 1024 4K pages
|
22
|
+
clflush size : 64
|
23
|
+
cache_alignment : 64
|
24
|
+
address sizes : 40 bits physical, 48 bits virtual
|
25
|
+
power management: ts fid vid ttp
|
26
|
+
|
27
|
+
processor : 1
|
28
|
+
vendor_id : AuthenticAMD
|
29
|
+
cpu family : 15
|
30
|
+
model : 33
|
31
|
+
model name : Dual Core AMD Opteron(tm) Processor 270
|
32
|
+
stepping : 2
|
33
|
+
cpu MHz : 2004.546
|
34
|
+
cache size : 1024 KB
|
35
|
+
physical id : 1
|
36
|
+
siblings : 1
|
37
|
+
core id : 0
|
38
|
+
cpu cores : 1
|
39
|
+
fpu : yes
|
40
|
+
fpu_exception : yes
|
41
|
+
cpuid level : 1
|
42
|
+
wp : yes
|
43
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush mmx fx
|
44
|
+
sr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm cmp_l
|
45
|
+
egacy
|
46
|
+
bogomips : 4011.21
|
47
|
+
TLB size : 1024 4K pages
|
48
|
+
clflush size : 64
|
49
|
+
cache_alignment : 64
|
50
|
+
address sizes : 40 bits physical, 48 bits virtual
|
51
|
+
power management: ts fid vid ttp
|
@@ -0,0 +1,28 @@
|
|
1
|
+
processor : 0
|
2
|
+
model name : Intel(R) Xeon(TM) CPU 3.60GHz
|
3
|
+
cache size : 1024 KB
|
4
|
+
physical id : 0
|
5
|
+
siblings : 2
|
6
|
+
core id : 0
|
7
|
+
cpu cores : 1
|
8
|
+
processor : 1
|
9
|
+
model name : Intel(R) Xeon(TM) CPU 3.60GHz
|
10
|
+
cache size : 1024 KB
|
11
|
+
physical id : 3
|
12
|
+
siblings : 2
|
13
|
+
core id : 0
|
14
|
+
cpu cores : 1
|
15
|
+
processor : 2
|
16
|
+
model name : Intel(R) Xeon(TM) CPU 3.60GHz
|
17
|
+
cache size : 1024 KB
|
18
|
+
physical id : 0
|
19
|
+
siblings : 2
|
20
|
+
core id : 0
|
21
|
+
cpu cores : 1
|
22
|
+
processor : 3
|
23
|
+
model name : Intel(R) Xeon(TM) CPU 3.60GHz
|
24
|
+
cache size : 1024 KB
|
25
|
+
physical id : 3
|
26
|
+
siblings : 2
|
27
|
+
core id : 0
|
28
|
+
cpu cores : 1
|
@@ -0,0 +1,28 @@
|
|
1
|
+
processor : 0
|
2
|
+
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
|
3
|
+
cache size : 4096 KB
|
4
|
+
physical id : 0
|
5
|
+
siblings : 2
|
6
|
+
core id : 0
|
7
|
+
cpu cores : 2
|
8
|
+
processor : 1
|
9
|
+
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
|
10
|
+
cache size : 4096 KB
|
11
|
+
physical id : 0
|
12
|
+
siblings : 2
|
13
|
+
core id : 1
|
14
|
+
cpu cores : 2
|
15
|
+
processor : 2
|
16
|
+
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
|
17
|
+
cache size : 4096 KB
|
18
|
+
physical id : 3
|
19
|
+
siblings : 2
|
20
|
+
core id : 0
|
21
|
+
cpu cores : 2
|
22
|
+
processor : 3
|
23
|
+
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
|
24
|
+
cache size : 4096 KB
|
25
|
+
physical id : 3
|
26
|
+
siblings : 2
|
27
|
+
core id : 1
|
28
|
+
cpu cores : 2
|
@@ -0,0 +1,103 @@
|
|
1
|
+
processor : 0
|
2
|
+
vendor_id : AuthenticAMD
|
3
|
+
cpu family : 15
|
4
|
+
model : 65
|
5
|
+
model name : Dual-Core AMD Opteron(tm) Processor 2218 HE
|
6
|
+
stepping : 3
|
7
|
+
cpu MHz : 2599.998
|
8
|
+
cache size : 1024 KB
|
9
|
+
physical id : 0
|
10
|
+
siblings : 1
|
11
|
+
core id : 0
|
12
|
+
cpu cores : 1
|
13
|
+
fpu : yes
|
14
|
+
fpu_exception : yes
|
15
|
+
cpuid level : 1
|
16
|
+
wp : yes
|
17
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush mmx fx
|
18
|
+
sr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf
|
19
|
+
_lm cmp_legacy svm extapic cr8_legacy
|
20
|
+
bogomips : 5202.15
|
21
|
+
TLB size : 1024 4K pages
|
22
|
+
clflush size : 64
|
23
|
+
cache_alignment : 64
|
24
|
+
address sizes : 40 bits physical, 48 bits virtual
|
25
|
+
power management: ts fid vid ttp tm stc
|
26
|
+
|
27
|
+
processor : 1
|
28
|
+
vendor_id : AuthenticAMD
|
29
|
+
cpu family : 15
|
30
|
+
model : 65
|
31
|
+
model name : Dual-Core AMD Opteron(tm) Processor 2218 HE
|
32
|
+
stepping : 3
|
33
|
+
cpu MHz : 2599.998
|
34
|
+
cache size : 1024 KB
|
35
|
+
physical id : 1
|
36
|
+
siblings : 1
|
37
|
+
core id : 0
|
38
|
+
cpu cores : 1
|
39
|
+
fpu : yes
|
40
|
+
fpu_exception : yes
|
41
|
+
cpuid level : 1
|
42
|
+
wp : yes
|
43
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush mmx fx
|
44
|
+
sr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow up pni cx16 l
|
45
|
+
ahf_lm cmp_legacy svm extapic cr8_legacy
|
46
|
+
bogomips : 5202.15
|
47
|
+
TLB size : 1024 4K pages
|
48
|
+
clflush size : 64
|
49
|
+
cache_alignment : 64
|
50
|
+
address sizes : 40 bits physical, 48 bits virtual
|
51
|
+
power management: ts fid vid ttp tm stc
|
52
|
+
|
53
|
+
processor : 2
|
54
|
+
vendor_id : AuthenticAMD
|
55
|
+
cpu family : 15
|
56
|
+
model : 65
|
57
|
+
model name : Dual-Core AMD Opteron(tm) Processor 2218 HE
|
58
|
+
stepping : 3
|
59
|
+
cpu MHz : 2599.998
|
60
|
+
cache size : 1024 KB
|
61
|
+
physical id : 2
|
62
|
+
siblings : 1
|
63
|
+
core id : 0
|
64
|
+
cpu cores : 1
|
65
|
+
fpu : yes
|
66
|
+
fpu_exception : yes
|
67
|
+
cpuid level : 1
|
68
|
+
wp : yes
|
69
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush mmx fx
|
70
|
+
sr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow up pni cx16 l
|
71
|
+
ahf_lm cmp_legacy svm extapic cr8_legacy
|
72
|
+
bogomips : 5202.15
|
73
|
+
TLB size : 1024 4K pages
|
74
|
+
clflush size : 64
|
75
|
+
cache_alignment : 64
|
76
|
+
address sizes : 40 bits physical, 48 bits virtual
|
77
|
+
power management: ts fid vid ttp tm stc
|
78
|
+
|
79
|
+
processor : 3
|
80
|
+
vendor_id : AuthenticAMD
|
81
|
+
cpu family : 15
|
82
|
+
model : 65
|
83
|
+
model name : Dual-Core AMD Opteron(tm) Processor 2218 HE
|
84
|
+
stepping : 3
|
85
|
+
cpu MHz : 2599.998
|
86
|
+
cache size : 1024 KB
|
87
|
+
physical id : 3
|
88
|
+
siblings : 1
|
89
|
+
core id : 0
|
90
|
+
cpu cores : 1
|
91
|
+
fpu : yes
|
92
|
+
fpu_exception : yes
|
93
|
+
cpuid level : 1
|
94
|
+
wp : yes
|
95
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush mmx fx
|
96
|
+
sr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow up pni cx16 l
|
97
|
+
ahf_lm cmp_legacy svm extapic cr8_legacy
|
98
|
+
bogomips : 5202.15
|
99
|
+
TLB size : 1024 4K pages
|
100
|
+
clflush size : 64
|
101
|
+
cache_alignment : 64
|
102
|
+
address sizes : 40 bits physical, 48 bits virtual
|
103
|
+
power management: ts fid vid ttp tm stc
|
@@ -0,0 +1,199 @@
|
|
1
|
+
processor : 0
|
2
|
+
vendor_id : GenuineIntel
|
3
|
+
cpu family : 6
|
4
|
+
model : 15
|
5
|
+
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
|
6
|
+
stepping : 11
|
7
|
+
cpu MHz : 2327.498
|
8
|
+
cache size : 4096 KB
|
9
|
+
physical id : 0
|
10
|
+
siblings : 1
|
11
|
+
core id : 0
|
12
|
+
cpu cores : 1
|
13
|
+
fpu : yes
|
14
|
+
fpu_exception : yes
|
15
|
+
cpuid level : 10
|
16
|
+
wp : yes
|
17
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts ac
|
18
|
+
pi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx
|
19
|
+
est tm2 ssse3 cx16 xtpr dca lahf_lm
|
20
|
+
bogomips : 4654.10
|
21
|
+
clflush size : 64
|
22
|
+
cache_alignment : 64
|
23
|
+
address sizes : 38 bits physical, 48 bits virtual
|
24
|
+
power management:
|
25
|
+
|
26
|
+
processor : 1
|
27
|
+
vendor_id : GenuineIntel
|
28
|
+
cpu family : 6
|
29
|
+
model : 15
|
30
|
+
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
|
31
|
+
stepping : 11
|
32
|
+
cpu MHz : 2327.498
|
33
|
+
cache size : 4096 KB
|
34
|
+
physical id : 1
|
35
|
+
siblings : 1
|
36
|
+
core id : 0
|
37
|
+
cpu cores : 1
|
38
|
+
fpu : yes
|
39
|
+
fpu_exception : yes
|
40
|
+
cpuid level : 10
|
41
|
+
wp : yes
|
42
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts ac
|
43
|
+
pi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc up pni monitor ds_cpl v
|
44
|
+
mx est tm2 ssse3 cx16 xtpr dca lahf_lm
|
45
|
+
bogomips : 4654.10
|
46
|
+
clflush size : 64
|
47
|
+
cache_alignment : 64
|
48
|
+
address sizes : 38 bits physical, 48 bits virtual
|
49
|
+
power management:
|
50
|
+
|
51
|
+
processor : 2
|
52
|
+
vendor_id : GenuineIntel
|
53
|
+
cpu family : 6
|
54
|
+
model : 15
|
55
|
+
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
|
56
|
+
stepping : 11
|
57
|
+
cpu MHz : 2327.498
|
58
|
+
cache size : 4096 KB
|
59
|
+
physical id : 2
|
60
|
+
siblings : 1
|
61
|
+
core id : 0
|
62
|
+
cpu cores : 1
|
63
|
+
fpu : yes
|
64
|
+
fpu_exception : yes
|
65
|
+
cpuid level : 10
|
66
|
+
wp : yes
|
67
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts ac
|
68
|
+
pi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc up pni monitor ds_cpl v
|
69
|
+
mx est tm2 ssse3 cx16 xtpr dca lahf_lm
|
70
|
+
bogomips : 4654.10
|
71
|
+
clflush size : 64
|
72
|
+
cache_alignment : 64
|
73
|
+
address sizes : 38 bits physical, 48 bits virtual
|
74
|
+
power management:
|
75
|
+
|
76
|
+
processor : 3
|
77
|
+
vendor_id : GenuineIntel
|
78
|
+
cpu family : 6
|
79
|
+
model : 15
|
80
|
+
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
|
81
|
+
stepping : 11
|
82
|
+
cpu MHz : 2327.498
|
83
|
+
cache size : 4096 KB
|
84
|
+
physical id : 3
|
85
|
+
siblings : 1
|
86
|
+
core id : 0
|
87
|
+
cpu cores : 1
|
88
|
+
fpu : yes
|
89
|
+
fpu_exception : yes
|
90
|
+
cpuid level : 10
|
91
|
+
wp : yes
|
92
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts ac
|
93
|
+
pi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc up pni monitor ds_cpl v
|
94
|
+
mx est tm2 ssse3 cx16 xtpr dca lahf_lm
|
95
|
+
bogomips : 4654.10
|
96
|
+
clflush size : 64
|
97
|
+
cache_alignment : 64
|
98
|
+
address sizes : 38 bits physical, 48 bits virtual
|
99
|
+
power management:
|
100
|
+
|
101
|
+
processor : 4
|
102
|
+
vendor_id : GenuineIntel
|
103
|
+
cpu family : 6
|
104
|
+
model : 15
|
105
|
+
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
|
106
|
+
stepping : 11
|
107
|
+
cpu MHz : 2327.498
|
108
|
+
cache size : 4096 KB
|
109
|
+
physical id : 4
|
110
|
+
siblings : 1
|
111
|
+
core id : 0
|
112
|
+
cpu cores : 1
|
113
|
+
fpu : yes
|
114
|
+
fpu_exception : yes
|
115
|
+
cpuid level : 10
|
116
|
+
wp : yes
|
117
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts ac
|
118
|
+
pi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc up pni monitor ds_cpl v
|
119
|
+
mx est tm2 ssse3 cx16 xtpr dca lahf_lm
|
120
|
+
bogomips : 4654.10
|
121
|
+
clflush size : 64
|
122
|
+
cache_alignment : 64
|
123
|
+
address sizes : 38 bits physical, 48 bits virtual
|
124
|
+
power management:
|
125
|
+
|
126
|
+
processor : 5
|
127
|
+
vendor_id : GenuineIntel
|
128
|
+
cpu family : 6
|
129
|
+
model : 15
|
130
|
+
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
|
131
|
+
stepping : 11
|
132
|
+
cpu MHz : 2327.498
|
133
|
+
cache size : 4096 KB
|
134
|
+
physical id : 5
|
135
|
+
siblings : 1
|
136
|
+
core id : 0
|
137
|
+
cpu cores : 1
|
138
|
+
fpu : yes
|
139
|
+
fpu_exception : yes
|
140
|
+
cpuid level : 10
|
141
|
+
wp : yes
|
142
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts ac
|
143
|
+
pi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc up pni monitor ds_cpl v
|
144
|
+
mx est tm2 ssse3 cx16 xtpr dca lahf_lm
|
145
|
+
bogomips : 4654.10
|
146
|
+
clflush size : 64
|
147
|
+
cache_alignment : 64
|
148
|
+
address sizes : 38 bits physical, 48 bits virtual
|
149
|
+
power management:
|
150
|
+
|
151
|
+
processor : 6
|
152
|
+
vendor_id : GenuineIntel
|
153
|
+
cpu family : 6
|
154
|
+
model : 15
|
155
|
+
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
|
156
|
+
stepping : 11
|
157
|
+
cpu MHz : 2327.498
|
158
|
+
cache size : 4096 KB
|
159
|
+
physical id : 6
|
160
|
+
siblings : 1
|
161
|
+
core id : 0
|
162
|
+
cpu cores : 1
|
163
|
+
fpu : yes
|
164
|
+
fpu_exception : yes
|
165
|
+
cpuid level : 10
|
166
|
+
wp : yes
|
167
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts ac
|
168
|
+
pi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc up pni monitor ds_cpl v
|
169
|
+
mx est tm2 ssse3 cx16 xtpr dca lahf_lm
|
170
|
+
bogomips : 4654.10
|
171
|
+
clflush size : 64
|
172
|
+
cache_alignment : 64
|
173
|
+
address sizes : 38 bits physical, 48 bits virtual
|
174
|
+
power management:
|
175
|
+
|
176
|
+
processor : 7
|
177
|
+
vendor_id : GenuineIntel
|
178
|
+
cpu family : 6
|
179
|
+
model : 15
|
180
|
+
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
|
181
|
+
stepping : 11
|
182
|
+
cpu MHz : 2327.498
|
183
|
+
cache size : 4096 KB
|
184
|
+
physical id : 7
|
185
|
+
siblings : 1
|
186
|
+
core id : 0
|
187
|
+
cpu cores : 1
|
188
|
+
fpu : yes
|
189
|
+
fpu_exception : yes
|
190
|
+
cpuid level : 10
|
191
|
+
wp : yes
|
192
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts ac
|
193
|
+
pi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc up pni monitor ds_cpl v
|
194
|
+
mx est tm2 ssse3 cx16 xtpr dca lahf_lm
|
195
|
+
bogomips : 4654.10
|
196
|
+
clflush size : 64
|
197
|
+
cache_alignment : 64
|
198
|
+
address sizes : 38 bits physical, 48 bits virtual
|
199
|
+
power management:
|
@@ -0,0 +1,24 @@
|
|
1
|
+
These tests are for determining the numbers of physical packages, physical cores,
|
2
|
+
and logical processors from the data returned by /proc/cpuinfo on Linux hosts.
|
3
|
+
Each text file in this directory is the output of /proc/cpuinfo on various machines.
|
4
|
+
|
5
|
+
The names of all test files should be of the form `Apack_Bcore_Clogical.txt`
|
6
|
+
where `A`, `B`, and `C` are integers or the character `X`. For example,
|
7
|
+
a single quad-core processor without hyperthreading would correspond to
|
8
|
+
`1pack_4core_4logical.txt`, while two 6-core processors with hyperthreading
|
9
|
+
would correspond to `2pack_12core_24logical.txt`, and would be pretty sweet.
|
10
|
+
|
11
|
+
Using `A`, `B`, and `C` from above, code processing the text in these files
|
12
|
+
should produce the following expected values:
|
13
|
+
|
14
|
+
| property | value |
|
15
|
+
| -------------------- |---------|
|
16
|
+
| # physical packages | `A` |
|
17
|
+
| # physical cores | `B` |
|
18
|
+
| # logical processors | `C` |
|
19
|
+
|
20
|
+
(Obviously, the processing code should do this with no knowledge of the filenames.)
|
21
|
+
|
22
|
+
If any of `A`, `B`, or `C` are the character `X` instead of an integer, then
|
23
|
+
processing code should not return a value (return `null`, return `nil`,
|
24
|
+
raise an exception... whatever makes most sense for your agent).
|
@@ -0,0 +1,43 @@
|
|
1
|
+
processor : 0
|
2
|
+
vendor_id : GenuineIntel
|
3
|
+
cpu family : 6
|
4
|
+
model : 15
|
5
|
+
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
|
6
|
+
stepping : 11
|
7
|
+
cpu MHz : 2327.498
|
8
|
+
cache size : 4096 KB
|
9
|
+
fdiv_bug : no
|
10
|
+
hlt_bug : no
|
11
|
+
f00f_bug : no
|
12
|
+
coma_bug : no
|
13
|
+
fpu : yes
|
14
|
+
fpu_exception : yes
|
15
|
+
cpuid level : 10
|
16
|
+
wp : yes
|
17
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts ac
|
18
|
+
pi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est
|
19
|
+
tm2 ssse3 cx16 xtpr dca lahf_lm
|
20
|
+
bogomips : 5821.98
|
21
|
+
clflush size : 64
|
22
|
+
|
23
|
+
processor : 1
|
24
|
+
vendor_id : GenuineIntel
|
25
|
+
cpu family : 6
|
26
|
+
model : 15
|
27
|
+
model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
|
28
|
+
stepping : 11
|
29
|
+
cpu MHz : 2327.498
|
30
|
+
cache size : 4096 KB
|
31
|
+
fdiv_bug : no
|
32
|
+
hlt_bug : no
|
33
|
+
f00f_bug : no
|
34
|
+
coma_bug : no
|
35
|
+
fpu : yes
|
36
|
+
fpu_exception : yes
|
37
|
+
cpuid level : 10
|
38
|
+
wp : yes
|
39
|
+
flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts ac
|
40
|
+
pi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pni monitor ds_cpl vmx e
|
41
|
+
st tm2 ssse3 cx16 xtpr dca lahf_lm
|
42
|
+
bogomips : 5821.98
|
43
|
+
clflush size : 64
|