Claims
- 1. A method for adaptively analyzing communication of packets of data in a network traffic using a 2-state MMPP model, comprising the steps of:
a) measuring the inter arrival time between individual data packets; b) determining whether the packet arrival rates are ‘bursty’ (λ1) representing heavy traffic conditions or ‘idle’ (λ2) representing light traffic conditions; c) establishing a transition window with the values [λ1max, λ2min] represented by the boundary values λ2max for the upper inter-arrival time for bursty traffic, and λ2min for the lower inter-arrival time for idle traffic; and d) determining the probability ρ1 that a packet inter-arrival time is occurring in bursty traffic or the probability ρ2 that the arrival time is occurring in idle traffic.
- 2. The method according to claim 1 wherein the analysis of network traffic is carried out in real-time.
- 3. The method according to claim 1 wherein the bursty packet inter-arrival time has a mean value of λ1mean, the idle packet inter-arrival time has a mean value of λ2mean, and the traffic characteristics are such that λ2mean normally is substantially smaller than λ1mean.
- 4. The method according to claim 3 wherein as λ2mean approximates λ1mean, the analysis defaults to a single state MMPP model.
- 5. The method according to claim 1 further including the step of tracking changes in the values of λ1max and λ2min over time and enlarging or decreasing the size of the transition window based upon relative changes in these values.
- 6. The method according to claim 5 wherein the changes are tracked by computing the mean inter-arrival time of a plurality of packets.
- 7. The method according to claim 1 wherein the burst length during the bursty state is determined by the interrupt latency time wherein the model is used for the synchronization of a user process with the completion of the receive operation at the system to network interface.
- 8. A system for modeling and analyzing data communication in network traffic based upon the inter-arrival time of individual data packets, including:
a) a 2-state MMPP algorithm useful for determining whether the packet arrival rates are ‘bursty’ (λ1) representing heavy traffic conditions or ‘idle’ (λ2) representing light traffic conditions; b) a transition window [λ1max, λ2min] represented by the boundary values λ1 max for the inter-arrival time for bursty traffic, and λ2min for the inter-arrival time for idle traffic, and c) the capability for determining the probability ρ1 that a packet inter-arrival time is occurring in bursty traffic or the probability ρ2 that the arrival time is occurring in idle traffic.
- 9. The system according to claim 8 further including the capability for carrying out the modeling and analysis of network traffic in real-time.
- 10. The system according to claim 8 wherein the bursty packet inter-arrival time is assigned a mean value of λ1mean, the idle packet inter-arrival time is assigned a mean value of λ2mean, and the traffic characteristics are such that λ2mean<<λ1mean.
- 11. The system according to claim 10 including a default wherein as λ2mean approximates λ1mean, the system defaults to a single state MMPP model.
- 12. The system according to claim 8 further including the ability to track changes in the values of λ1max and λ2min over time and to enlarge or decrease the size of the transition window based upon relative changes in these values.
- 13. The system according to claim 12 wherein the change tracking ability permits tracking of changes by computing the mean inter-arrival time of a plurality of packets.
- 14. The system according to claim 8 wherein the model is used for the synchronization of a user process with the completion of the receive operation at the system to network interface, and the burst length during the bursty state is determined by the interrupt latency time.
- 15. An article comprising a computer-readable medium which stores computer-executable instructions for processing traffic flow patterns associated with network data transmission, the instructions causing a machine to:
a) receive traffic pattern data associated with the network transmission of data packets relating to the times of arrival of network data packets; b) apply an MMPP algorithm to the received pattern; and c) repeat the steps a) and b) one or more additional times at different time levels.
- 16. The article according to claim 13 wherein the medium includes instructions for the synchronization of polling and blocking in a low-latency network system.
- 17. The method of using a transition window [λ1max, λ2min] based on an MMPP model to implement a poll-block policy, comprising the steps of:
a) measuring the traffic pattern to use as a reference by recording the time stamp of two consecutive packets (t2 followed by t1) and calculating the time interval between packets as λi=t1−t2; b) predicting the delay of an incoming message based on the measured traffic pattern; c) if the traffic is within the transition window, implementing a poll(tp)block policy which switches from polling to blocking when λi is greater than λ2min and from blocking to polling when λi is less than λ1max.
- 18. The method according to claim 17 wherein the value of λ1max is set the same as the value for an interrupt latency.
- 19. The method according to claim 17 further including the use of the poll-block policy to optimize CPU utilization (Ucpu) by:
establishing a deadline Ud for the maximum value of Ucpu below which the arrival latency is minimized; checking the current Ucpu; and setting the parameter λ1max to a specified reference value λ1max-ref if the utilization is below Ud, or setting the parameter λ1max to a modified reference value of λ1max-ref that is proportional to the ratio of the current CPU utilization and the deadline value Ucpu/Ud.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] The present application is related to the following copending U.S. patent applications: U.S. Ser. No. 09/607,103, filed Jun. 29, 2000, entitled “Method and System for Reducing Latency in Message Passing Systems” (Docket No. RPS920000014US1); U.S. Ser. No. 09/607,113, filed Jun. 29, 2000, for “Method and System for Predicting Inter-Packet Delays” (Docket No RPS920000017US1); and U.S. Ser. No. 09/607,133, filed Jun. 29, 2000, for “Multilevel Analysis of Self-Similar Network Traffic” (Docket No. RPS920030017US1). These patent applications all are assigned to the assignee of the present invention. The content of these cross-referenced co-pending applications is hereby incorporated herein by reference.