Method of scheduling an additional new processing task to be executed by a processor which is already executing a predetermined number of processing tasks, wherein each running processing task is to be executed within a timeslot and in a periodic sequence of timeslots by the processor, and wherein each processing task causes a predetermined performance consumption when being executed by the processor, wherein the method comprises the steps of - determining the timeslots with most available resources for selecting an initial starting timeslot for the additional new processing task; - determining the periodicity of execution of each processing task, - associating the performance consumption with each processing task, - scheduling the additional new processing task to be executed in a periodic sequence of timeslots so as to satisfy a predetermined performance consumption criterion, wherein the selection of the initial starting timeslot is based on the packet length of data packets received for the additional new processing task, wherein the scheduling is carried out such that the initial starting timeslot for invoking the additional new processing task as well as the recurring timeslots in the periodic sequence both are assigned to the timeslots that satisfy the predetermined consumption criterion, wherein the predetermined performance consumption criterion is minimizing the highest load in each timeslot, and wherein the method steps are carried out by a scheduler for a Central Processing Unit. - determining the timeslots with most available resources for selecting an initial starting timeslot for the additional new processing task; - determining the periodicity of execution of each processing task, - associating the performance consumption with each processing task, - scheduling the additional new processing task to be executed in a periodic sequence of timeslots so as to satisfy a predetermined performance consumption criterion, wherein the selection of the initial starting timeslot is based on the packet length of data packets received for the additional new processing task, wherein the scheduling is carried out such that the initial starting timeslot for invoking the additional new processing task as well as the recurring timeslots in the periodic sequence both are assigned to the timeslots that satisfy the predetermined consumption criterion, wherein the predetermined performance consumption criterion is minimizing the highest load in each timeslot, and wherein the method steps are carried out by a scheduler for a Central Processing Unit. wherein the selection of the initial starting timeslot is based on the packet length of data packets received for the additional new processing task, wherein the scheduling is carried out such that the initial starting timeslot for invoking the additional new processing task as well as the recurring timeslots in the periodic sequence both are assigned to the timeslots that satisfy the predetermined consumption criterion, wherein the predetermined performance consumption criterion is minimizing the highest load in each timeslot, and wherein the method steps are carried out by a scheduler for a Central Processing Unit.