Guest User!

You are not Sophos Staff.

[9.171][BUG] poor performance due to 'ondemand' CPU scaling governor

Hi, I did some testing on my new i5 system, and found that the default CPU scaling governor,  'ondemand', results in a loss of about 60% in IPS throughput vs the 'performance' governor, with no significant power consumption difference.

The Linux kernel devs recommend using 'performance' for all Ivy Bridge, Sandy Bridge, and Haswell generation CPUs until the kernel is upgraded to a newer version (3.10+):
https://plus.google.com/+TheodoreTso/posts/2vEekAsG2QT

Please change the default, or make it easier for the user to do so, or upgrade to a 3.10 or newer kernel, which replaces the old governor system.

Thank you,
Barry
Parents Reply Children
  • Hi,

    I'm glad to hear Suricata is getting testing in the UTM.

    However, as far as the CPU governor goes, I suspect that with a single network stream, Suricata would suffer from the same cpu frequency scaling problem as I reported.

    Barry


    not necessarily..if it is a truly MT system then it would be able to properly utilize more than one care..even without bumping the clock speed it would effectively gain about 35-80% performance just due to using more than one core per stream.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow