Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reduce UTM installation from 2 cores to 1 core

Hi,

I have Sophos UTM 9.315-2 running in a 2-vCPU, 2GB VM atop VMWare ESXi. I've been running it for a bit over a month now and have never seen CPU usage go over 10% in the Executive Reports - this is running at home with at most 10 clients, which is probably why.

I wish to pull it back down to a 1-vCPU system, however if I simply pull one of the cores out I get repeated "taskset failed to set pid 0" errors. 

What do I have to tweak to safely downgrade UTM's number of vCPUs?


This thread was automatically locked due to age.
  • Hi,

    I have Sophos UTM 9.315-2 running in a 2-vCPU, 2GB VM atop VMWare ESXi. I've been running it for a bit over a month now and have never seen CPU usage go over 10% in the Executive Reports - this is running at home with at most 10 clients, which is probably why.

    I wish to pull it back down to a 1-vCPU system, however if I simply pull one of the cores out I get repeated "taskset failed to set pid 0" errors. 

    What do I have to tweak to safely downgrade UTM's number of vCPUs?


    Leave it at two cores trust me.  if you want to reduce resources reduce the amount of ghz allocated to the vm to the total of one core.  It has the same effect but allows the utm to stretch it's legs when needed.  UTM on a single core is not a good idea.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

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

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • I run a UTM in my VMWare host at home as well. It is setup with 1 vCPU and 2GB which has been running fine. But I definitely agree with William that the 2vCPU for a UTM is a good idea if you have the resources. It will ensure everything continues to run smooth.
  • Thanks for the replies, however I am still interested in getting it back down to 1 core - this is running on a box with only 4 cores (no HyperThreading) and I would like some more headroom for other VMs. And by barely utilized, I mean really really barely utilized:



    And yes:

    • I do know how ESXi CPU scheduling works, so I don't HAVE to get that core back
    • This is an experimental box so I am not concerned if performance sags for a while
    • I am not that experienced with Linux, but I suspect this is simply a startup script somewhere trying to set pid affinities that needs to be tweaked


    Anyone know where to look to fix the taskset issue?
  • Thanks for the replies, however I am still interested in getting it back down to 1 core - this is running on a box with only 4 cores (no HyperThreading) and I would like some more headroom for other VMs. And by barely utilized, I mean really really barely utilized:



    And yes:

    • I do know how ESXi CPU scheduling works, so I don't HAVE to get that core back
    • This is an experimental box so I am not concerned if performance sags for a while
    • I am not that experienced with Linux, but I suspect this is simply a startup script somewhere trying to set pid affinities that needs to be tweaked


    Anyone know where to look to fix the taskset issue?


    reinstall.  However 90% of the utm is multi threaded.  Even the smallest SG series has at least two threads available.  if you go one core make sure you allocate 2.5ghz or more to that single core.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

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

    PfSense w/Suricata, ntopng, 

    Other addons to follow