Testing a New Xmage Server
by BetaSteward
Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins
Testing a New Xmage Server
by TheButton » 17 Sep 2014, 20:36
I mentioned to Bandit a few days ago that I'd get an Xmage server up and running and I now have, but before I let it loose on the community, I was wondering if I could get an idea of CPU/memory/bandwidth requirements, as well as typical values for max game threads and saveGameActivated.
- TheButton
- Posts: 5
- Joined: 17 Sep 2014, 20:32
- Has thanked: 0 time
- Been thanked: 0 time
Re: Testing a New Xmage Server
by LevelX » 18 Sep 2014, 06:00
CPU = low - shouldn't be a problem
memory = Is going up over time. So I recommend to restart server once a day as long as XMage server is as unstable it is now. Public server has 1 GB memory.
bandwidth = Don't know exactly, the data volumen seems to be no problem. Maybe other parameters (backlog) but I'm no expert for this.
max game threads = Number of games that can run at the same time / you can set this at least to 30 or so without a problem for the cpu load (but you should remove AI players in config.xml).
saveGameActivated = you have to deactivate this. Does not work correct yet. I started to reactivate/reimplement this old feature but it's not finished yet.
Here the config file of the public server:
memory = Is going up over time. So I recommend to restart server once a day as long as XMage server is as unstable it is now. Public server has 1 GB memory.
bandwidth = Don't know exactly, the data volumen seems to be no problem. Maybe other parameters (backlog) but I'm no expert for this.
max game threads = Number of games that can run at the same time / you can set this at least to 30 or so without a problem for the cpu load (but you should remove AI players in config.xml).
saveGameActivated = you have to deactivate this. Does not work correct yet. I started to reactivate/reimplement this old feature but it's not finished yet.
Here the config file of the public server:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Config.xsd">
<server serverAddress="176.31.186.181" serverName="mage-server"
port="17171"
maxGameThreads="40"
maxSecondsIdle="600"
minUserNameLength="3"
maxUserNameLength="14"
userNamePattern="[^a-z0-9_]"
maxAiOpponents="2"
saveGameActivated="false"/>
<playerTypes>
<playerType name="Human" jar="mage-player-human-1.3.0.jar" className="mage.player.human.HumanPlayer"/>
<playerType name="Computer - draftbot" jar="mage-player-ai-draftbot-1.3.0.jar" className="mage.player.ai.ComputerDraftPlayer"/>
</playerTypes>
<gameTypes>
<gameType name="Two Player Duel" jar="mage-game-twoplayerduel-1.3.0.jar" className="mage.game.TwoPlayerMatch" typeName="mage.game.TwoPlayerDuelType"/>
<gameType name="Free For All" jar="mage-game-freeforall-1.3.0.jar" className="mage.game.FreeForAllMatch" typeName="mage.game.FreeForAllType"/>
<!-- -->
<gameType name="Commander Two Player Duel" jar="mage-game-commanderduel-1.3.0.jar" className="mage.game.CommanderDuelMatch" typeName="mage.game.CommanderDuelType"/>
<gameType name="Commander Free For All" jar="mage-game-commanderfreeforall-1.3.0.jar" className="mage.game.CommanderFreeForAllMatch" typeName="mage.game.CommanderFreeForAllType"/>
<!-- -->
</gameTypes>
<tournamentTypes>
<tournamentType name="Booster Draft Elimination" jar="mage-tournament-boosterdraft-1.3.0.jar" className="mage.tournament.BoosterDraftEliminationTournament" typeName="mage.tournament.BoosterDraftEliminationTournamentType"/>
<tournamentType name="Booster Draft Elimination (Cube)" jar="mage-tournament-boosterdraft-1.3.0.jar" className="mage.tournament.BoosterDraftEliminationTournament" typeName="mage.tournament.BoosterDraftEliminationCubeTournamentType"/>
<tournamentType name="Booster Draft Swiss" jar="mage-tournament-boosterdraft-1.3.0.jar" className="mage.tournament.BoosterDraftSwissTournament" typeName="mage.tournament.BoosterDraftSwissTournamentType"/>
<tournamentType name="Booster Draft Swiss (Cube)" jar="mage-tournament-boosterdraft-1.3.0.jar" className="mage.tournament.BoosterDraftSwissTournament" typeName="mage.tournament.BoosterDraftSwissCubeTournamentType"/>
<tournamentType name="Sealed Elimination" jar="mage-tournament-sealed-1.3.0.jar" className="mage.tournament.SealedEliminationTournament" typeName="mage.tournament.SealedEliminationTournamentType"/>
<tournamentType name="Sealed Elimination (Cube)" jar="mage-tournament-sealed-1.3.0.jar" className="mage.tournament.SealedEliminationTournament" typeName="mage.tournament.SealedEliminationCubeTournamentType"/>
<tournamentType name="Sealed Swiss" jar="mage-tournament-sealed-1.3.0.jar" className="mage.tournament.SealedSwissTournament" typeName="mage.tournament.SealedSwissTournamentType"/>
<tournamentType name="Sealed Swiss (Cube)" jar="mage-tournament-sealed-1.3.0.jar" className="mage.tournament.SealedSwissTournament" typeName="mage.tournament.SealedSwissCubeTournamentType"/>
</tournamentTypes>
<draftCubes>
<draftCube name="MTGO Holiday Cube 2013" jar="mage-tournament-booster-draft-1.3.0.jar" className="mage.tournament.cubes.HolidayCube2013"/>
<draftCube name="MTGO Cube March 2014" jar="mage-tournament-booster-draft-1.3.0.jar" className="mage.tournament.cubes.MTGOMarchCube2014"/>
<draftCube name="Cube Tutor 360 Pauper" jar="mage-tournament-booster-draft-1.3.0.jar" className="mage.tournament.cubes.CubeTutor360Pauper"/>
<draftCube name="Cube Tutor 720" jar="mage-tournament-booster-draft-1.3.0.jar" className="mage.tournament.cubes.CubeTutor720"/>
<draftCube name="Mono Blue Cube" jar="mage-tournament-booster-draft-1.3.0.jar" className="mage.tournament.cubes.MonoBlueCube"/>
</draftCubes>
<deckTypes>
<deckType name="Constructed - Standard" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.Standard"/>
<deckType name="Constructed - Extended" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.Extended"/>
<deckType name="Constructed - Modern" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.Modern"/>
<deckType name="Constructed - Vintage" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.Vintage"/>
<deckType name="Constructed - Legacy" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.Legacy"/>
<deckType name="Constructed - Pauper" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.Pauper"/>
<deckType name="Block Constructed - Innistrad" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.InnistradBlock"/>
<deckType name="Block Constructed - Kamigawa" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.KamigawaBlock"/>
<deckType name="Block Constructed - Return to Ravnica" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.ReturnToRavnicaBlock"/>
<deckType name="Block Constructed - Scars of Mirrodin" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.ScarsOfMirrodinBlock"/>
<deckType name="Block Constructed - Shadowmoore" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.ShadowmooreBlock"/>
<deckType name="Block Constructed - Shards of Alara" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.ShardsOfAlaraBlock"/>
<deckType name="Block Constructed - Theros" jar="mage-deck-constructed.jar" className="mage.deck.TherosBlock"/>
<deckType name="Block Constructed - Zendikar" jar="mage-deck-constructed-1.3.0.jar" className="mage.deck.ZendikarBlock"/>
<deckType name="Variant Magic - Commander" jar="mage-deck-constructed.jar" className="mage.deck.Commander"/>
<deckType name="Limited" jar="mage-deck-limited-1.3.0.jar" className="mage.deck.Limited"/>
</deckTypes>
</config>
-
LevelX - DEVELOPER
- Posts: 1677
- Joined: 08 Dec 2011, 15:08
- Has thanked: 174 times
- Been thanked: 374 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 165 guests