Opened 8 years ago

Closed 8 years ago

#3929 closed defect (invalid)

Core hopping, locked at 35 MB Memory

Reported by: Heidi Hoe Owned by:
Priority: Must Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

18040-development(April 17, 2016). Map Themosthenes with 3 bot players. OS - Linux Mint 17.3/Ubuntu. Kernel 4.5.2.

During the gameplay, with 150-170 units, there is a slideshow in movement. 1 frame passes every 5 seconds. Looking at top/htop, I can see the game hopping from core to core/thread to thread in round robin usage, never using more than 1 thread. Pegging 1 thread at 80%, but leaving the rest of the 7 threads alone.

This is on an Intel i7 with 12 GB ram and SSD raid 0. The memory usage for the game seems to hold at 35-38 MB's. I'm not sure what is going on, but it's version of multi-threading is hopping in intervals of 3-5 seconds from one thread to another, while not expanding virtual memory usage. It's very bizarre behavior, that you may or may not be aware of. Regardless, it makes some maps unplayable, like the one listed above. The bots were in very hard mode, and likely had many units that i didn't see. It's a very nice game otherwise. Take care.

Attachments (1)

savegame-0011.0adsave (832.1 KB ) - added by Heidi Hoe 8 years ago.

Download all attachments as: .zip

Change History (2)

by Heidi Hoe, 8 years ago

Attachment: savegame-0011.0adsave added

comment:1 by sanderd17, 8 years ago

Keywords: thread & memory allocation removed
Milestone: Alpha 22
Resolution: invalid
Status: newclosed

The game doesn't support multiple cores yet, this is a known issue (and not some platform-specific bug).

Try playing with less bots, and try not to block the bots (they have a hard time figuring out a strategy when they're blocked, which is reflected in higher CPU usage).

Note: See TracTickets for help on using tickets.