摘要:
Retrieving dated content from a website including receiving a URL for dated content with a date field; inserting the current date in the date field; and retrieving the dated content with the URL bearing the current date in its date field. In some embodiments, date field bears an encoded date and inserting the current date in the date field includes replacing the encoded date with the current date. Typical embodiments also include bookmarking the URL, including replacing an encoded date in the date field with a date tag. Some embodiments include prompting the user for a date format. In many embodiments, the date tag includes a default date format. Some embodiments include configuring the browser with a default date format.
摘要:
A method, system, and program for accessing data processing systems behind a NAT enabled network are provided. According to one aspect of the present invention, a NAT data processing system is located behind a NAT enabled network with a NAT device as a gateway to the NAT enabled network. A client system located outside the NAT enabled network queries the NAT device for the address of the NAT data processing system located behind the NAT enabled network. The query is automatically routed through the NAT device to a DNS server. The DNS server then returns an address for the NAT data processing system and source routing for the NAT device. The NAT device forwards the address and source routing to the client system. Then, the client system sends packets to the NAT data processing system at the address with source routing through the NAT device, such that the NAT data processing system behind the NAT enabled network is directly accessed by the client system from outside the NAT enabled network.
摘要:
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.
摘要:
A last router in the route of a packet determines when a packet is at the last hop prior to reaching its destination, based on information conveyed in the routing table that the destination is a directly-connected host, and can then convey that information to the host by setting the TTL to zero in the packet being forwarded to its final destination. The host, being so informed that the packet is destined for its IP address, can thereby eliminate the IP address table search for the destination IP address of the incoming packet against the list of its allocated IP addresses to determine if the packet is destined for that host, thereby providing significant performance enhancements to the network system by enabling a receiving host to skip the IP address lookup process and immediately consume the received packet.
摘要:
A method, apparatus, and computer instructions for managing keepalive transmissions. A keepalive packet is received from a remote data processing over a particular connection within a set of connections to the remote data processing system. Timers for each of the set of connections are reset in response to receiving a response to a keepalive packet from the remote data processing system such that only a single keepalive packet is required to maintain all of the plurality of connections with the remote data processing system. In this manner, the number of requests and responses with respect to whether a connection is active is minimized, reducing congestion in a network data processing system.
摘要:
A computer implemented method, data processing system, and computer program product for selectively preserving network state during a checkpoint operation. Packets flowing through a network stack are examined to determine whether the packets belong to a WPAR under checkpoint. If one or more packets belong to a WPAR under checkpoint, a filter is used to block the packets from flowing through the network stack. Address information in each blocked packet is checked against an access list of allowed communications to determine if the access list indicates that a packet is an allowed packet. If the access list indicates that one of the packets is an allowed packet, that packet is unblocked and allowed to continue flowing through the network stack during the checkpoint operation. If the access list indicates that another of the packets is not an allowed packet, that packet is discarded during the checkpoint operation.
摘要:
TCP congestion avoidance is implemented upon retransmission of a packet and is reverted back to the original congestion state upon receipt of an early acknowledgement (ACK), indicating reordering of packets, thereby eliminating a needless restriction on TCP bandwidth. Upon receiving an ACK to a retransmitted packet, it is determined if the ACK resulted from receipt of the original reordered packet or the retransmitted packet, based on the arrival time of the ACK at the sender. If the round-trip-time (RTT) for the retransmitted packet is much lower than the average or current calculated RTT for the network link between sender and receiver, then the retransmission occurred as a result of a reordering event, and the congestion window is restored back to its value prior to the retransmission, thereby permitting the network link to continue operating at its original increased throughput.
摘要:
A method, system, and program for monitoring thread usage to dynamically control a thread pool are provided. An application running on the server system invokes a listener thread on a listener socket for receiving client requests at the server system and passing the client requests to one of multiple threads waiting in a thread pool. Additionally, the application sends an ioctl call in blocking mode on the listener thread. A TCP layer within the server system detects the listener thread in blocking mode and monitors a thread count of at least one of a number of incoming requests waiting to be processed and a number of said plurality of threads remaining idle in the thread pool over a sample period. Once the TCP layer detects a thread usage event, the ioctl call is returned indicating the thread usage event with the thread count, such that a number of threads in the thread pool may be dynamically adjusted to handle the thread count.
摘要:
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.
摘要:
A TCP/IP retransmission frame contains multiple TCP segments containing non-contiguous missing packets from a data communication. A TCP option in the first segment in the frame indicates the presence of multiple TCP payloads in the frame. Each TCP payload has a corresponding prepended TCP header. An offset address specified in each TCP header within the frame identifies the location of the next TCP header in the frame. Network throughput performance is enhanced by permitting multiple non-contiguous packets to be retransmitted in a single IP packet.