It looks like you're new here. If you want to get involved, click one of these buttons!
So today I did something crazy.
xcache.cacher On
xcache.count 1
xcache.gc_interval 0
xcache.shm_scheme mmap
xcache.size 2048M
xcache.slots 0
xcache.stat On
xcache.test Off
xcache.ttl 0
xcache.var_count 5
xcache.var_gc_interval 0
xcache.var_maxttl 0
xcache.var_size 1024M
xcache.var_slots 0
xcache.var_ttl 0
It consumed around 8GB of RAM and only 0.03 server load! (originally consuming 300MB~ RAM and around 0.13 server load) IPB main page executed at 0.0389s, originally 0.1s~0.15s.
@Boltersdriveer Aha, that proves that I'm not wasting resources.
Do you guys use PHP caching? What PHP caching software do you use and why?
LoomHosts | I am a human, I make mistakes and correct them.
Comments
IPB is a terrible software in the first place...
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanksik that's why I'm developing my own forum board
LoomHosts | I am a human, I make mistakes and correct them.
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksAPC works well for me, will support php 6 as well. I recommend it. The differences between performance benchmarks between others are so small, it's barely even noticeable...
@Boltersdriveer totally agre, IPB went to shit after 2.0
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksThat's so unnecessary with all the good, open source boards laying around. Try FluxBB, for example.
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI second FluxBB, it's a great board. I personally have no problem w/ IPB and vB so I don't quite understand the hate for them. I've had licenses for both in the past, and they're great boards. They were able to handle 1,600+ people online no problem after server optimizations.
I personally use APC, but tested xCache 2.0 when it was wasn't considered a stable release and it was quite fast. I don't understand how you're getting it to consume 8gb of ram though?
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI configured it. Look at first post's configuration.
LoomHosts | I am a human, I make mistakes and correct them.
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksAnyone using PHP should have opcode cacher installed i.e Xcache or APC Cache, reduces cpu load like you experienced :)
APC Cache saving PHP 7,500 cache hits/sec + 1,900+ cache hits/sec to user caching http://i.imgur.com/Ez1kD.png :)
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI also use APC and it is the only reason why some of my websites even work on a LEB. It saves me a lot of server load!
Got divided by zero. Three times. Feel better ever since...
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI've used Varnish in the past, w/ Apache.
I found it to perform better than Litespeed (comparing to a VPS license, though) and it was used on a cPanel system. Though that was a while back and I don't have any stats to share, other than my word that there was a positive and noticeable difference in performance and very few issues. (Mainly with a couple Wordpress blogs and varnish not purging cache on site updates)
vpsBoard.com - Now with over 400 members! A friendly community with active discussion.
IRC.FREENODE.NET #vpsBoard
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksHey, please review your config.
You put 5 instances of variable cache each 1024M. Plus one instance of scripts cache for 2048M
Nothing strange that it consumes 7gb = 5x1024mb + 2048mb
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksSorry, pressed the "Thanks" button by accident...
On Topic: The OP did that on purpose to see how much it changes on his server load.
Got divided by zero. Three times. Feel better ever since...
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks@Kairus was that 1600 concurrent? or over a 15-30minute span interval?
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI've managed IPB on communities with >50k members, and while it is not lightweight by any means, and a bit buggy, its cache functionality coupled with APC can handle hundreds of thousands of page views on pretty light hardware (8GB dedi, dual core).
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI think I had the listing set to 10 minutes back then.
- Spam
- Abuse
- Troll
0 • Disagree Agree ThanksI use APC and my largest SMF board's index page can hit 0.0x second generation times.
I will probably jynx myself by posting the URL and you'll see poor loading times, but here it is. 32MB assigned to APC, Apache 2 behind Nginx.
- Spam
- Abuse
- Troll
0 • Disagree Agree Thanks