Difference between revisions of "Interrupts"
Jump to navigation
Jump to search
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
+ | [[wikipedia:Interrupts]] | ||
− | * <code>[[sar]] -I ALL</code> (not activated by default) | + | * <code>[[sar]] -I ALL</code> (not activated by default, see <code>[[/etc/sysstat/sysstat]]</code>) |
* <code>[[vmstat -s]]</code> | * <code>[[vmstat -s]]</code> | ||
+ | * <code>[[irqstat]]</code> | ||
+ | [[watch]] cat [[/proc/interrupts]] | ||
+ | <pre> | ||
+ | CPU0 CPU1 CPU2 CPU3 | ||
+ | 1: 0 0 9 0 IO-APIC 1-edge i8042 | ||
+ | 6: 3 0 0 0 IO-APIC 6-edge floppy | ||
+ | 8: 0 0 0 0 IO-APIC 8-edge rtc0 | ||
+ | 9: 0 0 0 0 IO-APIC 9-fasteoi acpi | ||
+ | 10: 0 0 0 0 IO-APIC 10-fasteoi ehci_hcd:usb1, uhci_hcd:usb2 | ||
+ | 11: 0 22125 0 0 IO-APIC 11-fasteoi virtio1, uhci_hcd:usb3, uhci_hcd:usb4, qxl | ||
+ | 12: 0 144 0 0 IO-APIC 12-edge i8042 | ||
+ | 14: 6657156 0 7289 0 IO-APIC 14-edge ata_piix | ||
+ | 15: 0 10221279 6694177 4977 IO-APIC 15-edge ata_piix | ||
+ | 24: 0 0 0 0 PCI-MSI 49152-edge virtio0-config | ||
+ | 25: 0 0 485005 0 PCI-MSI 49153-edge virtio0-input.0 | ||
+ | 26: 0 7 0 2 PCI-MSI 49154-edge virtio0-output.0 | ||
+ | 27: 91 0 0 0 PCI-MSI 65536-edge snd_hda_intel:card0 | ||
+ | NMI: 0 0 0 0 Non-maskable interrupts | ||
+ | LOC: 104440170 104248245 104039837 105393358 Local timer interrupts | ||
+ | SPU: 0 0 0 0 Spurious interrupts | ||
+ | PMI: 0 0 0 0 Performance monitoring interrupts | ||
+ | IWI: 0 0 0 0 IRQ work interrupts | ||
+ | RTR: 0 0 0 0 APIC ICR read retries | ||
+ | RES: 52557650 51011995 50957024 52508445 Rescheduling interrupts | ||
+ | CAL: 5609651 5124830 6201466 7524164 Function call interrupts | ||
+ | TLB: 2115360 1905026 1871874 2112061 TLB shootdowns | ||
+ | TRM: 0 0 0 0 Thermal event interrupts | ||
+ | THR: 0 0 0 0 Threshold APIC interrupts | ||
+ | DFR: 0 0 0 0 Deferred Error APIC interrupts | ||
+ | MCE: 0 0 0 0 Machine check exceptions | ||
+ | MCP: 226 226 226 226 Machine check polls | ||
+ | HYP: 0 0 0 0 Hypervisor callback interrupts | ||
+ | ERR: 0 | ||
+ | MIS: 0 | ||
+ | PIN: 0 0 0 0 Posted-interrupt notification event | ||
+ | NPI: 0 0 0 0 Nested posted-interrupt event | ||
+ | PIW: 0 0 0 0 Posted-interrupt wakeup event | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | May 19 16:30:24 SERVER kernel: [[perf]]: [[interrupt took too long]] (4082 > 4051), lowering kernel.perf_event_max_sample_rate to 49000 | ||
+ | |||
+ | Sep 29 15:50:02 SERVER kernel: [[ata]]1: lost interrupt (Status 0x58) | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[irqstat]]</code> | ||
== See also == | == See also == | ||
* {{sar}} | * {{sar}} | ||
+ | * {{ps}} | ||
+ | * <code>[[ksoftirqd]]</code> | ||
+ | * {{interrupts}} | ||
+ | * {{proc}} | ||
+ | * {{CPU}} | ||
+ | |||
+ | |||
+ | [[Category:Computing]] |
Latest revision as of 08:24, 10 December 2021
This article is a Draft. Help us to complete it.
sar -I ALL
(not activated by default, see/etc/sysstat/sysstat
)vmstat -s
irqstat
watch cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3 1: 0 0 9 0 IO-APIC 1-edge i8042 6: 3 0 0 0 IO-APIC 6-edge floppy 8: 0 0 0 0 IO-APIC 8-edge rtc0 9: 0 0 0 0 IO-APIC 9-fasteoi acpi 10: 0 0 0 0 IO-APIC 10-fasteoi ehci_hcd:usb1, uhci_hcd:usb2 11: 0 22125 0 0 IO-APIC 11-fasteoi virtio1, uhci_hcd:usb3, uhci_hcd:usb4, qxl 12: 0 144 0 0 IO-APIC 12-edge i8042 14: 6657156 0 7289 0 IO-APIC 14-edge ata_piix 15: 0 10221279 6694177 4977 IO-APIC 15-edge ata_piix 24: 0 0 0 0 PCI-MSI 49152-edge virtio0-config 25: 0 0 485005 0 PCI-MSI 49153-edge virtio0-input.0 26: 0 7 0 2 PCI-MSI 49154-edge virtio0-output.0 27: 91 0 0 0 PCI-MSI 65536-edge snd_hda_intel:card0 NMI: 0 0 0 0 Non-maskable interrupts LOC: 104440170 104248245 104039837 105393358 Local timer interrupts SPU: 0 0 0 0 Spurious interrupts PMI: 0 0 0 0 Performance monitoring interrupts IWI: 0 0 0 0 IRQ work interrupts RTR: 0 0 0 0 APIC ICR read retries RES: 52557650 51011995 50957024 52508445 Rescheduling interrupts CAL: 5609651 5124830 6201466 7524164 Function call interrupts TLB: 2115360 1905026 1871874 2112061 TLB shootdowns TRM: 0 0 0 0 Thermal event interrupts THR: 0 0 0 0 Threshold APIC interrupts DFR: 0 0 0 0 Deferred Error APIC interrupts MCE: 0 0 0 0 Machine check exceptions MCP: 226 226 226 226 Machine check polls HYP: 0 0 0 0 Hypervisor callback interrupts ERR: 0 MIS: 0 PIN: 0 0 0 0 Posted-interrupt notification event NPI: 0 0 0 0 Nested posted-interrupt event PIW: 0 0 0 0 Posted-interrupt wakeup event
May 19 16:30:24 SERVER kernel: perf: interrupt took too long (4082 > 4051), lowering kernel.perf_event_max_sample_rate to 49000
Sep 29 15:50:02 SERVER kernel: ata1: lost interrupt (Status 0x58)
Related[edit]
See also[edit]
sar
, installation, sar -A,sar -F, sar -d
,sar -I ALL
,sar -n NFS
,sar -r
,sar -S
,sar -W
,sar -n ALL
, Installing sysstat using Ansible,/etc/sysstat/sysstat
,/etc/cron.d/sysstat
,sar --help
, Sysstat changelog,/var/log/sysstat/
,cpu time steal
, sargraph, isag, Telegraf- Process, zombie process, fork, thread:
ps
,tree
,pstree
,ps axf
,proc
,pwdx
,which
,watch
,sar -q
,tload
,uptime
, Interrupts,pgrep
,tasklist
(Windows), Zombie process,pstack
,docker ps
,docker-compose ps
,jobs
,acct
,process mrelease
,pidstat
, IPC,pidof
ksoftirqd
- interrupts,
/proc/interrupts
- FHS,
/proc/
,/proc/net/
,/boot/
,/run/
,/dev/
,/usr/
,/var/run/
,/etc/
,/var/
,/var/lib/
/var/log/
,/var/www/
,/opt/
,/lib/
,/sys/
,/proc/kcore
,/proc/sys/, /proc/sys/vm/
,/snap/
,/mnt/
,/mnt/data
,/var/opt/, /usr/bin/
,/lib/, /proc/$PID/, /proc/self/
- CPU, GPU, NPU, TPU, DPU, Groq, Proliant, thread (
Pthreads
), processor, CPU socket, core, ARM , CPU Virtualization, Intel, AMD,nm
,lscpu
, AVX-512, Passthrough, CPU intensive, Graviton processor, Branch predictor, vCPU, SSE, Power
Advertising: