Re: pcc_cpufreq: high LA

From: Ian Kumlien
Date: Mon Dec 03 2018 - 08:07:09 EST


No response? Should pcc_cpufreq be assumed as broken since it actually
kills machines?

Should I submit a patch that removes it?

On Tue, Nov 20, 2018 at 3:05 PM Ian Kumlien <ian.kumlien@xxxxxxxxx> wrote:
>
> Hi,
>
> We've had this happen a few times now, pcc_cpufreq is loaded and the
> machine has a LA of 33 with kworkers consuming *all CPU*
>
> We have had this happen before, looking at it has been pushed to the
> leaky-stack^tm in my mind and...
>
> 32 cores:
> processor : 31
> vendor_id : GenuineIntel
> cpu family : 6
> model : 62
> model name : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
> stepping : 4
> microcode : 0x42d
> cpu MHz : 2053.444
> cache size : 20480 KB
> ----
>
> System Information:
> Manufacturer: HP
> Product Name: ProLiant SL210t Gen8
> ---
>
> The only warning I can see, which seems unrelated is:
> [6928231.623398] WARNING: CPU: 11 PID: 0 at kernel/irq/matrix.c:371
> irq_matrix_free+0x35/0xe0
> [6928231.623402] Modules linked in: 8021q garp mrp ipt_MASQUERADE
> nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4
> nf_nat_ipv4 xt_addrtype iptable_filter xt_conntrack nf_nat
> nf_conntrack dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio
> libcrc32c loop bonding sb_edac x86_pkg_temp_thermal intel_powerclamp
> coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul
> ghash_clmulni_intel pcbc aesni_intel crypto_simd cryptd glue_helper
> intel_cstate intel_rapl_perf iTCO_wdt iTCO_vendor_support joydev
> input_leds acpi_power_meter pcspkr hpilo sg ipmi_si ipmi_devintf
> ipmi_msghandler hpwdt ioatdma lpc_ich shpchp pcc_cpufreq mfd_core
> ip_tables ext4 mbcache jbd2 raid1 sd_mod crc32c_intel serio_raw
> drm_kms_helper ahci syscopyarea sysfillrect libahci sysimgblt
> fb_sys_fops ttm libata drm igb
> [6928231.623490] i2c_algo_bit ixgbe mdio ptp pps_core dca dm_mirror
> dm_region_hash dm_log dm_mod
> [6928231.623507] CPU: 11 PID: 0 Comm: swapper/11 Not tainted
> 4.17.0-1.el7.elrepo.x86_64 #1
> [6928231.623509] Hardware name: HP ProLiant SL210t Gen8/, BIOS P83 05/21/2018
> [6928231.623514] RIP: 0010:irq_matrix_free+0x35/0xe0
> [6928231.623516] RSP: 0018:ffff88203f4c3f58 EFLAGS: 00010002
> [6928231.623519] RAX: 0000000000026d00 RBX: ffff880ffaf64340 RCX:
> 0000000000000000
> [6928231.623521] RDX: 000000000000000b RSI: 000000000000000b RDI:
> ffff880fff038800
> [6928231.623523] RBP: ffff88203f4c3f80 R08: 0000000000000101 R09:
> 0000000000000000
> [6928231.623525] R10: 0000000000000000 R11: 0000000000000000 R12:
> ffff88203f4c0000
> [6928231.623527] R13: 0000000000000000 R14: 000000000000000b R15:
> ffff880fff038800
> [6928231.623530] FS: 0000000000000000(0000) GS:ffff88203f4c0000(0000)
> knlGS:0000000000000000
> [6928231.623532] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [6928231.623534] CR2: 00007fc429b73d20 CR3: 000000000220a006 CR4:
> 00000000001606e0
> [6928231.623537] Call Trace:
> [6928231.623541] <IRQ>
> [6928231.623554] free_moved_vector+0x58/0x110
> [6928231.623563] smp_irq_move_cleanup_interrupt+0xa2/0xc1
> [6928231.623572] irq_move_cleanup_interrupt+0xc/0x20
> [6928231.623574] </IRQ>
> [6928231.623582] RIP: 0010:cpuidle_enter_state+0xdd/0x270
> [6928231.623583] RSP: 0018:ffffc9000631fe48 EFLAGS: 00000246 ORIG_RAX:
> ffffffffffffffdf
> [6928231.623586] RAX: ffff88203f4e2c00 RBX: ffffe8ffff6da700 RCX:
> 000000000000001f
> [6928231.623588] RDX: 0000000000000000 RSI: fff0a6fbff885c1c RDI:
> 0000000000000000
> [6928231.623590] RBP: ffffc9000631fe80 R08: 0000000000002036 R09:
> 00000000000043d0
> [6928231.623592] R10: 000000000000133e R11: 0000000000000018 R12:
> 0000000000000004
> [6928231.623594] R13: 000000000000000b R14: ffffffff82364b60 R15:
> 00189d309ada9b44
> [6928231.623599] ? cpuidle_enter_state+0xcc/0x270
> [6928231.623603] cpuidle_enter+0x17/0x20
> [6928231.623611] call_cpuidle+0x23/0x40
> [6928231.623614] do_idle+0x1d2/0x270
> [6928231.623619] cpu_startup_entry+0x73/0x80
> [6928231.623624] start_secondary+0x1ae/0x200
> [6928231.623632] secondary_startup_64+0xa5/0xb0
> [6928231.623634] Code: 57 49 89 ff 41 56 41 89 f6 41 55 41 89 d5 89 f2
> 41 54 4c 8b 24 d5 60 c7 12 82 53 48 8b 47 28 44 39 6f 04 77 06 44 3b
> 6f 08 72 0d <0f> 0b 5b 41 5c 41 5d 41 5e 41 5f 5d c3 49 01 c4 44 89 e8
> f0 49
> [6928231.623693] ---[ end trace 6436d0c28a5009d4 ]---