APACHE: FILE UPLOAD SLOWER THAN DOWNLOAD about 3,5 times on a fast
connection
The Download of a file from apache web server (1.3.17) is abotut 3,5
times faster than
the uploading on a fast connection.
I work in the following environment:
.LAN 10 mbit/S
.Operating System: Solaris 2.7
.Clients (using Explorer/Netscape) on the same LAN
I've the same behaviour on two computers having the same operative
system (solaris) and different HW.
The uploading has been performed with different and simple CGI written
in perl and c language:
while( <input from apache>)
{
WRITE
}
The CGI isn't the problem because during the upload the total CGI
execution time is very little against the time spent by
apache serve:
if the download time is '100' then apache call the CGI when the 95% of
the time has been spent
(perhaps it call CGI after receving all the uploaded file).
I've got the same result: download (about 90% of bandwidth) much faster
than upload
(transfer of file from client to web server).
I'm sure there no Firewall problems.
I tried to speed up the uploading changing some configuration parameters
in the source apache files
(socket buffer size,.... ecc..) but uploading time hasn't been improved.
Can someone help me?