aboutsummaryrefslogtreecommitdiff
path: root/docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md
diff options
context:
space:
mode:
authorSamLam140330 <lamlam0328@gmail.com>2022-03-01 05:22:38 +0800
committerGitHub <noreply@github.com>2022-02-28 22:22:38 +0100
commit282197ba5e3edbf4297644b4c38de0e021fcccc1 (patch)
tree04fecce02389628a2df62db818c373facef8caa1 /docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md
parent8cfb721429c4753b8df1a2c7f952ef5fd57b0dcb (diff)
downloadNorthstarWiki-282197ba5e3edbf4297644b4c38de0e021fcccc1.tar.gz
NorthstarWiki-282197ba5e3edbf4297644b4c38de0e021fcccc1.zip
Update Hosting a server with Northstar (#56)
* Update README.md Startup Arguments * Update README.md Startup Arguments again * Add Optimization Commands * Update prerequisites.md * Remove net_encryptpackets * Update best-practices.md * Update prerequisites.md * Update firewall paragraph
Diffstat (limited to 'docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md')
-rw-r--r--docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md b/docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md
index 6128d5c..ace2b6d 100644
--- a/docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md
+++ b/docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md
@@ -25,3 +25,13 @@ The current minimum requirements are as follows:
- 15 Mbps network upload, but 10 is workable, 25 if you want to avoid players getting disconnected when going back to the lobby after a match
**Note:** It is recommended to surpass the listed requirements. Currently the number of available servers covers the daily playerbase more than enough. If you're planning to host public servers for the community it is therefore recommended to either fill a niche (like a gamemode that is so popular that all existing servers are full) or provide a better service than existing hosts (less lag, more stable, etc.).
+
+## Optimization Commands (Optional)
+
+| Command | Description |
+| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
+| `net_compresspackets 1` | Enable compress packets |
+| `net_compresspackets_minsize 64` | Decrease usage from ~12-16 mbps to ~6-8 mbps on 20 player PVP server and ~9-12mbps to ~5-7 mbps on 12 player gun game server |
+| `sv_maxrate 127000` | Sets the maximum bandwidth rate allowed (both incoming/outcoming) per second (in bytes) |
+
+**Note:** The effect is dependent on your network, system, etc. Therefore, you should really add the command one by one and test it to see if there is any benefit for your server.