Hi,
Thanks for the benchmarks!
I am surprised that nginx + hhvm is faster than ols + hhvm, we think we
have better FCGI implementation than nginx, at least for our Enterprise
product. It could be a bug somewhere. I will try it out when I get a
chance.
Cache should be the fastest, we will do some internal testing as well.
Yeah, we plan to add LSAPI interface to hhvm, just lower priority. And
LiteSpeed SAPI has been ported to PHP7, so you can give PHP7 a try see
how it stack up against hhvm.
Best regards,
George Wang
On 5/12/2015 2:31 PM, Stevo Novkovski wrote:
> I made tons of benchmark results comparing lsapi, hhvm, ols, nginx, ols
> cache and i received so unexpected results.
> I was expecting results in this order (from fastest to slower):
>
> 1) OLS cache
> 2) fcgi HHVM
> 3) lsapi
>
> But my results says that most *nature*, stable and faster is lsapi.
>
> All tests are made on Linode 1GB/1CPU,SSD and Linode 4GB/4CPU/SSD vps.
>
> Settings:
>
> HHVM fcgi default settings, socket connection. version 3.6.0
> OLS default settings except max connection. version 1.4.7
> LSAPI php 5.6.7 with opcache default settings
> Nginx default settings. version 1.6.3
> Load methodology: Maintain client load
http://prntscr.com/74gc8k
> All tests are run on HTTP 80 port.
>
>
> Tests on 1GB vps:
>
> From 50 to 1500 in 30 secounds - Wordpress + w3tc + page disk cache
>
> ols lsphp 5.6
>
> <
http://i.imgur.com/NOwEvp6.png>
>
> ols fcgi hhvm
>
> <
http://i.imgur.com/GWxeFcI.png>
>
>
>
> From 50 to 1500 in 30 secounds - hello.php (echo "Hello";)
>
>
> ols lsphp 5.6
>
> <
http://i.imgur.com/YEAqt6X.png>
>
>
> ols fcgi hhvm
>
> <
http://i.imgur.com/bYaK47L.png>
>
>
> From 800 to 2000 in 30 secounds - hello.php (echo "Hello";)
>
>
> ols lsphp 5.6
>
> <
http://i.imgur.com/BQcgP90.png>
>
>
>
>
> ols fcgi hhvm
>
> <
http://i.imgur.com/IIwr260.png>
>
> ols cache disk storage
>
> <
http://i.imgur.com/iyNgJOt.png>
>
>
> From 800 to 2000 in 30 secounds - Wordpress + w3tc + page disk cache
>
>
> ols lsphp 5.6
>
> <
http://i.imgur.com/YoKJp9Q.png>
>
>
>
> ols fcgi hhvm
>
> <
http://i.imgur.com/ffcyhip.png>
>
>
> ols cache disk storage
>
> <
http://i.imgur.com/LA8OJUY.png>
>
>
> ols fcgi hhvm (apc storage)
>
> <
http://i.imgur.com/ZcXo0ZA.png>
>
>
> From 2000 to 3000 in 30 secounds - hello.php (echo "Hello";)
>
>
> ols lsphp 5.6
>
> <
http://i.imgur.com/fAZfvDc.png>
> <
http://i.imgur.com/uZA73IZ.png>
>
> ols cache disk storage
>
> <
http://i.imgur.com/x3ikLS8.png>
>
>
> From 2000 to 3000 50x50px png image
>
> ols
>
> <
http://i.imgur.com/nxbUniY.png>
>
> nginx
>
> <
http://i.imgur.com/xfTOax5.png>
>
>
>
> From 1000 to 2000 in 30 secounds - hello.php (echo "Hello";)
>
>
> ols lsphp 5.6
>
> <
http://i.imgur.com/7hH1Spf.png>
>
>
>
> ols fcgi hhvm
>
> <
http://i.imgur.com/Fafpzo4.png>
>
>
> nginx fcgi hhvm
>
> <
http://i.imgur.com/pxb4lP4.png>
>
>
> Tests on 4GB vps:
>
>
> From 800 to 2000 in 30 secounds Wordpress + w3tc + page disk cache
>
> ols lsphp 5.6
>
> <
http://i.imgur.com/MSKmOxP.png>
>
> ols fcgi hhvm
>
> <
http://i.imgur.com/URziKP5.png>
>
>
>
> ols cache (disk storage)
>
> <
http://i.imgur.com/kNel6OU.png>
>
>
>
> ols hhvm (apc cache)
>
> <
http://i.imgur.com/UYnEUMt.png>
>
>
> ols cache (ram disk storage)
>
> <
http://i.imgur.com/AdEfTDx.png>
>
>
>
> From 2000 to 3000 in 30 secounds - hello.php (echo "Hello";)
>
> ols lsphp 5.6
>
> <
http://i.imgur.com/CnTvTmJ.png>
> <
http://i.imgur.com/fMSBS6n.png>
>
>
>
>
> ols cache (disk storage)
>
> <
http://i.imgur.com/2MtR5oy.png>
>
>
> ols cache (ram disk storage)
>
> <
http://i.imgur.com/rPheJyc.png>
>
>
>
>
> Mine conclusion
>
> 1. OLS works best with lsapi and its most natural setup on OLS.
> 2. Nginx hhvm fastcgi is much faster the ols hhvm fastcgi
> 3. OLS is faster and more stable in static files then nginx
>
>
> Questions
>
> 1. Do you work on lsapi hhvm and when will be ready?
> 2. PHP 7 is coming this year with similar performance as hhvm and i
> this OLS + lsapi php 7 will beat everything.
> 3. Does "max 2000 external connection limit" is just front-end
> limitation, since i edited ols config file and change to 4000 and
> everything was working fine.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "OpenLiteSpeed Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
openlitespeed-deve...@googlegroups.com
> <mailto:
openlitespeed-deve...@googlegroups.com>.
> To post to this group, send email to
>
openlitespee...@googlegroups.com
> <mailto:
openlitespee...@googlegroups.com>.
> Visit this group at
>
http://groups.google.com/group/openlitespeed-development.
> For more options, visit
https://groups.google.com/d/optout.