Controlling shared memory
First Claim
1. A method for controlling a for controlling a read/write operation on a shared memory of a network interface card, wherein said shared memory is configured to provide shared storage for tasks of a distributed application, and said shared memory is accessed by a plurality of computing nodes executing a same task,said method comprising:
- controlling a read/write operation on a shared memory on a network interface card;
determining whether a local network interface card is configured with the shared memory supporting said read/write operation further comprising;
determining whether the shared memory configured on the local network interface card supports the read/write operation according to a task identification code stored on the shared memoryon the local network interface card if the local network interface card is configured with the shared memory;
performing the read/write operation to the shared memory on the local network interface card through a buffer of the memory of the local network interface card;
when the local network interface card is configured with the shared memory supporting said read/write operation, wherein said shared memory is configured to provide shared storage for tasks of a distributed application, and said shared memory is accessed by a plurality of computing nodes through a separate path executing a same task.
0 Assignments
0 Petitions
Accused Products
Abstract
In view of the characteristics of distributed applications, the present invention proposes a technical solution for applying a shared memory on an NIC comprising: a shared memory configured to provide shared storage space for a task of a distributed application, and a microcontroller. Furthermore, the present invention provides a computer device that includes the above-mentioned NIC, a method for controlling a read/write operation on a shared memory of a NIC, and a method for invoking the NIC. The use of the technical solution provided in the present invention bypasses the processing of network protocol stack, avoids the time delay introduced by the network protocol stack. The present invention does not need to perform TCP/IP encapsulation on the data packet, thus greatly saving additional packet header and packet tail overheads generated from the TCP/IP layer data encapsulation.
13 Citations
9 Claims
-
1. A method for controlling a for controlling a read/write operation on a shared memory of a network interface card, wherein said shared memory is configured to provide shared storage for tasks of a distributed application, and said shared memory is accessed by a plurality of computing nodes executing a same task,
said method comprising: -
controlling a read/write operation on a shared memory on a network interface card; determining whether a local network interface card is configured with the shared memory supporting said read/write operation further comprising; determining whether the shared memory configured on the local network interface card supports the read/write operation according to a task identification code stored on the shared memory on the local network interface card if the local network interface card is configured with the shared memory; performing the read/write operation to the shared memory on the local network interface card through a buffer of the memory of the local network interface card; when the local network interface card is configured with the shared memory supporting said read/write operation, wherein said shared memory is configured to provide shared storage for tasks of a distributed application, and said shared memory is accessed by a plurality of computing nodes through a separate path executing a same task. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for invoking a network interface card, the method comprising:
-
providing a program buffer of a distributed application; invoking a language runtime through a dedicated interface on the language runtime; invoking a device driver module to perform physical layer encapsulation; and controlling a read/write operation on a shared memory of the on a network interface card by a method comprising; determining whether a local network interface card is configured with a shared memory supporting said read/write operation; and performing the read/write operation to the shared memory on the local network interface card when the local network interface card is configured with the shared memory supporting said read/write operation; wherein said shared memory is configured to provide shared storage for tasks of a distributed application; and wherein said shared memory is accessed by a plurality of computing nodes through a separate path executing a same task.
-
Specification