Windows 7 64 bit performance woes [1.7.3] [Resolved]

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Windows 7 64 bit performance woes [1.7.3] [Resolved]

Postby rfryar » 24. April 2012 18:48

I recently upgraded my XAMPP box from Win 32 bit to Win 7 64 bit. My Xampp ported with out a problem, I reran the setup to update all my directories. I have the services running fine for Apache 2.2, MySQL, and FTP. However I am plagued by one huge issue..

Performance outside my LAN is terrible. Every request seems to take an extra 1 - 2 seconds. So a page with 5 components takes at least 10 seconds to load. In my LAN everything works fine.

I did not change any of my router settings other than changing what internal IP they referenced (kept the same ports open, etc).

Is there any issues with IPv6, or other external routing I need to worry about?

I can not post a URL yet, but I have a page that shows how slow it is using a static html with 3 images on it.. Perhaps when I get enough posts I can post if interested.
family [dot] fryar [dot] org [slash] speedTest.html

Any help would be helpful.

Oh I tried to upgrade to 1.7.7 and got the basic stuff working (apache), and it did not change the performance issues. I just do not have time to update mysql, etc at this time unless I know 1.7.7 would definitely resolve the issue.

Thanks,

Rick
rfryar
 
Posts: 5
Joined: 24. April 2012 18:34
Operating System: Win 7 64 bit

Re: Windows 7 64 bit performance woes [1.7.3]

Postby Altrea » 25. April 2012 03:13

rfryar wrote:Is there any issues with IPv6, or other external routing I need to worry about?

Yes, that is one possible issue. Windows 7 uses IPv6 with a fallback (after timing out) to IPv4. That can cost that extra seconds.
Second possible issue are security software products like firewalls or anti virus programs.

best wishes,
Altrea

P.S.: Remember one thing: Don't use XAMPP in production envoironments unless you are an expert in hardening all of the single components.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Windows 7 64 bit performance woes [1.7.3]

Postby rfryar » 25. April 2012 14:29

Well I think IPv6 might have something to do with it. I replaced my listens with 0.0.0.0:80 and all my vhost entires with 0.0.0.0:80 as well. That has improved the speed of most things.

Now my remaining slow item is PHP seems to run much slower than it used it. Any tricks to help tune PHP? I have excluded php-cgi.exe from my virus scanner, as well as the xampp temp directory. Any other tips? Anything related to the php.ini or apache.conf to speed it up?

Rick
rfryar
 
Posts: 5
Joined: 24. April 2012 18:34
Operating System: Win 7 64 bit

Re: Windows 7 64 bit performance woes [1.7.3]

Postby Theslcguy » 25. April 2012 21:34

How about ob_gzhandler? that should help with external performance.

ini_set("zlib.output_compression", 4096);
Theslcguy
 
Posts: 11
Joined: 23. April 2012 21:06
Operating System: Win7

Re: Windows 7 64 bit performance woes [1.7.3]

Postby rfryar » 15. May 2012 14:49

The speed issue is not download or transfer speed.. It is the first byte. It seems every request from outside my lan (Just for apache, other services are unaffected) has a 1-2 second delay before first byte is served.

Does anyone know any settings to debug when apache receives and when it finally sends the content. I need to see where the issues are cropping up.

To me it seems as if Apache tries to respond, sits and something times out before sending the response back.

Again servers inside my LAN respond in sub seconds (as expected) so apache is working, but something is not working for wan traffic.

Thanks,

Rick
rfryar
 
Posts: 5
Joined: 24. April 2012 18:34
Operating System: Win 7 64 bit

Re: Windows 7 64 bit performance woes [1.7.3]

Postby rfryar » 15. May 2012 15:58

Addendum: I added the time to serve the request to the logs and here are some of the results. For the same pages in my LAN the time to serve some HTML and JPGs:
Code: Select all
%T/%D
0/218400
0/202800
0/421201

So nice and fast. On the WAN, on a fast connection, close to my house:
Code: Select all
5/5054409
4/4945209
5/5054409


5 Seconds! Any idea how I can troubleshoot further? Note I am on a 100MegaBit down and 30 Megabit connection up. This is NOT my network speed at either location. There is some problem between Apache/ Win 7 64 bit / and my router. Some combination is causing this..

Rick
rfryar
 
Posts: 5
Joined: 24. April 2012 18:34
Operating System: Win 7 64 bit

Re: Windows 7 64 bit performance woes [1.7.3]

Postby JonB » 15. May 2012 17:04

You may well be on track with the Router issue, its quite unlikely to be Apache - at least as I see it. Apache itself does not care one bit about the source of a request UNLESS you have made rules (directives or .htaccess) that force it to filter requests.

For the purpose of 'fixing' this, if possible I would get the most 'plain jane' router possible that still handles Fast Ethernet (100Mbit) on all ports and put in inline. You could be dealing with a purely router issue.

But routers don't exist in a vacuum either, there is also how the ISP's traffic management (shaping) is set up. That's something you rarely get a glimpse into. You might contact their help desk and describe the issue - they may know the source.

You also might want to use the traceroute utility from outside your lan, I use that often to see where things have gone awry- sometimes its defective routing tables at the ISP. You should also determine if this delay happens on ALL external networks or just ones you have tested.

http://en.wikipedia.org/wiki/Traceroute

http://www.yougetsignal.com/tools/visual-tracert/

These are just my observations as a network engineer.

8)

Good Luck
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Windows 7 64 bit performance woes [1.7.3]

Postby rfryar » 16. May 2012 16:44

FYI, Not sure what was f'ed up, but replaced XAMPP with WAMP 64 and my speed problems have gone away. So something way messed up, not sure what.

Thanks for all the help.

Rick
rfryar
 
Posts: 5
Joined: 24. April 2012 18:34
Operating System: Win 7 64 bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: JJ_Tagy and 74 guests