Welcome, Guest. Please Login or Register.
Nov 22nd, 2024, 4:45pm

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Timeouts »


   Arimaa Forum
   Arimaa
   Site Discussion
(Moderator: supersamu)
   Timeouts
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Timeouts  (Read 970 times)
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Timeouts
« on: Jan 3rd, 2011, 2:36pm »
Quote Quote Modify Modify

In my last three attempts to play, my bot opponent timed out twice and I timed out once when I was disconnected and couldn't get the board to refresh.  Since I have plenty of experience of better times, I'm not going anywhere, but I can imagine that a similar experience would alienate most newcomers.  Can anything be done to prevent the server from overloading?
IP Logged

DonEsteban
Forum Full Member
***



Arimaa player #6033

   


Gender: male
Posts: 21
Re: Timeouts
« Reply #1 on: Jan 3rd, 2011, 4:52pm »
Quote Quote Modify Modify

I experienced the same. The whole site seems sluggish today. Maybe it's just a temporary problem (I hope)?
IP Logged
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: Timeouts
« Reply #2 on: Jan 3rd, 2011, 6:11pm »
Quote Quote Modify Modify

Opfor2009CC was using 26.6% of the server's memory when your game against it timed out.
 
At this moment a running instance of Clueless2008CC is using 37.9% of server memory:
 
http://arimaa.com/logs/20110104/00/0201
 
With values like these it's not hard for the server to run out of memory and start thrashing and swapping which can easily cause running programs to grind to a halt.
IP Logged
Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Timeouts
« Reply #3 on: Jan 4th, 2011, 1:40pm »
Quote Quote Modify Modify

Having bots server independent on gameroom server could help with this problem ... at least HvH games would not be interrupted by bot's behaviour. But having many players climbing the ladder would overload the bot's server as well.
So further investsments to hardware would be probably required ...
IP Logged

omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Timeouts
« Reply #4 on: Jan 4th, 2011, 6:50pm »
Quote Quote Modify Modify

Yes, more than CPU load the memory consumption seems to be causing the problem. I'll look into adding more memory to the server.
 
The bots will be disabled during the event games, so hopefully they do not cause any problems for the tournament.
IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: Timeouts
« Reply #5 on: Jan 4th, 2011, 7:34pm »
Quote Quote Modify Modify

on Jan 4th, 2011, 6:50pm, omar wrote:
The bots will be disabled during the event games, so hopefully they do not cause any problems for the tournament.

How exactly does disabling work?  I am guessing that you don't interrupt HvB and BvB games that are in progress before the tournament games starts, but if so, then what happens if the server is already sluggish?  If my tournament game had been scheduled yesterday, I would have had trouble even logging in to take a seat and start.
IP Logged

omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Timeouts
« Reply #6 on: Jan 4th, 2011, 11:14pm »
Quote Quote Modify Modify

Yes, games in progress are not disturbed. Here is how it works: 30 minutes before the start of a rated, non-postal, event game and during such a game starting of bots is disabled. Except bots rated less than 1500 are allowed to be started since they don't use much resources and only new players usually play them.
« Last Edit: Jan 4th, 2011, 11:15pm by omar » IP Logged
Fritzlein
Forum Guru
*****



Arimaa player #706

   
Email

Gender: male
Posts: 5928
Re: Timeouts
« Reply #7 on: Jan 4th, 2011, 11:46pm »
Quote Quote Modify Modify

Thanks for providing the exact details!
IP Logged

rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: Timeouts
« Reply #8 on: Jan 5th, 2011, 9:40am »
Quote Quote Modify Modify

I'm taking a guess here that some of these bots which use a lot of memory are using the same configuration that they used when they played the computer championship. At least this would explain why some bots are using a big portion of the server's memory.
 
Since it seems that misconfiguration of bots can lead to excessive memory usage, maybe some bot developers wouldn't mind providing an alternative configuration file for lower CPU and memory usage when they submit their bots for the computer championship, if that is at all possible for the bot in question (i.e. not as an absolute requirement for submitting a bot)
 
In this way, Omar could simply replace the bot's configuration file with this one when setting up the bots for public play after the WCC / Arimaa Challenge games are over.
 
Personally I wouldn't mind doing that, assuming my intution is correct here. Maybe Omar could suggest an approximate value to shoot for in this configuration. Something like 1 CPU and memory consumption at around 100-200 MB for example.
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Timeouts
« Reply #9 on: Jan 5th, 2011, 11:46am »
Quote Quote Modify Modify

GnoBot and clueless are coded to require about 1 GB of RAM. If bots provide a configuration parameter to allow lowering this it would be great. Actually clueless does provide a way to lower the RAM usage, but eventually crashes if I set it to less than 900MB. Also if a bot uses multiple CPUs it would be good to provide a parameter which limits the number of CPUs it uses.
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.