Optical switch control method, and apparatus
First Claim
1. An optical switch control method, comprising:
- receiving, by an optical switch chip, a first optical link establishment request sent by a computation node, wherein the first optical link establishment request carries an identifier of the computation node, an identifier of a first memory node to be accessed by the computation node, and first priority indication information of a first optical link to be established between the computation node and the first memory node;
determining, by the optical switch chip according to information about an existing optical link and the first priority indication information, the first optical link to be established conflicts with the existing optical link;
determining, by the optical switch chip, according to the first priority indication information, priority indication information of the existing optical link and link switching overheads of a first conflicting optical link, to allow establishment of the first optical link when the first optical link to be established conflicts with the existing optical link; and
establishing the first optical link when the establishment of the first optical link is allowed.
1 Assignment
0 Petitions
Accused Products
Abstract
An optical switch control method and an apparatus are disclosed, to reduce impact on access performance by time overheads of optical link switching. The method includes: receiving an optical link establishment request sent by a computation node; determining whether the first optical link that needs to be established conflicts with the existing optical link; and if the first optical link that needs to be established conflicts with the existing optical link, determining whether to allow establishment of the first optical link, and establishing the first optical link if the establishment of the first optical link is allowed; or establishing the first optical link if the first optical link that needs to be established does not conflict with the existing optical link.
12 Citations
18 Claims
-
1. An optical switch control method, comprising:
-
receiving, by an optical switch chip, a first optical link establishment request sent by a computation node, wherein the first optical link establishment request carries an identifier of the computation node, an identifier of a first memory node to be accessed by the computation node, and first priority indication information of a first optical link to be established between the computation node and the first memory node; determining, by the optical switch chip according to information about an existing optical link and the first priority indication information, the first optical link to be established conflicts with the existing optical link; determining, by the optical switch chip, according to the first priority indication information, priority indication information of the existing optical link and link switching overheads of a first conflicting optical link, to allow establishment of the first optical link when the first optical link to be established conflicts with the existing optical link; and establishing the first optical link when the establishment of the first optical link is allowed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An optical switch control method, applied to communication between a computation node and a memory node, wherein an optical link for communication is established between the computation node and the memory node by using an optical switch chip, and the method comprises:
-
receiving, by the computation node, a request for accessing a memory node in one or more time periods, and obtaining an identifier and an access feature of the memory node accessed in the one or more time periods, wherein the access feature comprises any one or a combination of multiple of a bandwidth of the accessed memory node, address distribution of the accessed memory node, a distribution status of access requests corresponding to different amounts of data, and a ratio of requests for reading data from the memory node to requests for writing data into the memory node; searching, by the computation node, a phase feature library according to the identifier and the access feature of the memory node accessed in the one or more time periods, wherein the phase feature library stores an identifier and an access feature of each memory node to be accessed by the computation node in each time period in each processing phase; determining, from the phase feature library, a processing phase to which a time period matching the identifier and the access feature of the memory node accessed in the one or more time periods belongs; and
obtaining an identifier and an access feature of each memory node to be accessed in a next time period of the matched time period in the determined processing phase;determining, by the computation node according to a quantized value corresponding to the access feature of each memory node that needs to be accessed in the next time period, priority indication information of an optical link to be established between the computation node and each memory node to be accessed in the next time period; generating, by the computation node, an optical link establishment request, and sending the optical link establishment request to the optical switch chip, wherein the optical link establishment request carries an identifier of the computation node and the identifier of each memory node that needs to be accessed in the next time period, and carries the priority indication information of the optical link that needs to be established in the next time period between the computation node and each memory node that needs to be accessed. - View Dependent Claims (10)
-
-
11. An optical switch chip, comprising:
-
a processor; and storage having a plurality of stored instructions that, when executed by the processor, cause the optical switch chip to; receive, a first optical link establishment request sent by a computation node, wherein the first optical link establishment request carries an identifier of the computation node, an identifier of a first memory node to be accessed by the computation node, and first priority indication information of a first optical link to be established between the computation node and the first memory node, determine, according to information about an existing optical link and the first priority indication information, the first optical link to be established conflicts with the existing optical link, determine, according to the first priority indication information, priority indication information of the existing optical link and link switching overheads of a first conflicting optical link, to allow establishment of the first optical link when the first optical link to be established conflicts with the existing optical link, and establish the first optical link when the establishment of the first optical link is allowed. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
Specification