Linux: Linux性能调优

参考:RedHat7性能调优指南

/proc

man proc  #yum install -y man-pages

/proc/interrupts 中断

]# cat /proc/interrupts 
           CPU0       CPU1       
  0:        173          0   IO-APIC-edge      timer
  1:         10          0   IO-APIC-edge      i8042
  4:        845          0   IO-APIC-edge      serial
  6:          3          0   IO-APIC-edge      floppy
  8:          0          0   IO-APIC-edge      rtc0
  9:          0          0   IO-APIC-fasteoi   acpi
 11:          0          0   IO-APIC-fasteoi   virtio4
 12:        145          0   IO-APIC-edge      i8042
 24:          0          0   PCI-MSI-edge      virtio1-config
 25:    6796881          0   PCI-MSI-edge      virtio1-req.0
 26:          1          0   PCI-MSI-edge      virtio3-config
 27:   26332543          0   PCI-MSI-edge      virtio3-input.0
 28:          1          1   PCI-MSI-edge      virtio3-output.0
 29:   26803569          0   PCI-MSI-edge      virtio3-input.1
 30:          1          1   PCI-MSI-edge      virtio3-output.1
 31:          0          0   PCI-MSI-edge      virtio0-config
 32:         18          0   PCI-MSI-edge      virtio0-virtqueues
 33:          0          0   PCI-MSI-edge      virtio2-config
 34:    8613132          0   PCI-MSI-edge      virtio2-req.0
NMI:          0          0   Non-maskable interrupts
LOC: 2380300390 2354775288   Local timer interrupts
SPU:          0          0   Spurious interrupts
PMI:          0          0   Performance monitoring interrupts
IWI:   53584258   51869630   IRQ work interrupts
RTR:          0          0   APIC ICR read retries
RES:  412948474  438744482   Rescheduling interrupts         #重调度中断.表示唤醒空闲状态的 CPU 来调度新的任务运行
CAL:        472       1831   Function call interrupts
TLB:   27161827   27183592   TLB shootdowns
TRM:          0          0   Thermal event interrupts
THR:          0          0   Threshold APIC interrupts
DFR:          0          0   Deferred Error APIC interrupts
MCE:          0          0   Machine check exceptions
MCP:      21612      21612   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0   Posted-interrupt notification event
NPI:          0          0   Nested posted-interrupt event
PIW:          0          0   Posted-interrupt wakeup event
emacs

Emacs

org-mode

Orgmode

Donations

打赏

Copyright

© 2025 Jasper Hsu

Creative Commons

Creative Commons

Attribute

Attribute

Noncommercial

Noncommercial

Share Alike

Share Alike