Tremulous Forum

General => Troubleshooting => Topic started by: imperiumZero on November 11, 2007, 04:58:17 am

Title: Ingame map download speed problem.
Post by: imperiumZero on November 11, 2007, 04:58:17 am
This is really odd, perhaps someone could explain it to me.

On my linux machine, maps download in game at around 12kb/s, sometimes as high as 23kb/s. When downloading them through wget or a browser I get the standard 200-500kb/s.

First I thought that the problem was there was too much traffic from an active server, so I got my friend to set up his server privately with a medium sized map with no players. No change.

Here's where it gets weirder. Under our family windows machine, which shares the same network, (and under every windows machine I've seen with Tremulous) downloads maps ingame at the higher 200-500kb/s rate.

Is this a known bug? Perhaps an issue with curl? I don't know. All I do know is that it is really annoying to have Windows machines outperforming my Linux machine when it should be the other way around.
Title: Ingame map download speed problem.
Post by: Taiyo.uk on November 11, 2007, 05:43:18 am
Both are using http downloads?
Title: Ingame map download speed problem.
Post by: imperiumZero on November 11, 2007, 06:37:12 am
Linux:
Ingame: 10-20kb/s
HTTP: 200-500kb/s

Windows:
Ingame: 200-500kb/s
HTTP: 200-500+kb/s


It doesn't make sense.

I've even tried making a larger TCP window size by following Gentoo's TCP Tuning Guide, no difference whatsoever.
Title: Ingame map download speed problem.
Post by: Taiyo.uk on November 11, 2007, 07:30:25 am
I mean is the tremulous install on your Linux box configured to use HTTP downloads in-game?
Title: Ingame map download speed problem.
Post by: Caveman on November 11, 2007, 10:15:51 am
Quote from: "imperiumZero"

I've even tried making a larger TCP window size by following Gentoo's TCP Tuning Guide, no difference whatsoever.


Useless as you linux-trem is not set to use http download. The unpatched way is/was to download the maps via UDP, not TCP.
Title: Ingame map download speed problem.
Post by: imperiumZero on November 11, 2007, 06:16:17 pm
Well how do I set it to use HTTP download mode?

I use backported svn 970+ revision compiled myself, is there a patch or is it included in SVN already?
Title: Ingame map download speed problem.
Post by: next_ghost on November 11, 2007, 09:17:12 pm
Code: [Select]
/cl_cURLLib libcurl.so

:roll:
Title: Ingame map download speed problem.
Post by: imperiumZero on November 11, 2007, 09:37:30 pm
It's already set to
Code: [Select]

]\cl_cURLLib
"cl_cURLLib" is:"libcurl.so.3" default:"libcurl.so.3"
Title: Ingame map download speed problem.
Post by: next_ghost on November 11, 2007, 10:03:07 pm
Quote from: "imperiumZero"
It's already set to


the wrong filename :roll:
Title: Ingame map download speed problem.
Post by: imperiumZero on November 11, 2007, 10:05:56 pm
Quote from: "next_ghost"
Quote from: "imperiumZero"
It's already set to


the wrong filename :roll:


wanna know something funny? how can it be the wrong filename when it refers to a shared library THAT EXISTS AND IS BEING USED?
Title: Ingame map download speed problem.
Post by: next_ghost on November 11, 2007, 10:19:05 pm
There're 2 causes of your problem:
1) improper server configuration (ruled out)
2) /usr/lib/libcurl.so.4
so stop arguing and do what you were told to do.