Method of transferring data between memories of computers
Abstract
In a communicating method between data processing apparatuses using the Sockets API or the MPI API, the apparatus on the receiving side informs the apparatus on the sending side of a data length threshold, which makes the apparatus on the sending side to decide between sending data to a pre-registered pre-allocated buffer on the apparatus on the receiving side, or having the memory region that is the final destination of the data transfer registered and then sending the data to this memory region. When the length of the data to be sent does not exceed the threshold, sending to the pre-allocated buffer is selected, and the data transfer operation is completed by copying the received data from the pre-allocated buffer to the final destination of this transfer. In case the length of the data to be sent exceeds the threshold, the data is sent directly to the final destination of this transfer.
Claims
exact text as granted — not AI-modified1 - 5 . (Cancelled)
6 . A communication method in which data is transferred from a second data processing apparatus on the sending side to a first data processing apparatus on the receiving side through a communication means, and before the sending/reception of the data, and in which, to make possible sending data from or receiving data into a memory region, said memory region is registered in said communication means before the sending or receiving of the data,
wherein for a first period of time, said first data processing apparatus, on a specific data transfer, registers the memory region that is the final destination of this specific data transfer, and also notifies the said second data processing apparatus of the address(es) of said memory region; the efficiency of said notification of the address(es) through the first period of time is measured; and when the efficiency is smaller than a predetermined value, for a second period of time following the first period of time, the sending of the notification of address(es) is restrained.
7 . A communication method according to claim 6 , wherein the measurement of the said efficiency of the notification of the address(es) is carried out by measuring, during the first period of time, the ratio of the number of times in which the transfer data is transferred from said second data processing apparatus to the memory region that is the final destination of the specific data transfer in accordance with the notification, to the number of times said notifications of the address(es) is sent.
8 . A communication method according to claim 6 , wherein the efficiency of the notification of the address(es) is measured independently for every memory address.
9 . A communication method according to claim 6 , wherein the efficiency of the notification of the address(es) is measured for all the addresses in the address notifications sent by said first data processing apparatus as a whole.
10 . (Cancelled)
11 . A communication method in which data is transferred from a second data processing apparatus on the sending side to a first data processing apparatus on the receiving side through a communication means, and in which, to make possible sending data from or receiving data into a memory region, said memory region is registered in said communication means before the sending or receiving of the data:
wherein, in specific data transfer in a specific data exchange, the data of the specific data transfer is copied to a first memory region, which is registered in said second data processing apparatus before the start of the specific data exchange; said second data processing apparatus sends the said data which has been copied to said first memory region, to a second memory region, which is registered in said first data processing apparatus, for said specific data transfer.
12 . A communication method in which data is transferred from a second data processing apparatus on the receiving side to a first data processing apparatus on the receiving side through a communication means, and in which, to make possible sending data from or receiving data into a memory region, said memory region is registered in said communication means before the sending or receiving of the data, said method comprising the steps of:
on a specific data transfer in a specific data exchange, registering a first memory region which is the source region of said specific data transfer in said second data processing apparatus; notifying said first data processing apparatus of the address(es) of said first memory area; and reading out the data in said first memory region by said first data processing apparatus onto a second memory region which was registered before the start of the specific data exchange.
13 - 15 . (Cancelled)
16 . A communication method in which a specific data processing apparatus sends/receives data to/from another data processing apparatus through a communication means, and in which, to make possible sending data from or receiving data into a memory region, said memory region is registered in the said communication means before the sending or receiving of the said data, said method comprising:
in said specific data processing apparatus, the on a specific data transfer in a specific data exchange, temporarily storing data received from another data processing apparatus in a first memory region which is registered before the specific data exchange and copying this data received to the memory region that is the final destination of the specific data transfer; and measuring the utilization rate of said first memory region and when the utilization rate falls outside the range from a predetermined minimum up to a predetermined maximum, changing said first memory region.
17 . A communication method according to claim 16 , wherein when the utilization rate is smaller than the minimum, said specific data processing apparatus reduces the total size of the said first memory region, while when the activity ratio exceeds the maximum, increases the total size of said first memory region.
18 . A communication method in which a specific data processing apparatus sends/receives data to/from another data processing apparatus through a communication means, and in which, to make possible sending data from or receiving data into a memory region, said memory region is registered in the said communication means before the sending or receiving of the said data, said method comprising:
on a specific data transfer in a specific data exchange, copying the data of the specific data transfer to a second memory region, which is registered in said specific data processing apparatus before the start of the specific data exchange, and sending the copied data from said second memory region; and measuring the utilization rate of said second memory region, and when the activity ratio falls outside the range from the predetermined minimum to the predetermined maximum, changing the said second memory area.
19 . A communication method according to claim 18 , wherein when the utilization rate is smaller than the minimum, said specific data processing apparatus reduces the total size of said second memory region, while when the activity ratio exceeds the maximum, increases the total size of said second memory region.
20 . A communication method in which a specific data processing apparatus sends/receives data to/from another data processing apparatus through a communication means, and in which, to make possible sending data from or receiving data into a memory region, said memory region is registered in the said communication means before the sending or receiving of the said data, said method comprising the steps of:
in said specific data processing apparatus, on a specific data transfer in a specific data exchange, temporarily storing data received from another data processing apparatus in a first memory region and copying this data received to the memory region that is the final destination of the specific data transfer, and copying data to be sent in the said specific data transfer from its original region to a second memory region and sending data thus copied to another data processing apparatus, both first and second memory regions being registered before the start of said data exchange, and using said first memory region and said second memory region for receiving data and for sending data, respectively, to carry out the data exchange; and measuring the utilization rate of both said first memory region and said second memory region, and when one of the utilization rates is high and the other is low, moving a part of the memory region between said first memory region and said second memory region.Join the waitlist — get patent alerts
Track US2005050162A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.