Page 2 of 2

XAMPP on vista

PostPosted: 11. September 2009 16:48
by kradical
Hi guys,

I have a major problem here. I'm running an XAMPP server on a windows vista box. I'm basically using it for file sharing. There 4 clients that connect to it from time to time in my home LAN. 3 of the 4 clients are running windows vista. They can only seem to download at a max of around 250K. The other client is runing Backtrack Linux 4. (which is ubuntu based). It can download up to 1.5M. Why is Linux downloading 6 times faster!??

Re: Download Speed.

PostPosted: 26. December 2009 23:32
by V@no
Same problem running XAMPP on Windows XP Pro SP3.
The download speed even from localhost is about 200-300kb/sec, while file transferring from the HDD where web root is to another HDD via windows explorer is about 30mb/sec

Re: Download Speed.

PostPosted: 28. December 2009 05:04
by soja92
I am having the same problem, it is the apache web server that is somehow the limiting factor, if you are just file sharing try a different web-server and see how it goes.

On my vps i download from ftp at 1.5MB/s but the same file from http i download at 200-300KB/s, and on IIS i download at arouind 1.5MB/s again.

I want to stick with apache!

Re: Download Speed.

PostPosted: 28. December 2009 05:23
by V@no
I found a solution!

In apache/config/http.conf find:
Code: Select all
#EnableSendfile off


Replace it with:
Code: Select all
EnableSendfile off

(don't forget restart apache)

Now on local network I get about 8-10mb/sec transfer and about 30-50mb/sec when use download manager.
Changing it's neighbor line "#EnableMMAP off" doesn't seem to give any effect...

Re: Download Speed.

PostPosted: 03. January 2010 00:47
by Izzy
This enablesendfile solution does not work in all cases:
viewtopic.php?p=154539#p154539

Re: Download Speed.

PostPosted: 03. January 2010 02:02
by V@no
Yes, but this topic is not about general performance, it's mostly about single file transfer. It sure should be more tested on different platforms, but if 6 out 10 platforms benefit from this tweak, then it's no brainer that it should be implemented as default settings...

Re: Download Speed.

PostPosted: 20. May 2010 05:03
by Moses
and the problem is still not solved, i tryed 'EnableSendfile off' at http.conf with no better result than without when downloading via http from my server:

but u can compare it yourself:
http://85.25.138.212/download/temp/

vs ftp:
host: 85.25.138.212
user: mektek
(no password)
(active mode)