Xtreme Gaming Network

Simulation Racing Leagues => Assetto Corsa => Topic started by: marty on October 18, 2014, 12:32:24 PM

Title: Amazon t2 small vs t1 micro performance
Post by: marty on October 18, 2014, 12:32:24 PM
I just upgraded my server from t1 micro to t2 small, I think the issue with people not being able to join was the t1 micro was on its limits.

I had it up last nite with up to 24 people online, had 20 hz to start with and it shit itself with abut 17 people on. I dropped it to 10hz and was ok in a race but people couldnt join.

I tried upgrading to the next level up to see how much it changes it and quite surprised at the difference. I could likely run a couple 24 grid servers on it now once I figure out how to do that.

Before with more then a few people on CPU utilization was at 100% and I just did a 7 lap race with 22 people and cpu usage was only maxing at 25%.

Here is a graph of Server CPU usage over last 24 hrs, would have been a bit quiter over nite but earlier had full grids and pretty much 100% usage all the time.

(http://www.mediafire.com/convkey/b7a6/fkxl7k2kkmbaa5k6g.jpg) (http://www.mediafire.com/view/?fkxl7k2kkmbaa5k)

Here is the Bandwidth in and out just recent with server update and 22 cars at 15hz.

(http://www.mediafire.com/convkey/c5de/ad97pbauwu2wxij6g.jpg) (http://www.mediafire.com/view/?ad97pbauwu2wxij)

(http://www.mediafire.com/convkey/eb7a/w3cw83atwbr69qz4g.jpg) (http://www.mediafire.com/view/w3cw83atwbr69qz/bandwidth%20useage%20out.JPG)

I think a t2 small should comfortably be able to run an ac server with full grids and no issues, I will try more servers later tonight to see how that goes. Be out for a bit but if anyone knows how I could run more then one server that would be quite handy info I wont need to search for elsewhere.
Title: Re: Amazon t2 small vs t1 micro performance
Post by: marty on October 18, 2014, 12:34:28 PM
Edit just tried to jump on the server and got the no slots available thing so it hasnt solved that but should run much better without maxing out cpu like it did before.
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Wally on October 18, 2014, 12:38:40 PM
I'm using a C3.large for Tuesday nights. Cool graphs. I might try that too next Tuesday for comparison.
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Guybrush Threepwood on October 18, 2014, 12:56:34 PM
You'd think if it was the game saying the slots are full that it would be a game issue rather than a server resource issue?
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Bird on October 18, 2014, 01:04:29 PM
Yeah it's probably a code issue.

Btw; check some disk I/O stats, too.   There are 3 metrics, and all are important ( actually 4 with the network I/O ).
CPU / Memory / IO   Any one falls short, and you'll start having problems. :)

Cpu can go over 100% for a while if it's a burstable instance (the new t2 is burstable, the older t1 isn't/wasn't).
burstale instances gather cpu "credits" when they're idling, and using it up when they need to burst over 100%.  Pretty good system.
Title: Re: Amazon t2 small vs t1 micro performance
Post by: marty on October 18, 2014, 01:20:03 PM
You'd think if it was the game saying the slots are full that it would be a game issue rather than a server resource issue?

Seems to be a game issue and devs have stated they are working on it. Its only effecting pickup servers and im pretty sure its got to do with the poor timing ingame. How can the server know how many slots are left when even ingame it barely knows who is in and who isnt.

Surely every person in the server should be visible in the games timing window but I have found this to be close to useless most of the time in this build.

No way flags etc can work when the game is having such basic accounting issues.

The upgraded server should let me run 2 or 3 off this which I will try tonight. From what I saw of IO and disk performance there is barepy anything going on there as all its running is the ac server and there isnt much to that it seems.

I did find all you need for running multiple servers is use some commands with the acserve.exe -e and -c noting entry list and cfg location. Use different ports for each server and it should be good to go.
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Guybrush Threepwood on October 18, 2014, 01:42:38 PM
Bird, your karma...
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Bird on October 18, 2014, 01:45:34 PM
Bird, your karma...
Thanks.   I wonder who's messing with it...
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Bacchulum on October 18, 2014, 01:49:34 PM
Sorry, every time you mention it I have to f@#k with it. ;D
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Gratulin on October 18, 2014, 02:15:04 PM
Isn't your karma a natural outcome of your attitude on the forum Bird? :))
Title: Re: Amazon t2 small vs t1 micro performance
Post by: marty on October 18, 2014, 05:02:22 PM
Sorry, every time you mention it I have to f@#k with it. ;D

I get the same impulses but luckily bird has an army of haters that keep him as the antichrist.  ;D
Title: Re: Amazon t2 small vs t1 micro performance
Post by: marty on October 18, 2014, 05:09:30 PM
Here are the stats for the last 6 hrs on the t2 small instance, there is no disk utilization at all really I guess its all done in memory. The only time it needs to write or read from disk is starting or stopping a server and that is bugger all anyway.

(http://www.mediafire.com/convkey/3c2f/57w1ffam0gvxvw87g.jpg) (http://www.mediafire.com/view/?57w1ffam0gvxvw8)

I will shut it down soon and try to run 3 servers off it and see how it goes.
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Guybrush Threepwood on October 18, 2014, 05:25:23 PM
Was trying to get into your server on and off over the last hour Marty and keep getting that stupid message.  Perhaps you could could just ban everyone?
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Bacchulum on October 18, 2014, 06:16:24 PM
I had a bit of a run this 'arvo on your server, then it disappeard :-\
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Bird on October 18, 2014, 06:53:05 PM
Here are the stats for the last 6 hrs on the t2 small instance, there is no disk utilization at all really I guess its all done in memory. The only time it needs to write or read from disk is starting or stopping a server and that is bugger all anyway.

(http://www.mediafire.com/convkey/3c2f/57w1ffam0gvxvw87g.jpg) (http://www.mediafire.com/view/?57w1ffam0gvxvw8)

I will shut it down soon and try to run 3 servers off it and see how it goes.

There's no memory graph.  I think you can add one somehow - it maybe important, especially if you run multiple servers...
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Gratulin on October 18, 2014, 06:55:23 PM
Sorry, every time you mention it I have to f@#k with it. ;D
OK. Now I understand. We have to applaud every post Bird makes?
Title: Re: Amazon t2 small vs t1 micro performance
Post by: marty on October 19, 2014, 12:49:32 AM
Here are the stats for the last 6 hrs on the t2 small instance, there is no disk utilization at all really I guess its all done in memory. The only time it needs to write or read from disk is starting or stopping a server and that is bugger all anyway.

(http://www.mediafire.com/convkey/3c2f/57w1ffam0gvxvw87g.jpg) (http://www.mediafire.com/view/?57w1ffam0gvxvw8)

I will shut it down soon and try to run 3 servers off it and see how it goes.

There's no memory graph.  I think you can add one somehow - it maybe important, especially if you run multiple servers...

Surprised it doesn't have a memory graph but I did run 5 servers with a couple full ones and some on the others at times with no issues. Maybe for mem data you need to enable detailed monitoring which costs more and if it runs fine I dont see the point in spending more to do that.

Whenever someone suggested another car I just opened another server quite simple as all you need is to run start "C:\AC Server" acserver.exe -c=cfg/server_cfg1.ini -e=cfg/entry_list1.ini

with -c= name and location of config with e being the entry list. Each server just needs its own ports and then its good to go. I have just kept these all in the same config folder naming them with a number for server number but you could just as easily simply make a seperate cfg folder for each keeping the default naming structure.

(http://www.mediafire.com/convkey/9d2a/84yxcfx1jmn393v7g.jpg) (http://www.mediafire.com/view/?84yxcfx1jmn393v)

ATM I am limited to 5 as I only openend enough ports for 5 servers but could likely run more especially as they wont all be filling up that often.
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Bird on October 19, 2014, 08:07:43 AM
Interesting - I haven't noticed the lack of the memory usage graph !  (And I've a server with detailed monitoring running - pretty ugly oversight)
And what's worse, there seems to be no easy way to get there; only with cloudwatch somehow (I haven't read the details)
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring_ec2.html
http://arr.gr/blog/2013/08/monitoring-ec2-instance-memory-usage-with-cloudwatch/
Title: Re: Amazon t2 small vs t1 micro performance
Post by: marty on October 19, 2014, 10:04:36 AM
I just spammed the lobby with 8 servers  ;D

Doubt they will all fill up but wonder if it will chit itself or keep on going.
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Bruce on October 19, 2014, 01:54:01 PM
Marty Are you running Ubuntu or windows?
Title: Re: Amazon t2 small vs t1 micro performance
Post by: insomniac on October 19, 2014, 03:56:39 PM
Winblows for sure, AC is optimized for it.
Title: Re: Amazon t2 small vs t1 micro performance
Post by: marty on October 19, 2014, 07:23:07 PM
Winblows for sure, AC is optimized for it.

Yea it is windowz, did manage to make the servers all die with 9 on but thats after I shut them all down and restarted likely having lots of guys stuck in Kunos space.

I did try a single server at 20 hz and it dies but also didnt do a full restart and had guys stuck in it before that happened.
Title: Re: Amazon t2 small vs t1 micro performance
Post by: Wally on October 22, 2014, 12:37:51 AM
For comparison, here is the c3.large instance on a Tuesday night:

(http://i1329.photobucket.com/albums/w549/WallyMasterson/ACServerStats_zps9da36a3e.png)

Network traffic is fairly similar as you'd expect, but the CPU doesn't crack 25%.
SimplePortal 2.3.5 © 2008-2012, SimplePortal