DEBUG: Start new instance for senderPortThread1
WARNING: Can't start new clone for senderPortThread1 instance 0
ERROR: failed with message and code: Requested number of cores isn't enough. (18)
scheduler start failed
Also note, that each flow function use at least one CPU core from the set of cores that was given to SystemInit.
It is not said how many exactly though. So I the snippet above is using at least 6 cores just for flow functions. And as regards affinity - is each function bound to the some specific cores and runs non-preemptively (by other FFs)? If so, it means that no core is left for the scheduler, right? For example, when running only the first flow, the number of cores used is 4 = 3 FFs + 1 scheduler, which makes sense.
Update: having 6 FFs works with 7 cores allocated.
I was trying to set up two flows, both duplex on separate ports (0 and 1). The VM has been assigned 6 cores.
However, what I am getting is
I assume that the system wants more cores, right? Or what can be the problem then? It is stated in the docs: https://github.com/intel-go/nff-go/wiki/Building-Packet-Processing-Graph
It is not said how many exactly though. So I the snippet above is using at least 6 cores just for flow functions. And as regards affinity - is each function bound to the some specific cores and runs non-preemptively (by other FFs)? If so, it means that no core is left for the scheduler, right? For example, when running only the first flow, the number of cores used is 4 = 3 FFs + 1 scheduler, which makes sense.
Update: having 6 FFs works with 7 cores allocated.