Topic on Project:Support desk

Mediawiki multicore support

2
Tribly (talkcontribs)

I'm thinking about upgrading my sever and I'm interested to know how much does Mediawiki favors multicore server oriented CPUs? Like for example with an 8 core Xeon processor would I have much better performance than using a 4 core i5 or a 2 core i3?

Ciencia Al Poder (talkcontribs)

PHP runs single-threaded, so each page load will use only 1 processor core.

However, if the database is on the same computer, it will benefit from running in a second processing thread. Also, the default configuration execute background jobs (see Manual:Job queue) making a connection to itself, so it could consume another processing thread. Session management, if sessions are stored in a separate process (default in MediaWiki 1.27) that may consume another thread.

The most benefit you'll get with more cores would be if you have more concurrent connections on a single time.

Reply to "Mediawiki multicore support"