Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2010-08-02 08:44:04

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Interesting talk by Rasmus Lerdorf - PHP Performance

A couple days ago Rasmus Lerdorf (creator of PHP) did a talk at Digg about PHP and performance, it's actually pretty interesting and brings up a few points which might be worth taking into account for FluxBB vFuture.

http://about.digg.com/blog/rasmus-lerdo … erformance

A few tools he suggests:

Last edited by Reines (2010-08-02 12:10:26)

Offline

#2 2010-08-02 16:09:00

FSX
Former Developer
From: NL
Registered: 2008-05-09
Posts: 818
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

That was interesting. smile

Edit:

Just tried Siege on FluxBB, like Rasmus did with WP.

yui% siege -b -c 5 -t30s http://localhost/fluxbb
** SIEGE 2.70
** Preparing 5 concurrent users for battle.
The server is now under siege...
Lifting the server siege...      done.                                                                                                                                                                                                                                     Transactions:               12540 hits
Availability:                    100.00 %
Elapsed time:                    29.12 secs
Data transferred:                29.14 MB
Response time:                   0.01 secs
Transaction rate:                430.63 trans/sec
Throughput:                      1.00 MB/sec
Concurrency:                     4.98
Successful transactions:         12544
Failed transactions:             0
Longest transaction:             0.05
Shortest transaction:            0.00

On my desktop with 3Ghz dualcore and 3GB RAM with a LAMP install. I think it looks quite good.

Last edited by FSX (2010-08-02 16:20:29)

Offline

#3 2010-08-02 16:26:24

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,677
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Have the results of WordPress by any chance?

I'd love to, but I don't have the chance to watch the video right now.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#4 2010-08-02 16:37:51

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Later I think I may install FluxBB/PunBB/PHPBB/etc and give them all some testing, stick the results on the wiki.

Offline

#5 2010-08-02 18:04:55

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

index - XCache
------------------------------------------------------------------------------------------------------------------------------------------
Forum,                  Date & Time,  Trans,  Elap Time,  Data Trans,  Resp Time,  Trans Rate,  Throughput,  Concurrent,    OKAY,   Failed
------------------------------------------------------------------------------------------------------------------------------------------
bbPress,        2010-08-02 18:30:05,    851,      29.38,           3,       0.17,       28.97,        0.10,        4.99,     851,       0
FluxBB,         2010-08-02 18:30:55,   5533,      29.96,          20,       0.03,      184.68,        0.67,        4.98,    5533,       0
phpBB,          2010-08-02 18:32:20,    940,      29.02,           9,       0.15,       32.39,        0.31,        4.96,     940,       0
PunBB,          2010-08-02 18:33:05,   2806,      29.75,          14,       0.05,       94.32,        0.47,        4.99,    2806,       0
SMF,            2010-08-02 18:34:22,    480,      29.41,           1,       0.31,       16.32,        0.03,        4.98,     480,       0
Vanilla,        2010-08-02 18:35:17,    196,      29.77,           0,       0.75,        6.58,        0.00,        4.95,     196,       0
MyBB,           2010-08-02 21:48:11,   1970,      29.21,          18,       0.07,       67.44,        0.62,        4.99,    1970,       0
Phorum,         2010-08-02 21:48:48,   3058,      29.76,          18,       0.05,      102.76,        0.60,        4.99,    3058,       0
Invision,       2010-08-02 21:49:39,    889,      29.50,           4,       0.17,       30.14,        0.14,        4.98,     889,       0
vBulletin,      2010-08-02 21:51:14,    730,      29.06,           3,       0.20,       25.12,        0.10,        4.99,     730,       0

index - no XCache
------------------------------------------------------------------------------------------------------------------------------------------
Forum,                  Date & Time,  Trans,  Elap Time,  Data Trans,  Resp Time,  Trans Rate,  Throughput,  Concurrent,    OKAY,   Failed
------------------------------------------------------------------------------------------------------------------------------------------
bbPress,        2010-08-02 18:40:21,    219,      29.67,           0,       0.67,        7.38,        0.00,        4.94,     219,       0
FluxBB,         2010-08-02 18:41:08,   1894,      29.98,           7,       0.08,       63.18,        0.23,        4.99,    1894,       0
phpBB,          2010-08-02 18:42:13,    400,      29.43,           3,       0.37,       13.59,        0.10,        4.98,     400,       0
PunBB,          2010-08-02 18:43:18,   1122,      29.71,           5,       0.13,       37.77,        0.17,        4.99,    1122,       0
SMF,            2010-08-02 18:43:55,    541,      29.20,           1,       0.27,       18.53,        0.03,        4.98,     541,       0
Vanilla,        2010-08-02 18:44:41,    270,      29.14,           1,       0.53,        9.27,        0.03,        4.94,     270,       0
MyBB,           2010-08-02 21:53:33,    543,      29.71,           5,       0.27,       18.28,        0.17,        4.97,     543,       0
Phorum,         2010-08-02 21:54:23,    583,      29.51,           3,       0.25,       19.76,        0.10,        4.96,     583,       0
Invision,       2010-08-02 21:55:16,    210,      29.35,           1,       0.69,        7.16,        0.03,        4.96,     210,       0
vBulletin,      2010-08-02 21:56:54,    326,      29.05,           1,       0.44,       11.22,        0.03,        4.95,     326,       0

view topic - XCache
------------------------------------------------------------------------------------------------------------------------------------------
Forum,                  Date & Time,  Trans,  Elap Time,  Data Trans,  Resp Time,  Trans Rate,  Throughput,  Concurrent,    OKAY,   Failed
------------------------------------------------------------------------------------------------------------------------------------------
bbPress,        2010-08-02 18:46:44,    825,      29.59,           3,       0.18,       27.88,        0.10,        4.99,     825,       0
FluxBB,         2010-08-02 18:47:36,   6738,      29.30,          28,       0.02,      229.97,        0.96,        4.98,    6738,       0
phpBB,          2010-08-02 18:49:57,   1715,      29.52,          17,       0.09,       58.10,        0.58,        4.99,    1715,       0
PunBB,          2010-08-02 18:51:15,   3325,      29.85,          23,       0.04,      111.39,        0.77,        4.99,    3325,       0
SMF,            2010-08-02 18:52:13,   1079,      29.75,           4,       0.14,       36.27,        0.13,        4.98,    1079,       0
Vanilla,        2010-08-02 18:53:51,    211,      29.58,           1,       0.69,        7.13,        0.03,        4.93,     211,       0
MyBB,
Phorum,         2010-08-02 22:01:13,   2594,      29.34,          17,       0.06,       88.41,        0.58,        4.99,    2594,       0
Invision,       2010-08-02 22:02:08,    609,      29.40,           6,       0.24,       20.71,        0.20,        4.97,     609,       0
vBulletin,      2010-08-02 22:03:34,    402,      29.75,           2,       0.37,       13.51,        0.07,        4.96,     402,       0

* There's no view topic for MyBB as they don't create a topic upon install, and for some reason I couldn't manage to log in...

Edit: How the hell did SMF and Vanilla speed up when XCache was disabled? hmm

Last edited by Reines (2010-08-02 21:07:18)

Offline

#6 2010-08-02 18:09:59

FSX
Former Developer
From: NL
Registered: 2008-05-09
Posts: 818
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Nice. Flux is twice as fast as PunBB.

Offline

#7 2010-08-02 18:21:44

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Well that is 1.4 vs 1.3, I imagine 1.2 vs 1.2/1.4 would be similar. I wonder what parts of 1.3 add the overhead? Extensions must add a bit, maybe the fancy URLs? (though they weren't enabled).

Offline

#8 2010-08-02 19:35:55

artoodetoo
Member
From: Far-Far-Away
Registered: 2008-05-11
Posts: 221

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

It was predictable even before 1.3 released
2008: http://fluxbb.org/forums/viewtopic.php?pid=10932#p10932


I'm not a fan of FluxBB way anymore.

Offline

#9 2010-08-02 22:14:52

Gil
Member
From: France
Registered: 2008-05-10
Posts: 175

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Reines wrote:
Forum,                  Date & Time,  Trans,  Elap Time,  Data Trans,  Resp Time,  Trans Rate,  Throughput,  Concurrent,    OKAY,   Failed

FluxBB,         2010-08-02 18:30:55,   5533,      29.96,          20,       0.03,      184.68,        0.67,        4.98,    5533,       0
phpBB,          2010-08-02 18:32:20,    940,      29.02,           9,       0.15,       32.39,        0.31,        4.96,     940,       0
PunBB,          2010-08-02 18:33:05,   2806,      29.75,          14,       0.05,       94.32,        0.47,        4.99,    2806,       0
[...]

Another reason to love fluxBB wink

It could be relevant to add version numbers. Maybe not useful today, but in the future (to compare further versions, or to add new versions next year...)

Offline

#10 2010-08-02 22:17:54

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,677
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

I'd suggest adding something like this to the wiki.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#11 2010-08-02 23:09:00

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

I'll run them again on my work PC and take some averages then try make some pretty graphs for the wiki. I'll also add version numbers and maybe add in FluxBB v1.2 and any others worth considering.

Offline

#12 2010-08-02 23:21:50

Mpok
Member
From: France
Registered: 2008-05-12
Posts: 389

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Huh...
Never been convinced by any (in the past, and now) of these tests.
I may be wrong, but one doesn't choice a forum soft based on tests.
Some forums are good at smthg, some are better on another thing. That's all.

In example, where is the MAJOR PART of Fluxbb in these tests ??
(the clarity of the code...)

Offline

#13 2010-08-02 23:23:39

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Mpok wrote:

Huh...
Never been convinced by any (in the past, and now) of these tests.
I may be wrong, but one doesn't choice a forum soft based on tests.
Some forums are good at smthg, some are better on another thing. That's all.

In example, where is the MAJOR PART of Fluxbb in these tests ??
(the clarity of the code...)

I'm definitely not saying tests like this are the only thing to consider, but they shouldn't be ignored, performance is important.

Offline

#14 2010-08-02 23:42:38

Mpok
Member
From: France
Registered: 2008-05-12
Posts: 389

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Reines wrote:

but they shouldn't be ignored, performance is important.

Agree on that. smile

But lot of these tests (maybe not this one) are defective, as they don't simulate a REAL experience of the forums.

Last edited by Mpok (2010-08-02 23:46:48)

Offline

#15 2010-08-03 03:31:50

Jérémie
Member
From: France
Registered: 2008-04-30
Posts: 629
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Can't judge any number without a detailed an reproducible description of the setup and test simulated.

From the MyBB comment, I don't see how stressing empty forum means anything. You'll have to populate the forums with the same data (forums, users, topics, posts) to something meaningful before testing. It's quite possible a software run slower than another if empty, but scale more gracefully when it's not.

Offline

#16 2010-08-03 19:03:43

Gil
Member
From: France
Registered: 2008-05-10
Posts: 175

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Mpok wrote:

Huh...
Some forums are good at smthg, some are better on another thing. That's all.

True, indeed.
But the FluxBB creed is "light and fast" (and even "lighter and faster"). If you cannot prove it, or worse if you show otherwise, you're in very bad situation smile
No, no, such evidence is essential.

Last edited by Gil (2010-08-03 19:04:24)

Offline

#17 2010-08-03 19:07:10

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Jérémie wrote:

From the MyBB comment, I don't see how stressing empty forum means anything. You'll have to populate the forums with the same data (forums, users, topics, posts) to something meaningful before testing. It's quite possible a software run slower than another if empty, but scale more gracefully when it's not.

Indeed, though trying to generate a big enough number of users and posts on 10 different forums to get meaningful results isn't what I'd class as a fun afternoon tongue I can automatically add users/posts to fluxbb/punbb since I know the database structure, but doing so with others is a bit harder.

Offline

#18 2010-08-03 20:42:01

hcgtv
Member
From: Charlotte, NC
Registered: 2008-05-07
Posts: 463
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

For a quick test, you could just hit the opensourcecms.com servers, no need to install each and every forum on your machine.

http://www.opensourcecms.com/demo/1/324/FluxBB

Offline

#19 2010-08-03 20:45:47

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Well that adds in network latency and the might be off because of the adverts they serve. Plus I doubt they'd be too happy about what basically amounts to a dos attack.

Offline

#20 2010-08-03 21:26:10

hcgtv
Member
From: Charlotte, NC
Registered: 2008-05-07
Posts: 463
Website

Re: Interesting talk by Rasmus Lerdorf - PHP Performance

Reines wrote:

Well that adds in network latency and the might be off because of the adverts they serve. Plus I doubt they'd be too happy about what basically amounts to a dos attack.

I think it's more real world than testing off a localhost environment.

As for the adverts, use this link: http://demo.opensourcecms.com/fluxbb/

Just to do a quick test, I don't think Scott is going to mind. Just don't be running a test when the databases are being refreshed.

By the way, I've run these kinds of tests in the past but you have to tweak each forum to get the most out of them. Take the case of Phorum, where their caching system can be either file, memcached or APC based.

Nonetheless, it's a good internal test to see how well your software runs against someone else's but I wouldn't put up a bragging page unless you've tweaked the other apps.

By the way, Textpattern kicks Wordpress's butt wink

Offline

Board footer

Powered by FluxBB