MediaWiki is slow, how can I make it faster?
* First you should try installing a free PHP cache engine such as
eAccelerator <http://eaccelerator.net/> or APC
<http://pecl.php.net/package/APC> (after installing, modify your
$wgMainCacheType
<http://www.mediawiki.org/wiki/Manual:$wgMainCacheType>
accordingly). The engine will save the parsed PHP scripts and
enhance performance a lot (this is something you should use anyway
on any PHP installation with non-trivial traffic). Proprietary
Zend Platform <http://www.zend.com/store/products/zend-platform/>
also contains a bytecode cache, however its "dynamic content
caching" is not supported in MediaWiki at the current time.
* Use Squid <http://meta.wikimedia.org/wiki/Squid> or MediaWiki's
native file cache
<http://www.mediawiki.org/wiki/Manual:File_cache> ($wgUseFileCache
<http://www.mediawiki.org/wiki/Manual:$wgUseFileCache> = true) to
cache whole pages
* Memcached <http://meta.wikimedia.org/wiki/Memcached> will provide
some performance benefit, especially for heavily viewed sites. See
also the cache
<http://www.mediawiki.org/wiki/Help:Configuration_settings#Cache>
section of the configuration settings.
* See the Reduction
<http://www.mediawiki.org/wiki/Help:Configuration_settings#Reduction>
section of the configuration setting.
* See the $wgUseDatabaseMessages
<http://www.mediawiki.org/wiki/Manual:$wgUseDatabaseMessages> setting.
* Switching the MySQL table type to MyISAM may be faster for
single-user wikis on lower-end computers. See also: MySQL Storage
Comparison
<http://dev.mysql.com/tech-resources/articles/storage-engine/part_3.html>.
* Disable ImageMagick in LocalSettings.php $wgUseImageMagick
<http://www.mediawiki.org/wiki/Manual:$wgUseImageMagick>, though
this will cause reduced thumbnail quality. ImageMagick imposes a
performance penalty during various page views and edits and can
slow down bulk uploads.
* For a heavy concurrent write load, InnoDB is essential. Set
$wgAntiLockFlags
<http://www.mediawiki.org/wiki/Manual:$wgAntiLockFlags> =
ALF_NO_LINK_LOCK | ALF_NO_BLOCK_LOCK to reduce lock contention, at
the expense of introducing occasional inconsistencies. Use
memcached not the default MySQL-based object cache.
* If using Squid, enable HTCP <http://en.wikipedia.org/wiki/HTCP>
and add $wgHTCPMulticastAddress
<http://www.mediawiki.org/wiki/Manual:$wgHTCPMulticastAddress>
* If you have $wgReadOnly
<http://www.mediawiki.org/wiki/Manual:$wgReadOnly> set, check bug
11533 <http://bugzilla.wikimedia.org/show_bug.cgi?id=11533>.
_______________________________________________
Glug mailing list
[email protected]
http://glugcen.dc.uba.ar/cgi-bin/mailman/listinfo/glug
Esta info es oficial del sitio de Mediawiki. Creo que es el punto 0 de
donde tendriamos que partir.
- [GlugCEN] Mejoras al server+wiki Damian Montaldo
- Re: [GlugCEN] Mejoras al server+wiki Pablo Antonio
- Re: [GlugCEN] Mejoras al server+wiki Pablo Antonio
- Re: [GlugCEN] Mejoras al server+wiki Hernan Rodriguez Colmeiro
- Re: [GlugCEN] Mejoras al server+wik... Pablo Antonio
- Re: [GlugCEN] Mejoras al server+wiki Pablo Dotro
- Re: [GlugCEN] Mejoras al server+wiki Damian Montaldo
- Re: [GlugCEN] Mejoras al server+wik... Mariano J. Paz
- Re: [GlugCEN] Mejoras al server... Damian Montaldo
- Re: [GlugCEN] Mejoras al s... Pablo Antonio
- Re: [GlugCEN] Mejoras ... Damian Montaldo
- Re: [GlugCEN] Mejo... Damian Montaldo
- Re: [GlugCEN] Mejo... Pablo Antonio
