how can i save bandwith

These are old archives. They are kept for historic purposes only.
Post Reply
pete212
Posts: 80
Joined: Mon Jul 12, 2004 1:56 am

how can i save bandwith

Post by pete212 »

well i can say my server is on "low bandwith" compared to alot of others, besides raising the sendq is there any other ways to save bandwith/squeeze more users with low bandwith?

and also, does unreal use upload or download bandwith to run?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

It uses both upload and download, think about it. It has to send messages to clients and recieve messages.

As for saving bandwidth, well, apart from kicking people off, I cant think of any methods. :twisted:
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Uhh, raising the sendq, if anything, increases bandwidth usage, not lowers it. I don't know who told you otherwise, though in most situations, it will have absolutely no effect.

As for how to use less bandwidth, if you have multiple servers, use ziplinks. Other than that, the only way you can really do that is to have less users. The more users you have, the more text sent, the more bandwidth used.
-- codemastr
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Could just tell people to idle :P

lol, I can imagine some REALLY funny conversations based on this:
** You have now joined #mainnetworkchannel
<Owner> Can you all be quiet please?
<person1> Why?
<Owner> BECAUSE YOU ARE COSTING ME BANDWIDTH!
** Owner sets mode +m #mainnetworkchannel
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
pete212
Posts: 80
Joined: Mon Jul 12, 2004 1:56 am

Post by pete212 »

sendq specifies the amount of data which can be in the send queue (very high for servers with low bandwidth, medium for clients)
Doesnt that mean put a very high number for servers with low bandwidth?
pete212
Posts: 80
Joined: Mon Jul 12, 2004 1:56 am

Post by pete212 »

is that right?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

If I'm right, sendq is how much data CAN be sent to clients. So by raising it, you raise the potential data that can be sent to and from them. Therefore raising your b/w requirments. Feel free to correct me, codemastr.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

sendq = send queue
so yes, it can potentially send MORE data.
Thing is: on low bandwidth servers the server might ('will') not be able to send all data at once, so it will use the queue a lot. On fast servers this is less the case since the data can be sent at once.
That's the idea at least.
It's especially relevant for server<->server links since in such a case for a slow link a lot of data (read: several megabytes) might get queued.

Anyway, as you can see this has little to do with "bandwidth saving"... Since if you set it too low and the limit is exceeded the user is disconnected, so it's not exactly user friendly :P. Well.. if all your users quit with 'sendq exceeded' you might have less traffic indeed ;)
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

lmao, I've only ever managed to get that error once... and that was when I was pasting some sourcecode in.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Solutech
Posts: 296
Joined: Thu Mar 18, 2004 11:38 pm

Post by Solutech »

:D lol my kittens have triggered sendq a few times . Why do they feel the need to sleep on keyboards? .
Post Reply