View unanswered posts | View active topics It is currently Fri Nov 22, 2019 9:47 pm



Reply to topic  [ 11 posts ] 
 A Technical or 2... 
Author Message
Chief Warrant Officer

Joined: Sat Jun 05, 2010 2:05 pm
Posts: 152
Location: Indiana (blah)
Unread post A Technical or 2...
Hopefully someone knows of an easy answer to these:

1. I have an old Compaq server here at home that is perfectly fine for running TWGS. The question is how much of a load would this add to my internet connection? My wife, daughter and I all share a single cable modem via a router. Would any of us notice any additional lag if I add the server to it, assuming anybody else showed up on my server to play?

2. I have also been looking into VPS, but they all have "data transfer" limits on the different "levels" of service. How many G's per month would someone running a small server need? What about a maxed out server?

Thanks for any help...

_________________
The lord helps those who help themselves...
For everyone else, there's democrats...


Thu Jul 21, 2011 2:30 am
Profile
Ambassador
User avatar

Joined: Wed Apr 20, 2011 1:19 pm
Posts: 2255
Location: Oklahoma City, OK 73170 US
Unread post Re: A Technical or 2...
TWGS uses your upstream, which is much smaller than your download speed. I have Cox business internet, with a static IP address and I get 20M down and about 6M up. Typical Cable is 3M down and .5M up. and typical DSL is 1M down and .25M up, and Kansas City, KS will soon have 1G fiber available to their homes (bastards).

The most usage I have seen on my server is 4-6 users, and when they are all scripting, with all TWGS delay settings turned off, TWGS is registering 6-8K (.008M) outbound. This is so small that I can barely even see it on the task manager/network tab. If that holds true for larger sites, you should never see more than .1M outbound usage, and inbound usage should be negligible.

So you are unlikely to notice any load at all on your TWGS server, but your TWGS players might be impacted by your activity. Normal browsing and downloading shouldn't use very much of your upstream that your TWGS users need, but Peer to Peer (P2P) downloading will bring your TWGS players to their knees. P2P is used with Bit torrent, and other file sharing programs, and it uses your upstream because the files you are downloading are uploaded to other users that are downloading the same file. My son likes to use these programs, so he is getting his own separate internet connection Tuesday :) yeah.

_________________
Regards,
Micro

Website: http://www.microblaster.net
TWGS2.20b/TW3.34: telnet://twgs.microblaster.net:2002
TeamSpeak3: ts.microblaster.net:9987

Do not try and bend the spoon. That’s impossible.
Instead… only try to realize there is no spoon.


Thu Jul 21, 2011 6:44 am
Profile ICQ YIM WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: A Technical or 2...
You will not notice any lag on the net from the server. But, the server is very sensitive to bandwidth problems so if you use the cable modem for other large transfers then the server will lag.

Monthly transfer usage varies, but a 50gb cap is usually plenty. A maxed out server would probably not exceed 100gb/month.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Thu Jul 21, 2011 9:37 am
Profile ICQ WWW
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: A Technical or 2...
Some benchmarks, on a local connection at maximum speed, with full ANSI output on, a single player can push a maximum of 1 mbps. This is the maximum configurable throughput (you can set this in TEDIT, Emulation Editor, Output Bandwidth). Different activities have different rates of output, but just sending a long burst of ? commands to display the main menu will push the 1 mbps limit. So in calculating a maximum data rate for your users, figure 1 mbps max. Of course, in practice you will find data rates much lower. A typical script-driven game on the beta server sees 4-5K bps per actively scripting player. I've never seen the beta server over about 50K bps for a sustained time.

It's unlikely to happen, but if you find that the server is pushing too much data, use the TEDIT Emulation Editor to select a lesser bandwidth. You can select a bandwidth setting by dividing your target bandwidth by the maximum number of players you intend to support.

Basically, you should just run the server with default settings and you probably won't have any problems. But if you do, there are ways to configure TWGS so that it doesn't overtax your network or your CPU.

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Thu Jul 21, 2011 11:03 am
Profile WWW
Chief Warrant Officer

Joined: Sat Jun 05, 2010 2:05 pm
Posts: 152
Location: Indiana (blah)
Unread post Re: A Technical or 2...
Thanks for the info Gents. Since it is supposed to be still in the upper 90's here this weekend, I may try getting everything set up, starting with moving the server into a different room in my basement. It's a little loud in here with it running.

_________________
The lord helps those who help themselves...
For everyone else, there's democrats...


Thu Jul 21, 2011 12:46 pm
Profile
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: A Technical or 2...
Oh, I should note that the value reported by TWGS for transmission rate is BYTES per second. So if you see 100K reported by TWGS, that's equivalent to a 1 meg bits per second data rate set in TEDIT. That's because TW uses 10 bits/byte, the modem transmission standard, in setting its rates. I need to change that so it's only using 10 bits/byte for modem emulation modes and 8 bits/byte for all other modes, as the instructions state...

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Thu Jul 21, 2011 1:26 pm
Profile WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: A Technical or 2...
Most VPSes don't charge by transfer rate, but rather total transmission per month. Mine offers like 150tb of transfer a month as part of my base package. That's large enough that TWGS will never touch it. TW is pretty low bandwidth.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Thu Jul 21, 2011 2:26 pm
Profile ICQ WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: A Technical or 2...
John Pritchett wrote:
Oh, I should note that the value reported by TWGS for transmission rate is BYTES per second. So if you see 100K reported by TWGS, that's equivalent to a 1 meg bits per second data rate set in TEDIT.


Speaking of, can we get a higher setting than 1mbps as an option? There are a lot of pipes that are bigger, and in some places it still feels a little slow. 5mbps and 10mbps+ options would be useful.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Thu Jul 21, 2011 7:25 pm
Profile ICQ WWW
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: A Technical or 2...
100K bytes per second, that's like 25 main menu screens per second. Feels too slow? I certainly don't have that kind of visual acuity. Beyond 10 screens per second it's all a blur to me ;)

I guarantee you the speed of the game is dictated more by the pacing delays than it is by the 1 mbps bandwidth cap. The whole point of all of this was to establish a fast but finite and consistent speed so the game doesn't continue to get faster with evolving hardware and network.

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Fri Jul 22, 2011 12:10 am
Profile WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: A Technical or 2...
So is that 1 meg per player then, or 1 meg total for the server?

I thought that was pacing for the server. So if you have a few dozen players running tsst, they're going to be running into that cap. 4 or 5 active unlim games... yeh, that's very do-able.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Fri Jul 22, 2011 1:10 am
Profile ICQ WWW
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: A Technical or 2...
Yeah, that's per player. No limit per-server.

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Fri Jul 22, 2011 10:11 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.