GoogleCloudPlatform / compute-image-packages

Packages for Google Compute Engine Linux images.
https://cloud.google.com/compute/docs/images
Apache License 2.0
372 stars 213 forks source link

Set smp affinity from affinity hint for gvnic queues #882

Closed asuresh8 closed 4 years ago

asuresh8 commented 4 years ago

On older kernel versions, irqbalance is expected to copy affinity hint to smp affinity; however, on GCE instances irqbalance is disabled by default. This change replicates the behavior of irqbalance to correctly spread network traffic across CPUs instead of concentrating traffic on a single CPU.

codecov[bot] commented 4 years ago

Codecov Report

Merging #882 into development will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           development     #882   +/-   ##
============================================
  Coverage        97.37%   97.37%           
============================================
  Files               58       58           
  Lines             4801     4801           
  Branches           246      246           
============================================
  Hits              4675     4675           
  Misses             108      108           
  Partials            18       18

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c2b4a8f...9e277c8. Read the comment docs.