摘要:
A computer implemented method, data processing system, and computer program product for efficiently using disk space when unarchiving files in the same file system. An archive file is read to identify a total number of data files in the archive file. The number of headers in the archive file is determined based on the total number of data files. A location in a first disk space of a largest data file in the archive file is determined from an offset in a header corresponding to the largest data file. The largest data file is then copied from the first disk space to a second disk space. The first disk space occupied by the largest data file is then released by truncating the archive file. The obtaining, copying, and releasing steps are repeated for each data file in the archive file until all of the data files are unarchived.
摘要:
A method, system and apparatus for improving data transfer rate over a network are provided. When a piece of data is to be transmitted to a target system, it is divided into a number of packets and a determination is made as to whether the number of packets exceeds a threshold number. If so, the packets are transferred in parallel over a plurality of network connections. The ideal network connections are TCP/IP connections. Thus, each packet has an IP header, which contains an IP identification field. An indicium is placed into the IP identification field for proper reconstruction of the data by the target system.
摘要:
Methods, systems, and media are disclosed for improved granularity of a response-request communication on a networked computer system. One example embodiment includes receiving the request-response communication by the networked computer system, and associating the request-response communication with a port, having a nodelay setting, from a set of ports on the networked computer system. Further, the example embodiment includes enabling, based upon the associating, the nodelay setting upon connection of the request-response communication with the port. Further still, the example embodiment includes sending, in accordance with the enabling, the request-response communication to a destination in communication with the networked computer system. In addition, further example embodiments include configuring the ports on the networked computer system with nodelay values indicating whether a particular port is assigned nodelay or no nodelay for a request portion or request portion of a request-response communication connecting to that particular port.
摘要:
Responsive to detecting a need for a mobile device to transfer out of a first network, requests are sent from the mobile device to a communication endpoint in mSCTP. The first request is to stop transmissions to a first address of said mobile device. The second request is to add an intermediary address of a mobility support service designated for receiving any communications already in transmission when the first request is sent. The communication link for the mobile device is then transitioned from the current address at the first network to a second address at a second network. The first network and the second network are non-intersecting networks. The mobile device then indicates to the mobility support service that the handover from the first network to the second network is complete. The mobility support service responds to the completion by sending a third request in mSCTP to the communication endpoint to continue communication with the mobile client at the second address.
摘要:
A mechanism is provided for identifying a snooping device in a network environment. A snoop echo response extractor generates an echo request packet with a bogus MAC address that will only be received by a snooping device. The snoop echo response extractor also uses an IP address that will cause the snooping device to respond to the echo request.
摘要:
A method, apparatus, and computer instructions for transferring data in a network data processing system. Data is transferred to a destination in which an address resolution protocol entry is used to transfer this data to the destination. A determination is made as to whether the address resolution protocol entry will expire within a selected threshold while transferring data to the destination. If the address resolution protocol will expire within the selected threshold, the address resolution protocol entry is kept or retained to reduce the interruptions or delays in the transferring of the data.
摘要:
A method, apparatus, and computer instructions for reactivating an existing connection to a remote data processing system. A data packet is created using a previously acknowledged sequence number for the connection. The sequence number is used to uniquely number data bytes sent in a connection, such as a TCP connection. With this sequence number, devices and components, such as routers and fire walls will forward the packet to the destination. A special data sequence, such as a MAC address of the remote data processing system repeated a selected number of times, is placed in the data packet. This special data sequence causes the remote data processing system to wake up from a sleep mode when received by the remote data processing system. The data packet is sent to the remote data processing system using the existing connection. The use of a subnet directed broadcast is avoided. Thus, problems associated with routing wake up packets are avoided.
摘要:
A method, system and apparatus for reducing dataflow disruption when increases in path maximum transmission unit (PMTU) are being detected are provided. Conventionally, when increases in PMTU are being detected, an increased-in-size data packet is sent by a transmitting host. If an intermediate link is unable to process the data packet through, it drops the data packet and sends an error message to the transmitting host. The transmitting host has to reduce the size of the data packet and resend it. The procedure outlines in this disclosure obviates the need to resend the data packet. It does so by transmitting an old data packet that has been increased in size. Hence, there is no need to resend the data packet if it is dropped.
摘要:
The present invention provides a method, system, and computer program product for splicing proxied web requests with callback for subsequent requests. The method comprises: initiating by a proxy a Transmission Control Protocol (TCP) splice between first and second socket connections in order to service a request; and returning control of the first and second socket connections to the proxy in response to a completion event associated with the TCP splice.
摘要:
An apparatus and method for an improved bulk read socket call are provided. With the apparatus and method, a new field, so_rcvlen, is added to the socket structure that identifies the bulk read size requested by the user. The kernel of the prior art recv( ) function is also modified so that it sets the so_rcvlen to the size requested by the user prior to the recv( ) function going to sleep and waiting for the full data size requested by the user. A new flag, SP_MSGWAITALL, is also provided in the socket structure. In the TCP input processing, when data is received for a particular socket, the current setting of the SP_MSGWAITALL is checked. If the SP_MSGWAITALL flag is set, it is determined whether the amount of data stored in the socket receive buffer is less than the value of so_rcvlen. If not, the TCP input processing does not wake up the recv( ) thread. However, for every alternate segment, the TCP input processing sends back an acknowledgment (ACK). In the TCP output processing, when the SP_MSGWAITALL flag is set and the amount of data in the socket receive buffer is less than so_rcvlen, the full window is advertised. Once the TCP input processing determines that there is at least an amount of data in the socket receive buffer equal to the value of so_rcvlen, the TCP input processing will wake up the recv( ) thread and the SP_MSGWAITALL flag is reset.