SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 16/06/2020, 03:06 AM   #1
SuperSpeed52
Little Clucker
 
SuperSpeed52's Avatar
 
Join Date: Aug 2012
Location: Guatemala
Posts: 5
Reputation: 0
Default EC2 Free tier - PacketLoss

Hello there, I've been facing some issues regarding packet-loss in my server hosted on a humble free tier EC2 instance, with Ubuntu 18 with no GUI, t2.micro size which presumably has a single core Xeon and 1gb ram, and the gigantic amazon network infrastructure.

The context here is that I want to host some samp server's with a well known and tested A/D gamemode for my friends' private matches, its been alright with 3 servers running in different ports.

The only problem I'm facing is that the packet-loss function, shortly after going ingame, starts reading values ranging 0.2 ~ 1.0 for myself, and steadily increasing to 2 or 3% for the players known to lag.

I didn't code the gamemode myself, but in my community it is pretty known that some servers with the same opensource gamemode are pretty stable in that regard, and the packetloss function reads 0.0% for me 95% of the time.

I don't think its bandwidth related, cpu usage is just as low as it can get due to the nature of the gamemode, and ram usage is never above 40%,

Any help is appreciated, thanks!!
SuperSpeed52 is offline   Reply With Quote
Old 16/06/2020, 04:47 PM   #2
perfectboy
Big Clucker
 
perfectboy's Avatar
 
Join Date: Feb 2015
Location: Kernel
Posts: 165
Reputation: 16
Default Re: EC2 Free tier - PacketLoss

Its normal to have a packet loss 1-2% even till 5%. Since the free tier you are using t2.micro is basically for testing not great for having actual live deployments its network performance is not that great. But still, 1-2% packet loss is fine, for what you are expecting from a t2.micro instance . Also, your network stability and geographical location also matter.
__________________
AKA Dusk_Fawn

Discord : DuskFawn#1433
perfectboy is offline   Reply With Quote
Old 20/06/2020, 11:29 PM   #3
SuperSpeed52
Little Clucker
 
SuperSpeed52's Avatar
 
Join Date: Aug 2012
Location: Guatemala
Posts: 5
Reputation: 0
Default Re: EC2 Free tier - PacketLoss

I've just read that small parragraph at the end of the t2 type, at Amazon EC2 Instance Types

Quote:
Use Cases

Websites and web applications, development environments, build servers, code repositories, micro services, test and staging environments, and line of business applications.
It just makes me think that if download and upload speeds are close to 1gbps, that would suggest that network performance is just great for programs with small requirements, like samp.
Given that cpu and ram usage is acceptable, I would expect perfect like performance; no user in my server will have 0.0 packetloss for long though.

I will have to find a better ec2 instance type for live deployments, possibly out of free tier plan if I actually wanted to pursue perfect networking for gaming, but I will just deal with it as it is, my goal was just to be able to play and give people free servers to use while I satisfy my career assignments.

Edit: the most fitting type would be the newest M6g, but it is only available with ARM processors, good for most modern software but not samp.

The other alternative would be M5 type with intel cpus, oh well
SuperSpeed52 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
High Packetloss LeoXu Client Support 14 18/10/2016 05:20 PM
Packetloss Orsini24 Русский/Russian 1 14/07/2015 01:04 PM
Packetloss Leon9741 Scripting Help 2 03/07/2014 02:33 AM
Normal packetloss wups General 1 18/09/2011 01:06 PM
One tier only Tachibana Help Archive 11 29/06/2011 03:23 AM


All times are GMT. The time now is 07:17 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.