Interrupt load balancing optimization method and device
The invention relates to the field of interrupt loads, and particularly discloses an interrupt load balancing optimization method and device, and the method comprises the steps: obtaining a hard disk affinity physical CPU list of a disk controller according to links of all parts of a server; obtaini...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the field of interrupt loads, and particularly discloses an interrupt load balancing optimization method and device, and the method comprises the steps: obtaining a hard disk affinity physical CPU list of a disk controller according to links of all parts of a server; obtaining a physical CPU where each CPU affinity core in the original CPU affinity core list is located through the kernel, and recording the physical CPU as an original physical CPU; calculating the working load of each original physical CPU, if the working load of a certain original physical CPU exceeds a first load threshold value, deleting the CPU affinity core corresponding to the original physical CPU from the original CPU affinity core list, selecting a physical CPU with the load smaller than the first load threshold value and the minimum load from the hard disk affinity physical CPU list, and if the working load of the original physical CPU exceeds the first load threshold value, deleting the CPU affinity core cor |
---|