Varying NUMBATTLES of RoborumbleAtHome?

Jump to navigation Jump to search
Revision as of 8 October 2017 at 14:56.
The highlighted comment was edited in this revision. [diff]

Varying NUMBATTLES of RoborumbleAtHome?

Recently, I noticed that more than half of the battles are dropped as queue is full — however, this won't happen even if I wait a few minutes. Seems that all the rumble clients are uploading battles periodically, and that upload is pretty concentrated — e.g. All four clients of mine upload ~200 battles within ~3 minutes, which makes the queue get full immediately. And If I take a look at literumble/statistics, I can see that there are 5 to 7 clients uploading within 2 minutes.

It generally takes a client about 15 min to finish 50 battles, but if we vary this to primes, the uploads will get evenly distributed, reducing the high concurrent which causes a lot of dropped battles.

    Xor (talk)02:38, 8 October 2017

    Reducing NUMBATTLES would probably help here too. It would also reduce the delay which is the main cause of duplicated pairings for new bots being entered. Maybe a NUMBATTLES of 20 in the main rumble would be good enough to solve the client component of this.

    However, I think one of the main causes of the full queue is the batch processing for Vote/NPP/KNNPBI, since the queue needs to paused while this is running. Because it is paused the projected processing time goes very high, and it stops accepting new uploads. I have an idea on how to tune this, it should help a bit.

      Skilgannon (talk)10:50, 8 October 2017

      However, even a NUMBATTLES of 3 can't prevent most of the battles from being dropped ;/

      Seems that with 7 clients running the rumble at the same time, no attempt will help without stopping some clients.

      Btw, one thing that's really interesting is that the duplicates of multiple versions can last hours. Seems that some clients are not checking participants list for hours.

        Xor (talk)15:56, 8 October 2017