[AOLSERVER] Slow download speed

33 views
Skip to first unread message

aT

unread,
Nov 10, 2011, 2:57:05 AM11/10/11
to AOLS...@listserv.aol.com
Hi , 

Over a single internet connection i tried downloading a zip file from Aolserver and from Nginx.  Aolserver was giving me download speed in my particular case 10-15 KB/s  , whereas same file downloaded from Nginx with more than 800 KB/s .

Both Nginx and Aoslerver (4.5.1) are hosted on the same server , same OS , 

Is there any hidden resource limiting in Aolserver 4.5.1 ?

Thanks in advance for any insight , 


-- 

-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <list...@listserv.aol.com> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

aT

unread,
Nov 10, 2011, 3:55:59 PM11/10/11
to Jeff Rogers, aolserv...@lists.sourceforge.net
Downloads were done one after another,  not in parallel. 

 

On Thu, Nov 10, 2011 at 10:13 PM, Jeff Rogers <dv...@diphi.com> wrote:
Were you doing these two downloads at the same time over the same link?  If so, you're probably just seeing effects of the network, not anything about the server itself.

If OTOH you're doing each download separately on an otherwise idle connection and idle server, that would be very strange.  There shouldn't be anything slowing the download once it has started.

Also, note that the mailing lists have moved to sourceforge; the old listserv address is liable to stop working at any time.

-J



--
Syed Atif Ali
Desk: 971 4 4493131

Jeff Rogers

unread,
Nov 10, 2011, 1:13:22 PM11/10/11
to aolserv...@lists.sourceforge.net, aT
Were you doing these two downloads at the same time over the same link?
If so, you're probably just seeing effects of the network, not
anything about the server itself.

If OTOH you're doing each download separately on an otherwise idle
connection and idle server, that would be very strange. There shouldn't
be anything slowing the download once it has started.

Also, note that the mailing lists have moved to sourceforge; the old
listserv address is liable to stop working at any time.

-J


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
aolserver-talk mailing list
aolserv...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk

John Buckman

unread,
Nov 11, 2011, 4:46:55 AM11/11/11
to aolserv...@lists.sourceforge.net
I recommend using apachebench (ab) to test your download speeds, and definitely use the external ip, *not* localhost for your tests. 

I'm not sure exactly the mechanism, but I can get quite different transfer speeds while testing with localhost vs the external IP, perhaps because localhost communications can, in some cases, be some over a shared memory connection rather than over TCP/IP.

Also, make sure that your ethernet card is locked to a certain speed and not on auto-detect, as that is a common high-speed download problem causer.

FWIW, here are a few things I've found about file download speeds with aolserver:

1) you'll get quite different speeds depending on small vs large files, and with different levels of concurrency. Also, be sure to look for occasional high-latency outlying results, because I think it's really bad to make the occasional person wait 5 seconds for a download to start.

2) aolserver is a totally acceptable performer for providing medium load downloading services.  But...so is apache.  However, with its thread-based server architecture, aolserver isn't so great if you plan on having several thousand concurrent downloads.

3) Long ago, I believe that aolserver had an option for async http serving of files, but I believe this was removed for code maintenance simplicity's sae.

4) I recommend using a dedicated "dumb" http server, such as nginx, lighttpd or mathopd to provide download services.  lighttpd provides a bandwidth throttling feature, which I personally found very useful (mainly for minimizing the impact of rogue, badly written http spiders).  Lighttpd, however, isn't entirely stable, and certainly nginx is the current darling for this use.  Personally, I like mathopd, because it's small, exceedingly stable, and has a very clean code base.

5) 3 years ago, I did a benchmark of "hello world" using various http scripting platforms, and aolserver was stupidly faster than everything (about 40x faster) except when compared to pure java servers, where it was only 2x faster. :D

6) For all that, I find aolserver to be exceedingly good at serving lots of small files.  

-john



John Buckman

unread,
Nov 19, 2011, 7:17:05 AM11/19/11
to aolserv...@lists.sourceforge.net
Is anyone using awstats with aolserver?

Can you share your LogFormat= line from your awstats.conf file?

LogFormat=4 (the default) works, but doesn't support a number of awstats features.

I could RTFM and figure out the exact awstats LogFormat= line, but if someone has already done it...

-john

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d

Reply all
Reply to author
Forward
0 new messages