Author Topic: Ingame map download speed problem.  (Read 4970 times)

imperiumZero

  • Posts: 118
  • Turrets: +0/-4
Ingame map download speed problem.
« 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.
lt;kevlarman> because microsoft's drivers are absolutely horrible that couldn't accelerate glxgears if they tried

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Ingame map download speed problem.
« Reply #1 on: November 11, 2007, 05:43:18 am »
Both are using http downloads?

imperiumZero

  • Posts: 118
  • Turrets: +0/-4
Ingame map download speed problem.
« Reply #2 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.
lt;kevlarman> because microsoft's drivers are absolutely horrible that couldn't accelerate glxgears if they tried

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Ingame map download speed problem.
« Reply #3 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?

Caveman

  • Guest
Ingame map download speed problem.
« Reply #4 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.

imperiumZero

  • Posts: 118
  • Turrets: +0/-4
Ingame map download speed problem.
« Reply #5 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?
lt;kevlarman> because microsoft's drivers are absolutely horrible that couldn't accelerate glxgears if they tried

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Ingame map download speed problem.
« Reply #6 on: November 11, 2007, 09:17:12 pm »
Code: [Select]
/cl_cURLLib libcurl.so

:roll:
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

imperiumZero

  • Posts: 118
  • Turrets: +0/-4
Ingame map download speed problem.
« Reply #7 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"
lt;kevlarman> because microsoft's drivers are absolutely horrible that couldn't accelerate glxgears if they tried

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Ingame map download speed problem.
« Reply #8 on: November 11, 2007, 10:03:07 pm »
Quote from: "imperiumZero"
It's already set to


the wrong filename :roll:
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.

imperiumZero

  • Posts: 118
  • Turrets: +0/-4
Ingame map download speed problem.
« Reply #9 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?
lt;kevlarman> because microsoft's drivers are absolutely horrible that couldn't accelerate glxgears if they tried

next_ghost

  • Posts: 892
  • Turrets: +3/-6
Ingame map download speed problem.
« Reply #10 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.
If my answer to your problem doesn't seem helpful, it means I won't help you until you show some effort to fix your problem yourself!
1.2.0 release's been delayed for 5:48:00 already because of stupid questions.