1. A method of allocating tasks in a node of a telecommunication network, wherein the node comprises a main processing unit which is configured to process tasks with one or more of a plurality of peripheral processing units, and the peripheral processing units are arranged in a hierarchical tree topology comprising a first level comprising a first set of the plurality of peripheral processing units coupled to the main processing unit via a first set of branches and a second level comprising a second set of the plurality of peripheral processing units coupled to the first set of the plurality of peripheral processing units via a second set of branches, the method comprising the steps of: receiving a request to process a task; determining a temperature status of each branch in the first and second sets of branches in the hierarchical tree topology, wherein the temperature status of a first branch in the first set of branches is related to a temperature of a corresponding first peripheral processing unit in the first set of the plurality of peripheral processing units and a temperature of each of one or more second peripheral processing units in the second set of the plurality of peripheral processing units that are coupled to the corresponding first peripheral processing unit via corresponding second branches in the second set of branches; and avoiding allocation of the task to one or more peripheral processing units of the plurality of peripheral processing units connected to or down the hierarchy from one or more branches having high temperature status.