An interesting conversation just popped up on the bf1942 linux server port
list, as Im sure some of you that Ive seen on it already know, but I thought
it would be relevant to hlds, and was curios whether this is implemented, or
has even been considered for the linux hlds server?

BTW, to make this easy for Ryan, I looked up the syntax by looking for the
relevant piece of code in the telnet SRPM. Here's the needed piece, from
command.c:

/* net is the socket handle */
int tos = IPTOS_LOWDELAY;   /* Low Delay bit */
if ((setsockopt(net, IPPROTO_IP, IP_TOS,
                (void *)&tos, sizeof(int)) < 0)
    && (errno != ENOPROTOOPT))
    perror("telnet: setsockopt (IP_TOS) (ignored)");

and this is also interesting...

> Hi, can you explain how to do that using IPTABLES?

Here's the command I'm using for my Tribes 2 servers. A similar command
specifying your BF1942 port should work as well.

iptables -A OUTPUT -t mangle -p udp --source-port 28000:28099
-j TOS --set-tos Minimize-Delay

(That should all be on one line.)

This affects all UDP packets leaving from ports 28000-28099.

and someone also threw out this url
http://lartc.org/wondershaper/

what do you guys think?  anyone know if this is actually coded into the
linux server? would that be good? bad?

: P
kev

->-----Original Message-----
->From: [EMAIL PROTECTED]
->[mailto:[EMAIL PROTECTED]]On Behalf Of Jon Dingman
->Sent: Thursday, February 20, 2003 1:23 AM
->To: [EMAIL PROTECTED]
->Subject: [hlds_linux] CD cpu Performance
->
->
->I play on a server that just recently started running cheating death,
->and ive noticed my ping rise 10-15, I was wondering what is your opinion
->on this and if cheating death really takes that much more cpu power to
->run then it would not to.  Obviously it takes more then to run nothing,
->but how much more on average.
->
->--jFi-DiGi[v]--
->
->
->_______________________________________________
->To unsubscribe, edit your list preferences, or view the list
->archives, please visit:
->http://list.valvesoftware.com/mailman/listinfo/hlds_linux

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to