30-01-2020 дата публикации
Номер: US20200036780A1
Принадлежит:
An example method may include determining, by a processor of a network device, a plurality of controllers corresponding to a plurality of client devices; and distributing, by the processor, tasks corresponding to the plurality of client devices to multiple cores of the network device based on the plurality of controllers. 1. A method , comprising:determining, by a processor of a network device, a plurality of controllers corresponding to a plurality of client devices; anddistributing, by the processor, tasks corresponding to the plurality of client devices to multiple cores of the network device based on the plurality of controllers.2. The method of claim 1 , further comprising:calculating, by the processor, an index of one of the plurality of controllers according to information of one of the plurality of client devices;scheduling, by the processor, a corresponding core assigned for the one of the plurality of controllers to process the tasks;taking over, by the corresponding core, the processed tasks for forwarding; andencapsulating, by the corresponding core, the processed tasks and sending packets corresponding to encapsulated tasks.3. The method of claim 1 , further comprising:checking, by the processor, source addresses of packets, wherein the packets corresponding to the tasks;scheduling, by the processor, a corresponding core assigned for one of the plurality of controllers to process the tasks according to the source addresses;taking over, by the corresponding core, the processed tasks for forwarding; anddecapsulating, by the corresponding core, the processed tasks and sending packets corresponding to decapsulated tasks.4. The method of claim 1 , further comprising:detecting, by the processor, the number of the plurality of client devices during a period; andredistributing, by the processor, the tasks corresponding to the plurality of client devices to the cores of the network device based on the number of the plurality of controllers.5. The method of claim ...
Подробнее