We recently upgraded a WIMP server from Windows Server 2003 (32 bit) to Windows Server 2008 R2 (64 bit).
The new server has significantly better hardware than the old server, yet many processes take much longer than the old box. We have a rather complex web application process that normally takes about 7 seconds on the old box, but on the new one it takes 11-12 seconds. That's down from 15.5 seconds it took before I disabled IPv6.
This process involves some queries (some of them involve transactions with maybe 3 queries between the start and commit) and creating and emailing some PDFs.
Windows updates are current with a more or less fresh machine. This happens consistently even when we have almost no traffic on the site. Memory and CPU aren't being hard pressed at all.
The only differences between the servers other than the OS and hardware:
- When available, we used 64 bit versions of programs.
- The new server uses MySQL 5.5 rather than MySQL 5.1 (I did run the mysql_upgrade program and we use InnoDB for the engine)
- The new server uses PHP Version 5.3.18 rather than PHP Version 5.3.1
- With the new OS came IIS7 rather than IIS6 of course.
What could be causing better hardware to run so much slower?