5a1cef6381
This patch unconditionally applies the labeling of sessions and thereby removes the most common use case of 'Child_policy::filter_session_args'. Furthermore, the patch removes an ambiguity of the session labels of sessions created by the parent of behalf of its child, e.g., the PD session created as part of 'Child' now has the label "<child-name>" whereas an unlabeled PD-session request originating from the child has the label "<child-name> -> ". This way, the routing-policy of 'Child_policy::resolve_session_request' can differentiate both cases. As a consequence, the stricter labeling must now be considered wherever a precise label was specified as a key for a session route or a server- side policy selection. The simplest way to adapt those cases is to use a 'label_prefix' instead of the 'label' attribute. Alternatively, the 'label' attribute may used by appending " -> " (note the whitespace). Fixes #2171 |
||
---|---|---|
.. | ||
main.cc | ||
README | ||
target.mk |
The bomb test starts as many components as configured and as RAM resources admit. This utilitiy acts as a fork bomb to stress test core, init, and of course the kernel. The master component (bomb-master) starts a given number of children and it donates the available memory in equal shares to the children. The children again start new children until all their memory resources are depleted or a given generation count of children is reached (depth of the fork tree). The bomb-master begins to kill all children after a given period of time and restarts the creation of children afterwards. Configuration ------------- ! ... ! <config rounds="1" generations="1" children="2" sleep="2000" demand="1048576"/> ! ... rounds: solely used by master bomb - number of start/kill rounds generations: maximum generations of children, i.e. tree depth, to create children: number of children per bomb parent to create sleep: time in ms to wait between creation and killing of children by bomb-master demand: amount of RAM in bytes which are required to spawn a new child The xml attributes are all optional. If the XML attributes are not set, the values given in the example config are used as default by the bomb-master.