From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
altenbach

Support more parallel instances in the parallel FOR loop

Status: New

The number of parallel Instance is currently capped at 64, independent of hardware. This limit should be raised.

 

First Reason: Since even 64 bit Windows 7 supports up to 256 cores, it would be reasonable to raise that limit to 256.

 

(Even the next version of windows mobile (8) will support 64 cores. (Mobile! On a Phone! 🐵. Obviously the upcoming hardware is fast moving in that direction.)

 

Second Rason: Sometimes it is useful to generate many instances, even if we have fewer cores available, for example maintain individual data in a large number of identical reentrant subVIs. (Such an usage example where we want many instances even on a single core machine can be found here)

 

Idea: Raise the max number of parallel Instances of a parallel FOR loop to 256.

4 Comments
PaulG.
Active Participant

Why stop there? Smiley Happy Raise this number with each major revision to match current technology.

PaulG.

LabVIEW versions 5.0 - 2020

“All programmers are optimists”
― Frederick P. Brooks Jr.
mfletcher
NI Employee (retired)

We put a cap on the number of instances because LabVIEW can run out of memory when generating higher numbers of instances, especially when you have nested Parallel For Loops. We may consider raising the limit though.

 

For now, you can change the limit in your config file.

 

ParallelLoop.MaxNumLoopInstances=256

altenbach
Knight of NI

>For now, you can change the limit in your config file.

 

Thanks! I guess that will do, even though we don't actually have hardware to support it yet. 😉

 

wiebe@CARYA
Knight of NI