Skip to main content

My experience, suExec + FastCGI + opcache VS mod_ruid2 + DSO + opcache

Comments

7 comments

  • cPanelMichael
    Hello :) Thank you for taking the time to share those results here. I'm sure other users will find it helpful.
    0
  • DrPrez
    How to test Time To First Byte Here are a few links to online tools and also screenshots of how you can test your TTFB. Note: Repeat checks should have a lot lower TTFB. Websites - [url=http://tools.pingdom.com/]Pingdom - [url=http://www.webpagetest.org/]WebPagetest - ByteCheck Browsers Firefox .vB Chrome .vB Internet Explorer .vB
    0
  • maqsium
    Hello, I also have same issue of time to first byte, we moved our websites from AWS to dedicated server which is equipped with WHM. With AWS previously, we had TTFB of less than 700ms for a heavy website, but after moving to new server with Apache, it is taking lot of time. My current settings are: Apache 2.4 FastCGI (mod_fcgid) enabled PHP 5.5 For me also, a simple hello world php file takes around 106 ms which is way high. Kindly suggest a work around for the issue. Regards, maqsimum
    0
  • sonicthoughts
    I agree that this is great performance, but unfortunately, mod_ruid2 still does not support caching (memcache!) which really kills performance. Hoping CP will address this soon.
    0
  • cPanelMichael
    mod_ruid2 still does not support caching

    To note, the corresponding feature request is found at: memcache / cache and mod_ruid2 Thank you.
    0
  • Sascha H.
    We are using cPanel & WHM for the very first time and is installed with CloudLinux 7.2. The installment is done on a dedicated HP ProLiant DL360 Gen9 server. It has 64 GB RAM and 2x Intel 6-Core CPUs and 4x600GB SAS HDD RAID Level 10. The BIOS is tuned for maximum performance and setup using HP best practices. On top of it there is HP SmartCache installed with a 400 GB SSD. My experience having a default installment of CloudLinux+cPanel+CageFS+suPHP+PHP-Selector+EA3 installed, whatever PHP-Application I use my TTFB always has about 2-6 seconds which in fact is a serious issue. I had the installation on a small VPS with 4 GB RAM and got the same results using Wordpress, Typo3, phpBB etc. What I see during the first request is, the user process is spawning and then does nothing for about 3-4 seconds, then CPU gets fully used and the page is rendered. But once loaded and you hit F5, the page loads imminently IF the user process is still available. I tried LiteSpeed instead of suPHP, same result. I tried FCGI, same results. Then after migrating from EA3 to EA4 and MultiPHP, the TTFB reduced to 1,5 seconds which is on a heavy coded Typo3 presentation an avg. good result if the page wasn"t rendered / cached by Typo3 previously. I am really clueless as to why a baremetal server has such problems. The system is fabric new, no errors nothing. Whether it is CloudLinux or PHP-Selector but I expect a super fast server. The CL-guys are clueless as well. Could it maybe an IPv6 problem in PHP? Our infrastructure is built upon IPv4 only so my guess might be PHP tries DNS resolution over IPv6 first, gets a timeout after a few seconds and then finishes through IPv4. It"s just a guess.
    0
  • UHLHosting
    @DrPrez you think this setup you have there mentioned would enhance my TTFB for my sites? Right now I use FPM + Opcache + CGI
    0

Please sign in to leave a comment.