Slow AI turns

Civ4 was only using 1 CPU (i have dual-core). Is there anyway to get the game to use both? I'm sure that would speed things up a lot.

No, Civ4 is only a single core game. The best thing to do is to push all applications to one core, and give civ the other one by itself.
 
Switch Civ to use Core 2 so the other apps will run on Core 1
 
How do you do that?

You can manually assign programs to a core by using the Task Manager (Control-Alt-Delete). In the application tab, select the program you want to chance the core to, and right click and select "Go To Process". That should bring you to the corresponding process in the processes tab. Right click on the process and select "Set Affinity". You can disable it from one or the other cores (Don't disable it from both, or it will lock up!)
 
I'm not sure this is exactly on-topic but I put RoM+AnD on 500 turn auto play (windowed mode) and watched Win7 resource monitor.

Civ4 was only using 1 CPU (i have dual-core). Is there anyway to get the game to use both? I'm sure that would speed things up a lot.

Civ4 does use one cpu and max 2 cores only. CPU load up to 55%, Ram less than 1.7GB + video. If oyu have an Intel CPU with boost tech, it runs nearby always in boost mode because idle cores. (if minimum 2 cores are idle, CPU goes to boost mode). It reads mass of HDD always, so it would be more effective to get CIV4 using more file cache (if Ram available), as using more CPUs give little as then the boost mode gets off and it still needs lot of time for reading from HDD always.

But it still crashes somewhere above turn 720 (application crash dll), in AnD with any constellation, in MoD it crashes only if Revolution is on.
 
You can manually assign programs to a core by using the Task Manager (Control-Alt-Delete). In the application tab, select the program you want to chance the core to, and right click and select "Go To Process". That should bring you to the corresponding process in the processes tab. Right click on the process and select "Set Affinity". You can disable it from one or the other cores (Don't disable it from both, or it will lock up!)

this gives nothing

it is already set to use all CPUs, but it does use one CPU and 2 cores nevertheless only.
You cannot force to run a program to use more CPUs if it is not designed to do such.

and assign it to one special CPU and all other the the other CPUs also gives nothing, as Windows regulary takes the next free core (if there is one), so other are running on other cores anyways. Also this would stop the automatically boost of the active CPU/cores. (if your CPU has Intel boost tech)
 
I'm not sure what you mean...
The amount of time your turn takes depends on how long you take. ...
no, when you click ready it's game sole playeing the other factions.

Here I see no better speed than before. It depneds mostly how much units around, and if they have activities. Also, if you have enales "show enemy moves fast or not.

If I let the game do an autorun, it needs ~ 1 hr for 100 turns at beginning, after Great War, when all the barbarians come out, then it slows down to 60 turns/hr with set show all moves fast.

Its a problem of too much units around. I let the game autorun 500 turns and had one ONE field (!!!!!) more than 200 units, "parking", as no real need for so much troops.
In one turn it did create more than 800 barbarians.

This is a construction failure of the game or of the mod: the AI does not understand when it has enogh solders or enough settlers or enough worker, and instead to collect money and invest it into speed up of buildings, it produces units endless.

Other bugs I found in 2.x I post here http://forums.civfanatics.com/showthread.php?p=11393095#post11393095

(3GHz 4 CPUs, 8GB Ram, 4GB Video)
 
You can manually assign programs to a core by using the Task Manager (Control-Alt-Delete). In the application tab, select the program you want to chance the core to, and right click and select "Go To Process". That should bring you to the corresponding process in the processes tab. Right click on the process and select "Set Affinity". You can disable it from one or the other cores (Don't disable it from both, or it will lock up!)

This is quite useless since I have 2x4 CPU's...
 
This is quite useless since I have 2x4 CPU's...

worthless anyways, as Civ4/BtS does use up to 2 core and one CPU only. The other core/CPUs are idle if no system or other background processing.

If you have CPUs with boost technology, you then will see that the booster is working as soon as minimum 2 cores are idle.

No, Civ4 is only a single core game. ... .
no, it is a single-CPU-game, but not a single-core-game. In Win7 it does use the next free core of same CPU for a new thread, but does not split threads like Win7/64 tech. Up to two threads can be open at same time. As it cannot differ between cores of same cpu, it does use all 4 cores if it is a 4-core-CPU, but never more than 2 cores at same time (two open threads), and if there are more CPUs they are idle.
 
no, it is a single-CPU-game, but not a single-core-game. In Win7 it does use the next free core of same CPU for a new thread, but does not split threads like Win7/64 tech. Up to two threads can be open at same time. As it cannot differ between cores of same cpu, it does use all 4 cores if it is a 4-core-CPU, but never more than 2 cores at same time (two open threads), and if there are more CPUs they are idle.
While Civ4 does use more than one core for some purposes, the entire game logic and AI is single threaded. And turn times are because of AI calculations so having one fast core is important to keep turn times low.
 
While Civ4 does use more than one core for some purposes, the entire game logic and AI is single threaded. And turn times are because of AI calculations so having one fast core is important to keep turn times low.

Not all is linear calculation.
BtS uses constant 10 open threads and sometimes up to 13 threads. If at end of turn something gets finished (i.e. research) or a popup for ranking then that opens a new extra thread (i.e. choose new research), and may use the 2nd core if free. Because that, it makes no difference if you have 2 or 8 cores, or more, it always uses max 2 cores only.

Times needed after click end turn depends mainly from two things: linear calculation of the unit movements/activities (and there the barbarian can slow all dramatically), and the processing for screen (and that depends from speed of grafic card, so it is a big dfference if you have i.e. "show enemy movements" and hundreds of barbarian activities get shown, or not, and then the cpu load can go up to 100% for a core while other are idle ). If you want to speed up the AI's tuns then disable all what gets shown extra on monitor.
 
Not all is linear calculation.
BtS uses constant 10 open threads and sometimes up to 13 threads. If at end of turn something gets finished (i.e. research) or a popup for ranking then that opens a new extra thread (i.e. choose new research), and may use the 2nd core if free. Because that, it makes no difference if you have 2 or 8 cores, or more, it always uses max 2 cores only.

Times needed after click end turn depends mainly from two things: linear calculation of the unit movements/activities (and there the barbarian can slow all dramatically), and the processing for screen (and that depends from speed of grafic card, so it is a big dfference if you have i.e. "show enemy movements" and hundreds of barbarian activities get shown, or not, and then the cpu load can go up to 100% for a core while other are idle ). If you want to speed up the AI's tuns then disable all what gets shown extra on monitor.
When I talk about game logic I mean everything that changes the synchronized game state and that is only one single thread and it is the same thread that the AI uses (most of it is in the DLL so we know that code).
Reducing what is shown on the screen speeds up AI turns but in general the part that causes the scaling issues is the AI calculation itself. It is quite heavy on brute force searches for best stuff and triggers the pathing engine a huge amount of times.
100% one core usage while others are idle is the sign that the AI is in some heavy calculations.
 
Hey!

I've an Athlon X4 II 2.6ghz and 6gb RAM. I love playing Gigantic PW2 maps with +30 civs. I usually have to endure 1 minute per turn at around 1500BC in Epic speed (15% complete).

This is normal, right? :)
 
Hey!

I've an Athlon X4 II 2.6ghz and 6gb RAM. I love playing Gigantic PW2 maps with +30 civs. I usually have to endure 1 minute per turn at around 1500BC in Epic speed (15% complete).

This is normal, right? :)
yes, if lot of factions have lot of units whch all are moving around and conflicts, it may be. Also after "Great War" when all the barbarian ships come out. When you come to industrial time it will be much more. Later it will be less, as the (also AI) units will not move around but stay somewhere collected. Less wars = less movements. But 1-3 min per turn is usual, maybe 5. (and "Epic" IS slow :lol: )

Also save and reload often will help a little.
 
Back
Top Bottom