what is the point of setting "do_fetch[number_threads]"
from here:
https://docs.yoctoproject.org/dev-manual/new-recipe.html#limiting-the-number-of-parallel-connections
if parallel connections are already limited, what is the value in setting this? that should be explained in that section.
rday
Quoted 6 lines · Robert P. J. Day via lists.openembedded.org
from here:
https://docs.yoctoproject.org/dev-manual/new-recipe.html#limiting-the-number-of-parallel-connections
if parallel connections are already limited, what is the value in setting this? that should be explained in that section.
I guess you mean BB_NUMBER_THREADS, which limits the overall amount of parrallel tasks bitbake runs. The do_fetch thing is specifically for limiting fetch tasks. This is useful in situations where the build machine can handle lots of tasks, but the (broken) network cannot, and so the network access has to be limited to something smaller.
Alex
Quoted 7 lines · Alexander Kanavin
Quoted 4 lines · Robert P. J. Day via lists.openembedded.org
from here:
https://docs.yoctoproject.org/dev-manual/new-recipe.html#limiting-the-number-of-parallel-connections
Quoted 8 lines
Quoted 2 lines
if parallel connections are already limited, what is the value in setting this? that should be explained in that section.
I guess you mean
BB_NUMBER_THREADS, which limits the overall amount of parrallel tasks bitbake runs. Thedo_fetchthing is specifically for limiting fetch tasks. This is useful in situations where the build machine can handle lots of tasks, but the (broken) network cannot, and so the network access has to be limited to something smaller.
oh, i know it's for limiting solely fetch tasks, but if the (broken)
network can't handle concurrent fetch tasks, would it not be the limiting factor, anyway?
rday
Quoted 9 lines · Robert P. J. Day via lists.openembedded.org
Quoted 5 lines
I guess you mean
BB_NUMBER_THREADS, which limits the overall amount of parrallel tasks bitbake runs. Thedo_fetchthing is specifically for limiting fetch tasks. This is useful in situations where the build machine can handle lots of tasks, but the (broken) network cannot, and so the network access has to be limited to something smaller.oh, i know it's for limiting solely fetch tasks, but if the (broken)
network can't handle concurrent fetch tasks, would it not be the limiting factor, anyway?
Networks are often 'semi-broken'. They can't handle lots of fetch tasks, but they can handle few. So by default you're going to get fetch errors, but if you limit the rate of fetching, then it will succeed.
Alex