Technical support > Windows

speed up compile_maps.bat

(1/1)

Muton:
Because we need to rebuild all maps continuously
i've modified the build scipt

In fact its faster to use
one ufo2map process by CPUcore (-t 1) and call n processes of ufo2map simultaneously
than to use n threads (-t n)
while n is the ammount of cores.

compile_maps_Muton.bat /clean /1t4core
this will call n processes of ufo2map and set the corresponding affinitymask
On a dual core you'll have 2 process
On a quad core 4 ....

The affinitmask is set by affinity.exe
Its a copy paste project from MS
but buildable by C::B
This tool will be build automatically!

So just run
compile_maps_Muton.bat /clean /1t4core
and you're done

For each process a new cmd will be opend in background
process priority is IDLE (lowest)

[attachment deleted by admin]

BTAxis:
In fact, -t 2 is slower than -t 1 here.

Mattn:
see https://sourceforge.net/tracker/?func=detail&aid=2792727&group_id=157793&atid=805244

Navigation

[0] Message Index

Go to full version