Guest User!

You are not Sophos Staff.

[8.970] UTM9 Beta Performance Tweak

I've noticed that UTM9 just isn't up to par with what i'm going to call UTM8.  I've also noticed a ton of swapping being used even with vm.swappiness=0 set.  even with 3 gigs of ram installed I was still swapping 25% even though the system was caching more than 25% of physical ram.  I've seen this before in older kernels.  Back in 2.4 I filed a bug with centos and by extension redhat about a similar problem...it was later fixed in the next kernel patch.  

I decided to try something..something i did back in the 2.4x days....I disabled swap entirely.  I now have the latest beta running with 3 gigs of ram and zero swap(swapoff -a).  I've had this running for 24 hours:

 free
             total       used       free     shared    buffers     cached
Mem:       3087332    2730288     357044          0      94552     769160
-/+ buffers/cache:    1866576    1220756
Swap:            0          0          0

Within 24 hours i would have 10% swap...within 36 hours i would have 25% swap.  There's no reason for a system that is under ZERO memory pressure to be swapping to disk at a rate of 25% or higher when more than 30% of physical ram is unused.  I could go digging into the kernel deeper to find out why this is occurring but this is a development problem..not a partner/user problem.  V8 does NOT display this behavior.  I've noticed this since the first beta of UTM9.  I'm curious how many other performance regressions I've found might be addressed?  The testing begins..[:)]
Parents
  • Okay, so you edited your post while i was writing the answer... obviously you got my point regarding the history in the forums.

    Thanks for listening to my complaints!
    Kai


    The mobile app isn't mq capable so its quote all or nothing..sorry..nothing I can do about it....the rest I'm taking to pm

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

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

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Reply
  • Okay, so you edited your post while i was writing the answer... obviously you got my point regarding the history in the forums.

    Thanks for listening to my complaints!
    Kai


    The mobile app isn't mq capable so its quote all or nothing..sorry..nothing I can do about it....the rest I'm taking to pm

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

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

    PfSense w/Suricata, ntopng, 

    Other addons to follow

Children
  • I think a lot of people follow threads in the hope that whilst the thread itself may not be particularly relevant to them, some of the thread discussions may help to shed light to their own Astaro environments.  Whilst it is obvious that William has a bee in his bonnet as regards Astaro memory, continually repeating the rant does not help me at all, in fact I end up following a post which should be interesting, but has degenerated into posts of no value at all.

    I see William will now use PMs for his communications and that's a good thing (for BB users anyway).  Perhaps William in future might like to consider the value of his contributions to others on the forum.  He obviously has a lot of experience and I am sure there will be topics we can benefit from his insight.  As I presume everyone who uses the forums has limited time, following a progressive rant is not appreciated.  Angelo and Kai have provided good responses to William's specific points and whilst we will all be waiting to see how things turn out with the release of UTM 9, until then I'd prefer to get on with managing the Astaro installations I am responsible for.

    My 2c
  • Hi Bob,

    ... Astaro memory, continually repeating the rant does not help me at all


    I didn't had the impression that William abuses this thread for a rant regarding memory consumption, but I see your point. I am waiting for something tangible too.

    ... degenerated into posts of no value at all.


    I feel a little guilty here, since I'm the one who went Off-Topic. Sorry for that, but that's part of my job as a beta-guy here, and since I don't do this very often...

    Cheers,
    Kai
  • ....Whilst it is obvious that William has a bee in his bonnet as regards Astaro memory, continually repeating the rant ...has degenerated into posts of no value at all.

    Since the thread is so far away from the original point, I will add my two cents. Astaro and William have problems for a while with the way astaro kernel is tuned. I fine tune my installation quite a bit by adding a few cron jobs to make my box perform the way I like it to perform. William is making a case for the larger public and there is nothing wrong with healthy discussion even if both parties don't see eye to eye. 

    I have gotten into heated debates before with William but his heart is in the right place. A prime example is his persistence about the http proxy timeouts. While most of us experienced minor problems during certain beta releases and a lot of folks were not affected at all, he pushed astaro for a fix. 

    I feel the same way about the swap problem. I am running astaro in a vm and can add memory on the fly with every version. Thats the nature of software these days.... newer hardware is capable of running more sophisticated software and that software takes more processing power and memory. I don't see anything wrong with a senior member pushing for something that he feels would benefit the community or his own installations. That is what beta and as a matter of fact this forum is all about.

    Angelo and Kai have provided good responses to William's specific points and whilst we will all be waiting to see how things turn out with the release of UTM 9, until then I'd prefer to get on with managing the Astaro installations I am responsible for.
    That is great and if you are happy with their responses, by all means manage your appliances the way you like. For the rest of us, we are OK with someone pushing astaro in a way that keeps them on their toes even if the debate looks like rants to some folks[8-)]

    Regards
    Bill
  • I will submit my "nohup vmstat -n 179 482 /tmp/vmstat.txt 2>&1 &" file, if it adds value to seeing useage.

    Mark
  • ... if it adds value to seeing useage.


    Well, I'm not interested in the swap usage column of the output, I'm interested in the si/so columns, as they show how often the system did swap memory in the three minute period. A system under memory pressure would show high numbers in there constantly. A system that's mostly idle shows mostly zeros and low numbers every now and then.

    Cheers,
    Kai