Page 1 of 8 12345 ... LastLast
Results 1 to 10 of 75

Thread: Help me Find a good Server Config for my Specs

  1. #1
    Second Lieutenant GossamerSolid's Avatar
    Join Date
    Feb 3 2006
    Location
    Ontario, Canada
    Posts
    4,007

    Help me Find a good Server Config for my Specs

    Right now we have problems that we didn't seem to have problems on our old server (same specs, but we had different configs back then. Long story short, we no longer have possession of that server so we lost the configs).

    We're looking to get a config that works better for our server (less strain on the CPU mainly). We're definetly getting more server FPS issues than before.

    Server Specs:
    Xeon 4 Cores @ 2.27Ghz
    4GB DDR3
    100mbit Connection

    Here's my current server config:

    PHP Code:
    MinBandwidth=15000000;
    MaxBandwidth=100000000;
    MaxMsgSend=1024;
    MaxSizeGuaranteed=1024;
    MaxSizeNonguaranteed=64;
    MinErrorToSend=0.0024999999;
    MaxCustomFileSize=0

    Can anybody chime in with some improvements we could make to our server config?

    NOTE: These are the values from the Kelly's Heroes A2 server tutorial.

    Missions/Gamemodes - F.U.B.A.R. (WIP)
    Mods/Addons - Green Sea Conflict (WIP)
    Resources - ArmA 3 Notepad++ Syntax Highlighting

  2. #2
    Well...

    Since you have posted the pipe is 100Mbps, why would you use 15Mbps as a minbandwidth? Even guessing for overhead should be between 88 and 92Mbps.

    Bandwidth is typically the issue, you should have little to no problems.

    I've been doing some research on the MaxMsgSend, and the MaxSizeGuaranteed, MaxSizeNonguaranteed. If MaxMsgSend is actually how many packets the server can send, in one simulation cycle, and MaxSizeGuaranteed is the packet. Then MaxMsgSend can be a very high number.

    Example 100Mbps can send 12,207 1,024byte packets.

    Somewhere I read that smaller packets is better for gaming than larger packets, and that larger packets are better for file transferring. But, thats using TCP, UDP is mostly used for gaming, and is connectionless and does not ack. With this, I have been experimenting with:
    MaxMsgSend=2048;
    MaxSizeGuaranteed=128;
    MaxSizeNonguaranteed=64;

    Because my upload speed is 2.2Mbps, which should be capable of 2148 packets at 128byte size. Giving myself a little headroom, there.

    Then I also read somewhere, that TCP treats packets smaller than 64bytes, as a fragmented packet. Which would be bad for gaming, but again we're using UDP here. So, with that in mind, MaxSizeNonguaranteed shouldn't be less than 64bytes.

    Hopefully someone else has more information, because mostly, the config file lets you fine tune network settings, and not really how the cpu runs the server. Pretty much go with the fastest CPU you can get and goo-gob's of ram!

    ...Syn...
    Last edited by VisceralSyn; Jan 15 2011 at 01:27. Reason: typos and other grammatical errors, as usual...

  3. #3
    Second Lieutenant GossamerSolid's Avatar
    Join Date
    Feb 3 2006
    Location
    Ontario, Canada
    Posts
    4,007
    Author of the Thread
    I'll try that MaxMsgSend value you posted.

    But you said that with high bandwidth you should send larger packets, why are you using 128 and 64 for those MaxSizex values?

  4. #4
    Because everywhere else, I'm finding that large packets are for file transferring, and that gaming wants to use smaller packets.

    More Smaller packets, vs Less Larger packets. and thats where I've been playing around.

    I do note, that it seems to be less strain on the cpu with more smaller packets, than with packets larger than 512Bytes. but with the Larger packets, I see the server bandwidth stay closer to my 2Mbps upload. With the smaller packets, it seems to fluctuate alot more on the lesser than 2Mbps upload speed. Hard to judge, other than to keep testing different settings.

    ...Syn...

  5. #5
    Second Lieutenant GossamerSolid's Avatar
    Join Date
    Feb 3 2006
    Location
    Ontario, Canada
    Posts
    4,007
    Author of the Thread
    So then I should set my MaxMsgSend way lower.

    Remember what I said, Bandwidth isn't the issue here. I'm trying to work around the hardware I'm provided with.

  6. #6
    Do some research...

    If you set your MaxMsgSend lower, you will limit the bandwidth the server uses. Find the smallest packet the server will send, then set the MaxMsgSend to use the maximum bandwidth you have.

    Bandwidth shouldn't be an issue, because you have so much. But if you do not determine the optimal usage of said bandwidth, then its wasted.

    With the guideline, that for TCP, 64byte packets are the smallest that it uses, before it determines its a fragmented packet. UDP *should* be able to go smaller, because it doesn't acknowledge.

    I'm currently down to MaxMsgSend=4096; MaxSizeGuaranteed=64, and MaxSizeNonguaranteed=32; 2Mbps upload pipe to work with.

    PacketsPerSecond Tool
    Try that to see what I'm talking about, PPS and MaxMsgSend, should be the same term.

    ...Syn...

  7. #7
    Gunnery Sergeant Wolffy.au's Avatar
    Join Date
    Sep 29 2008
    Location
    Sydney,Australia
    Posts
    545
    Excellent thread guys! About time we got this stuff out in the open!

    A fellow clan told me (and I confirmed) that JIP Lag and CPU stress are increased when you increase MinBandwidth/MaxBandwidth to those values.

    Judging from watching stats while playing games, bandwidth per player ranges between 256kbps and 512kbps. Depending on your average missions, you want to use those numbers to work out the values. Currently I'm using the following:
    Code:
    language="English";
    adapter=-1;
    3D_Performance=1;
    Resolution_Bpp=32;
    Windowed=0;
    MaxMsgSend=2048;
    MaxSizeGuaranteed=1024;
    MaxSizeNonguaranteed=64;
    MinErrorToSend=0.0025;
    MinBandwidth=4096000;
    MaxBandwidth=16384000;

  8. #8
    Second Lieutenant GossamerSolid's Avatar
    Join Date
    Feb 3 2006
    Location
    Ontario, Canada
    Posts
    4,007
    Author of the Thread
    Quote Originally Posted by Wolffy.au View Post
    Excellent thread guys! About time we got this stuff out in the open!

    A fellow clan told me (and I confirmed) that JIP Lag and CPU stress are increased when you increase MinBandwidth/MaxBandwidth to those values.

    Judging from watching stats while playing games, bandwidth per player ranges between 256kbps and 512kbps. Depending on your average missions, you want to use those numbers to work out the values. Currently I'm using the following:
    Code:
    language="English";
    adapter=-1;
    3D_Performance=1;
    Resolution_Bpp=32;
    Windowed=0;
    MaxMsgSend=2048;
    MaxSizeGuaranteed=1024;
    MaxSizeNonguaranteed=64;
    MinErrorToSend=0.0025;
    MinBandwidth=4096000;
    MaxBandwidth=16384000;
    I'll have to give these settings a try.

    I don't really get much time to be fiddling with the bandwidth settings and testing so much.

  9. #9
    Quote Originally Posted by VisceralSyn View Post
    Since you have posted the pipe is 100Mbps, why would you use 15Mbps as a minbandwidth? Even guessing for overhead should be between 88 and 92Mbps.
    ...Syn...
    http://forums.bistudio.com/showpost....&postcount=275
    [KH]Jman
    Kellys Heroes ArmA Clan Leader

    www.kellys-heroes.eu | KH Server Specs | Dedi Server Guide | PersistentDB
    My specs: Intel Core i7 920 D0 Stepping (SLBEJ) 2.66Ghz @ 4.00GHz / Gigabyte EX58-UD5 Intel X58
    Patriot Viper 6GB DDR3 PC3-12800C8 1600MHz / ATI HD 7970 3072 MB GDDR5 / Dell 2405FPW @1920 x1200 / Win7 x64

  10. #10
    I'm not sure what your point is, Jman. If you do not define the bandwidth requirements, then the application does what it wants.

    retarded?

    Altering the MaxMsgSend, and the packet size, I managed to configure the server to use 100Mbps-LAN, and it sent me 12Mbps to just me alone.

    Do what you will of others' information, or do your own research?

    ...Syn...
    Last edited by VisceralSyn; Jan 19 2011 at 14:41. Reason: typos's and other grammatical errors

Page 1 of 8 12345 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •