Slow download speed

Need help? Post your questions here.

Moderator: moderators

Postby sindre_mehus » Wed Jun 03, 2009 7:36 am

Just tested it on my LAN, and I got a download speed of 29 Mbit/s, so no problem here.

Server is:

Subsonic 3.7.beta2, Windows installer version (embedded Jetty)
Windows XP SP 2
3 year old Dell laptop
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby guitargurus » Wed Jun 03, 2009 1:22 pm

Sorry! I hadn't checked back in a while.

I have no problems on a LAN. Very fast. Only over the net do I have issues. I've ran the server here (20MB fiber now), and on a colo in a datacenter (100mb) and I always get 100-200kb.

Thanks :D
guitargurus
 
Posts: 32
Joined: Fri Apr 10, 2009 6:40 pm

Postby guitargurus » Wed Jun 03, 2009 1:23 pm

Also, I think it may be worth noting that I only have FLAC music on the server. This means there is nothing under 25mb or so. I heard there was a default 10mb buffer limit in jetty...... don't know if that has anything to do with it or not.
guitargurus
 
Posts: 32
Joined: Fri Apr 10, 2009 6:40 pm

Postby BrianDelShasta » Thu Jun 04, 2009 6:12 pm

Sindre,
27 Mbps actually doesn't seem all that spectacular for a fast e lan. That's slower than smb. I was only able to get 3-4 MB/s on a GB lan using jetty!

I'm very interested in resolving this issue so I will keep working on it in my spare time. I'll let you know if I figure out anything.
BrianDelShasta
 
Posts: 116
Joined: Tue Jun 03, 2008 4:45 am
Location: USA

Postby guitargurus » Sat Jun 06, 2009 2:25 pm

This problem is driving me nuts! I've tried ubuntu, debian, and centos again. Each in 32bit and 64bit withe subsonic 3.6 and 3.7. I get the same results, consistently.

I have a point to point VPN configured between my home and my colo network at a datacenter. When I access to the server via local IP address (10.0.50.6), I can download files at ~1900KBps. When I access the server via public IP address (not over VPN) I get 170KB. Same server, both connections going over internet. Maybe this is some type of MTU setting??? VPN encapsulation somehow keeps this throttling from happening.

Thanks,
Mike
guitargurus
 
Posts: 32
Joined: Fri Apr 10, 2009 6:40 pm

Postby guitargurus » Sat Jun 06, 2009 2:26 pm

I forgot to mention I've tried standalone, tomcat5.5, and tomcat 6 in each configuration.
guitargurus
 
Posts: 32
Joined: Fri Apr 10, 2009 6:40 pm

Postby BrianDelShasta » Mon Jun 08, 2009 6:24 am

Well, I finally found the webdefault.xml file inside the jar in the C:\program files\subsonic folder. I made some of the suggested changes but it didn't really seem to help (or hinder) anything. Maybe the syntax was incorrect or something.
BrianDelShasta
 
Posts: 116
Joined: Tue Jun 03, 2008 4:45 am
Location: USA

Postby guitargurus » Mon Jun 08, 2009 1:47 pm

Another interesting big of info.... When I downloaded a music file from the subsonic demo server, it was fast (over 800KBps)... Looks like it is standalone running on linux with java-5. I set up a server with the same config this morning and didn't have any luck. Same problems.
guitargurus
 
Posts: 32
Joined: Fri Apr 10, 2009 6:40 pm

Postby BrianDelShasta » Mon Jun 08, 2009 3:09 pm

Guitargurus, I'm not sure our problems are related. I don't have any speed issues when using linux and jetty, only when using windows. Like you said, the demo server is running on ubuntu or something, so it would make sense that it's speed is maximized.

As far as your speed issues go: what is the available upstream bandwidth on your colo'd box? Is it burstable to 100 mbps? Cause if it's not, then yeah, you see reduced speed regardless of what os or java server you use.

I'm also curious what exact type of vpn you're using...
BrianDelShasta
 
Posts: 116
Joined: Tue Jun 03, 2008 4:45 am
Location: USA

Postby guitargurus » Tue Jun 16, 2009 3:15 pm

It's a PTP SSL VPN (cisco). I have full 100mb to the colo rack. No burst. I'm going to try a few more things this week. I've been out of town.

Thanks
guitargurus
 
Posts: 32
Joined: Fri Apr 10, 2009 6:40 pm

Postby SpritHansi » Mon Jul 27, 2009 9:50 am

Any news about this problem?
Regards
SpritHansi
User avatar
SpritHansi
 
Posts: 37
Joined: Wed Jul 30, 2008 7:44 am
Location: Norway

Postby retsok » Tue Sep 21, 2010 8:21 am

I am having the same issue.
My configuration is on a Windows Home Server = Windows 2003 Server.
My maximum is download speed is between 100 and 300 KB/s while I am having a 10 Mbit/s upload speed.
I have tried from several client machines within the LAN and from the outside with the same results.
Also tried directly to connect with <IP address>:4040 to the server with the same result.
Tried to use different port like 8080 with no luck.
When I am opening the website on the Windows 2003 Server it is having the right speed (when using the <url>:4040) as it should be.
Tried to disable firewalls and virusscanners and without any luck.

It looks like, as mentioned before, that this is related to jetty, see http://docs.codehaus.org/display/JETTY/Slow+Win2003.
Checked with jar editor the file : subsonic-booter-jar-with-dependencies.jar and only found the webdefault.xml and made the modification, but without any luck.
What would be helpfull to assist us with finding the SelectChannelConnector to change the responseBufferSize as mentioned in the weblink. This could be the solution for this problem.

Is any body able to add this line and attach a modified jar file to this forum, to see if this is solving our problem? I am not a java/jetty expert.

Thanks in advance!!
retsok
 
Posts: 3
Joined: Tue Sep 21, 2010 4:00 am

Postby mfalzon » Mon Oct 04, 2010 5:12 pm

any update on this? this is Driving me CRAZY
mfalzon
 
Posts: 15
Joined: Mon Oct 04, 2010 5:12 pm

Postby kroken » Sat Oct 16, 2010 8:53 pm

I need this also. comon!
kroken
 
Posts: 81
Joined: Sat Oct 16, 2010 6:28 am

RE:

Postby guytch » Thu Nov 04, 2010 11:28 pm

Hey there,
I had the same problem. I just fixed it like a minute ago. It seems like port forwarding for port #80 was causing my internet to be incredibly slow. I do not know the reason for this but I fixed it this way. Reset your router, manually port forward to port #80. Then, this is key, you may have the option to select the traffic type for the port forwarding as TCP, UDP or Any. When I selected Any, I got the slow internet speed, when I selected TCP, I got the full bandwitdth back.

I hope this helps.
guytch
 
Posts: 1
Joined: Thu Nov 04, 2010 11:23 pm

PreviousNext

Return to Help

Who is online

Users browsing this forum: No registered users and 9 guests