[Mediawiki-l] Windows Apache & IIS vs Linux Apache performancedifferences

Arthur Guy arthur at astarsolutions.co.uk
Sun Jun 19 10:48:21 UTC 2005


Can I get some feedback from people as to the average page load time (as
shown in the comment at the bottom of each page).

I have been running MediaWiki on IIS on windows and I have been getting
average times of 0.5s
I then installed apache on my laptop and setup MediaWiki to get data from
the original database, with this setup I am getting 0.4s. 
The laptop isn't as good as the server and it was getting its data across
the network so it shows how much better Apache is with this type of site.

What I would like to know is 0.5s or 0.4s fast or slow, what times are other
people getting, and what are they running, WIMP, WAMP, LAMP, etc...

Thanks
Arthur

arthur at astarsolutions.co.uk
www.astarsolutions.co.uk

-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of
tthompson at envisionware.com
Sent: 11 June 2005 05:21
To: mediawiki-l at Wikimedia.org
Subject: [Mediawiki-l] Windows Apache & IIS vs Linux Apache
performancedifferences

We're using MediaWiki on our corporate Intranet with great results. It's
perfect even for a smaller company.

The configuration is as follows:
    MediaWiki (http://wikipedia.sf.net/): 1.4.4
    PHP (http://www.php.net/): 4.3.10 (apache2handler)
    MySQL (http://www.mysql.com/): 4.0.18-max-debug-log
    IIS 5.x
    Windows 2000 Server on 2Ghz Pentium 4, 512MB RAM, SCSI RAID array
    Also: Apache 2.0.52 for testing

This rather non-trivial server gets a 100% CPU spike for 2 to 5 seconds on
each page view in the wiki. Ugh!

Apache on that same server didn't give any noticable speed improvements.

Just on a whim, I installed the same MediaWiki code on a Linux laptop,
running PHP 4.3.10 and the same Apache version. It's querying the MySQL
database on the main server.

The Linux/PHP/Apache on the Pentium 3 850Mhz laptop with half the RAM is
nearly FOUR times faster! That's half the RAM, a third the CPU speed...
but it dusts Windows 2000.

I can bring up two browser windows, with the Windows wiki in one and the
Linux wiki in the other, and click "Random page" in both windows. I can
click thru 4 or 5 random pages in the Linux instance in the time the
Windows instance brings back one.

To get Windows performance like that, I had to run the PHP code on a dual
CPU P4 with 1GB RAM under Windows 2003 Server.

Are there any optimization options I could be missing? I've already
enabled page caching on the server (works well), installed the Zend
Optimizer (free version), and ensured that I'm not dealing with the
dreaded multi-redirect bug. The CPU hit on the Windows server is huge.
MySQL isn't breaking a sweat at all.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l




'a star solutions' disclaimer
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. 
If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited.
If you received this in error, please contact the sender and delete the material from any computer. 
Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company.
We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. 
We assume no responsibility for any loss or damage arising from the receipt or use of this communication






More information about the MediaWiki-l mailing list