Linux CPU si soft interrupt comparison occupancy rate is relatively large (network solution)

Source: Internet
Author: User

IRQ Default Linux is automatically started, but often it is not very good for its own control (CPU SI is often a CPU occupied large)


Usually, we will turn off the auto-start irqblance and then manually specify the IRQ for optimization:


    1. Look at the SI utilization of the CPU:

      650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/85/39/wKiom1edcaLzH_sAAABW8jGUJwY008.png "title=" 3.png " alt= "Wkiom1edcalzh_saaabw8jgujwy008.png"/>

    2. Look at the device ID number:

      650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/85/39/wKiom1edcbXg8dX1AAAaG2yYEjs090.png "title=" 1.png " alt= "Wkiom1edcbxg8dx1aaaag2yyejs090.png"/>

    3. Configure the specified CPU: (1 for 1th, 2 for 2nd, 4 for 4th, 8 for 4th, 16 for 2, and 16 for the value shown)

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/85/39/wKioL1edccrz9gzvAAAbvcTPcS4871.png "title=" 2.png " alt= "Wkiol1edccrz9gzvaaabvctpcs4871.png"/>


Example: I am the 8 core of the machine .... My operation is ....

/etc/init.d/irqbalance stop
Echo 1 >/proc/irq/59/smp_affinity
Echo 2 >/proc/irq/60/smp_affinity
Echo 4 >/proc/irq/61/smp_affinity
echo 8 >/proc/irq/62/smp_affinity
echo >/proc/irq/63/smp_affinity
echo >/proc/irq/64/smp_affinity
echo >/proc/irq/65/smp_affinity
echo >/proc/irq/66/smp_affinity

This article is from the "samly" blog, make sure to keep this source http://323248.blog.51cto.com/313248/1832292

Linux CPU si soft interrupt comparison occupancy rate is relatively large (network solution)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.