Parallel Computation

By default, iRedistrict uses parallel computation. The number of threads to be used is 7 if the CPU has 2 cores. You can increase or decrease this number. The maximum number of threads that can be used is the number of core multiply 4 minus 1: N(core)*4-1

When the data size is small, parallel computation helps to.increase the speed. However, if the data size is large, the parallel computation may decrease the speed because the memory allocated to iRedistrict is limited. The more threads, the less memory each thread has.

If possible, increase the memory as much as you can. The more memory, the larger dataset you can process. If the memory is not big enough, iRedistrict may encounter a memory leak. The minimum memory is 16G.

Last updated