Project

General

Profile

Bug #1333 » 20111118_tcs_ga_after_69hours.txt

test of latest path after 69 hours - Jon Strabala, 2011-11-21 07:34 PM

 
1
#-------------------------------------------------------------------------
2
# Essentially the system does not have the 'kernel' CPU leak, however
3
# on a 100% idle system only a ssh to test loads we do see som activity
4
# via in processes like fsflush when runnign 'top -q -d 2 -s 10 -n 10 -S'
5
#-------------------------------------------------------------------------
6

    
7
root@lab10:~# uname -a
8
SunOS lab10 5.11 tsc-ga-20111118 i86pc i386 i86pc Solaris
9

    
10

    
11

    
12
root@lab10:~# cat /etc/release
13
                      OpenIndiana Development oi_151a X86
14
        Copyright 2010 Oracle and/or its affiliates. All rights reserved.
15
                        Use is subject to license terms.
16
                           Assembled 01 September 2011
17

    
18

    
19

    
20
root@lab10:~# prtdiag
21
System Configuration: Supermicro X9SCI/X9SCA
22
BIOS Configuration: American Megatrends Inc. 1.10 08/19/2011
23
BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)
24

    
25
==== Processor Sockets ====================================
26

    
27
Version                          Location Tag
28
-------------------------------- --------------------------
29
Intel(R) Xeon(R) CPU E31270 @ 3.40GHz CPU
30

    
31
==== Memory Device Sockets ================================
32

    
33
Type        Status Set Device Locator      Bank Locator
34
----------- ------ --- ------------------- ----------------
35
Unknown     in use 0   DIMM_1A             BANK0
36
Unknown     in use 0   DIMM_2A             BANK1
37
Unknown     in use 0   DIMM_1B             BANK2
38
Unknown     in use 0   DIMM_2B             BANK3
39

    
40
==== On-Board Devices =====================================
41
   To Be Filled By O.E.M.
42

    
43
==== Upgradeable Slots ====================================
44

    
45
ID  Status    Type             Description
46
--- --------- ---------------- ----------------------------
47
0   in use    PCI              SLOT 1
48
1   in use    PCI              SLOT 2
49
2   in use    PCI              SLOT 3
50
3   in use    Unknown          SLOT 4
51
4   in use    Unknown          SLOT 5
52
5   in use    Unknown          SLOT 6
53

    
54

    
55

    
56

    
57
root@lab10:~# cat /etc/power.conf
58
cpu_deep_idle enable
59
cpu-threshold 10s
60
cpupm enable
61

    
62

    
63

    
64

    
65
root@lab10:~# echo apic_timer::print apic_timer_t | sudo mdb -k
66
{
67
    mode = 0x2
68
    apic_timer_enable_ops = deadline_timer_enable
69
    apic_timer_disable_ops = deadline_timer_disable
70
    apic_timer_reprogram_ops = deadline_timer_reprogram
71
}
72

    
73

    
74

    
75

    
76
root@lab10:~# beadm list
77
BE                 Active Mountpoint      Space Policy Created
78
nightly-2011-11-18 NR     /               64.1G static 2011-11-18 08:18
79
oi_151a            -      -               13.0M static 2011-09-14 09:01
80
tsc-fix            -      -               820M  static 2011-10-28 15:08
81

    
82

    
83

    
84

    
85
root@lab10:~# top -q -d 2 -s 10 -n 10 -S
86
last pid: 103222;  load avg:  0.01,  0.00,  0.00;  up 2+21:34:26       06:59:11
87
56 processes: 55 sleeping, 1 on cpu
88
CPU states: 99.8% idle,  0.0% user,  0.2% kernel,  0.0% iowait,  0.0% swap
89
Kernel: 300 ctxsw, 8 trap, 603 intr, 424 syscall, 7 flt
90
Memory: 16G phys mem, 14G free mem, 8187M total swap, 8187M free swap
91

    
92
   PID USERNAME NLWP PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
93
103221 root        1  59  -20 3372K 1708K cpu/3    0:00  0.03% top
94
     3 root        1  60  -20    0K    0K sleep    2:51  0.00% fsflush
95
101072 root        1  59    0 6000K 2036K sleep    0:02  0.00% sendmail
96
100801 root       26  59    0   32M   25M sleep    0:04  0.00% fmd
97
100915 root        1  59    0 6496K 5384K sleep    0:10  0.00% intrd
98
100697 root        4  59    0 3060K 2008K sleep    0:08  0.00% automountd
99
     6 root      142  99  -20    0K    0K sleep    0:07  0.00% zpool-rpool
100
100005 root       22  59    0   14M   13M sleep    0:05  0.00% svc.configd
101
100342 root       30  59    0 7112K 4352K sleep    0:04  0.00% nscd
102
100372 root        4  59    0 6772K 5420K sleep    0:03  0.00% hald
103

    
104
last pid: 103222;  load avg:  0.01,  0.00,  0.00;  up 2+21:34:36       06:59:21
105
56 processes: 55 sleeping, 1 on cpu
106
CPU states: 99.8% idle,  0.0% user,  0.2% kernel,  0.0% iowait,  0.0% swap
107
Kernel: 293 ctxsw, 4 trap, 550 intr, 31 syscall, 4 flt
108
Memory: 16G phys mem, 14G free mem, 8187M total swap, 8187M free swap
109

    
110
   PID USERNAME NLWP PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
111
     3 root        1  60  -20    0K    0K sleep    2:51  0.05% fsflush
112
100697 root        4  59    0 3060K 2008K sleep    0:08  0.02% automountd
113
103221 root        1  59  -20 3520K 1876K cpu/3    0:00  0.01% top
114
100342 root       30  59    0 7112K 4352K sleep    0:04  0.00% nscd
115
100372 root        4  59    0 6772K 5420K sleep    0:03  0.00% hald
116
100395 root        1  59    0 3492K 2108K sleep    0:03  0.00% hald-addon-acpi
117
101072 root        1  59    0 6000K 2036K sleep    0:02  0.00% sendmail
118
100263 root        6  59    0 4396K 3104K sleep    0:02  0.00% devfsadm
119
100801 root       26  59    0   32M   25M sleep    0:04  0.00% fmd
120
100003 root       16  59    0   14M   12M sleep    0:02  0.00% svc.startd
121

    
122

    
123

    
124

    
125

    
126
root@lab10:~# prstat -c -n 10 5 3
127
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
128
     6 root        0K    0K sleep   99  -20   0:00:07 0.1% zpool-rpool/142
129
103188 root     1892K 1416K sleep   49    0   0:00:00 0.0% tsc_chk.csh/1
130
103236 root     3812K 2744K cpu3    49    0   0:00:00 0.0% prstat/1
131
100697 root     3060K 2008K sleep   59    0   0:00:08 0.0% automountd/4
132
100325 root     2020K  964K sleep   59    0   0:00:00 0.0% iscsid/2
133
100038 netadm   3708K 2616K sleep   59    0   0:00:00 0.0% ipmgmtd/3
134
100376 root     3776K 2260K sleep   59    0   0:00:00 0.0% hald-runner/1
135
100043 netcfg   2168K 1368K sleep   59    0   0:00:00 0.0% netcfgd/2
136
100005 root       14M   13M sleep   59    0   0:00:05 0.0% svc.configd/22
137
100003 root       14M   12M sleep   59    0   0:00:02 0.0% svc.startd/16
138
Total: 54 processes, 357 lwps, load averages: 0.01, 0.00, 0.00
139
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
140
     6 root        0K    0K sleep   99  -20   0:00:07 0.1% zpool-rpool/142
141
103236 root     4196K 2988K cpu3    59    0   0:00:00 0.0% prstat/1
142
103188 root     1892K 1416K sleep   59    0   0:00:00 0.0% tsc_chk.csh/1
143
100697 root     3060K 2008K sleep   59    0   0:00:08 0.0% automountd/4
144
100325 root     2020K  964K sleep   59    0   0:00:00 0.0% iscsid/2
145
100038 netadm   3708K 2616K sleep   59    0   0:00:00 0.0% ipmgmtd/3
146
100376 root     3776K 2260K sleep   59    0   0:00:00 0.0% hald-runner/1
147
100043 netcfg   2168K 1368K sleep   59    0   0:00:00 0.0% netcfgd/2
148
100005 root       14M   13M sleep   59    0   0:00:05 0.0% svc.configd/22
149
100003 root       14M   12M sleep   59    0   0:00:02 0.0% svc.startd/16
150
Total: 54 processes, 357 lwps, load averages: 0.01, 0.00, 0.00
151
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
152
     6 root        0K    0K sleep   99  -20   0:00:07 0.0% zpool-rpool/142
153
103236 root     4196K 2988K cpu3    59    0   0:00:00 0.0% prstat/1
154
103188 root     1892K 1416K sleep   59    0   0:00:00 0.0% tsc_chk.csh/1
155
100325 root     2020K  964K sleep   59    0   0:00:00 0.0% iscsid/2
156
100038 netadm   3708K 2616K sleep   59    0   0:00:00 0.0% ipmgmtd/3
157
100376 root     3776K 2260K sleep   59    0   0:00:00 0.0% hald-runner/1
158
100043 netcfg   2168K 1368K sleep   59    0   0:00:00 0.0% netcfgd/2
159
100005 root       14M   13M sleep   59    0   0:00:05 0.0% svc.configd/22
160
100003 root       14M   12M sleep   59    0   0:00:02 0.0% svc.startd/16
161
100720 root     2352K 1440K sleep   59    0   0:00:00 0.0% ttymon/1
162
Total: 54 processes, 357 lwps, load averages: 0.01, 0.00, 0.00
163

    
164
#-------------------------------------------------------------------------
165
# Now, run top a second time ... we do get 100% idle below
166
#-------------------------------------------------------------------------
167

    
168
root@lab10:~#  top -q -d 2 -s 10 -n 10 -S
169
last pid: 103240;  load avg:  0.00,  0.00,  0.00;  up 2+21:37:28       07:02:13
170
55 processes: 54 sleeping, 1 on cpu
171
CPU states:  100% idle,  0.0% user,  0.0% kernel,  0.0% iowait,  0.0% swap
172
Kernel: 294 ctxsw, 8 trap, 512 intr, 406 syscall, 7 flt
173
Memory: 16G phys mem, 14G free mem, 8187M total swap, 8187M free swap
174

    
175
   PID USERNAME NLWP PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
176
     3 root        1  60  -20    0K    0K sleep    2:52  0.08% fsflush
177
103239 root        1  59  -20 3372K 1728K cpu/2    0:00  0.04% top
178
100342 root       30  59    0 7112K 4352K sleep    0:04  0.00% nscd
179
100915 root        1  59    0 6496K 5384K sleep    0:10  0.00% intrd
180
100697 root        4  59    0 3060K 2008K sleep    0:08  0.00% automountd
181
     6 root      142  99  -20    0K    0K sleep    0:07  0.00% zpool-rpool
182
100005 root       22  59    0   14M   13M sleep    0:05  0.00% svc.configd
183
100801 root       26  59    0   32M   25M sleep    0:04  0.00% fmd
184
100372 root        4  59    0 6772K 5420K sleep    0:03  0.00% hald
185
100395 root        1  59    0 3492K 2108K sleep    0:03  0.00% hald-addon-acpi
186

    
187
last pid: 103240;  load avg:  0.00,  0.00,  0.00;  up 2+21:37:38       07:02:23
188
55 processes: 54 sleeping, 1 on cpu
189
CPU states: 99.8% idle,  0.0% user,  0.2% kernel,  0.0% iowait,  0.0% swap
190
Kernel: 294 ctxsw, 3 trap, 518 intr, 36 syscall, 3 flt
191
Memory: 16G phys mem, 14G free mem, 8187M total swap, 8187M free swap
192

    
193
   PID USERNAME NLWP PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
194
     3 root        1  60  -20    0K    0K sleep    2:52  0.04% fsflush
195
103239 root        1  59  -20 3520K 1860K cpu/2    0:00  0.01% top
196
100801 root       26  59    0   32M   25M sleep    0:04  0.00% fmd
197
100342 root       30  59    0 7112K 4352K sleep    0:04  0.00% nscd
198
100372 root        4  59    0 6772K 5420K sleep    0:03  0.00% hald
199
100395 root        1  59    0 3492K 2108K sleep    0:03  0.00% hald-addon-acpi
200
101075 admin       1  59    0 7756K 5120K sleep    0:00  0.00% sshd
201
101072 root        1  59    0 6000K 2036K sleep    0:02  0.00% sendmail
202
100263 root        6  59    0 4396K 3104K sleep    0:02  0.00% devfsadm
203
100003 root       16  59    0   14M   12M sleep    0:02  0.00% svc.startd
204

    
205

    
206

    
(16-16/18)