Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've configured a WAMP (Windows Apache MySQL and PHP) stack when when configured to use local storage takes 3-4 seconds to load. When I use an SMB/UNC share it takes 12-15 seconds to load.

Here are the two lines in my httpd.conf:

 #DocumentRoot "//"
 #<Directory "//">

 #DocumentRoot "C:/www"
 #<Directory "C:/www">

Is there performance tuning I can do on windows server 2008 R2 to improve performance or is there another way to improve performance using smb

share|improve this question

1 Answer 1

A script that takes 3-4 seconds in PHP must be pretty large, maybe you're using a CMS or other platform. Either way, SMB has far too much lag to be a practical docroot of your site. It's just inherent in the protocol I'm afraid. NFS may be faster, but really, your docroot should be local. I'm actually quite amazed it only takes 12-15 seconds if a local version takes 3-4.

share|improve this answer
Is this something specific to Apache, or in general? We have a bunch of sites running in IIS on a DFS root (which is CIFS) and we don't see any appreciable delay in accessing network resources –  Mark Henderson Jun 17 '13 at 23:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.