Proxy Caching Engine Latency Calculation via Pipeline RTT Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for determining latency in communication networks, especially those using pipelined protocols like SMBv2, face significant errors due to failure to account for delays in caching engines, network equipment inactivity, command dependencies, and queuing, leading to inaccurate round trip time (RTT) and time savings (TS) calculations.

Innovation Solution

Implement a method that uses variables and flags to track delays and dependencies, such as the outstanding commands (OC) counter, inactive period (IP) flag, and other variables like FRTAIP, PRTT, LRT, URTT, and DTime, to accurately determine RTT and TS by aggregating pipeline round trip times and considering wait times and command dependencies, while employing SMBv2 protocol for pipelined command processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional RTT measurement methods are used in pipelined protocols, then the measurement process is simple, but the measurement precision deteriorates due to unaccounted delays

Engineering Contradiction:
ImproveRTT measurement accuracyVSAvoidmeasurement process complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the RTT measurement process into distinct phases: pipeline initiation phase, steady-state phase, and pipeline completion phase. Each phase is tracked using separate variables (OC counter, IP flag, FRTAIP timestamp, PRTT calculation) to accurately capture delays specific to each segment, thereby improving measurement precision without overwhelming complexity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements feedback mechanisms where the system continuously monitors pipeline state through the OC counter and IP flag, adjusting RTT calculations based on real-time observations of command dependencies and network equipment inactivity. This feedback loop enables dynamic correction of RTT measurements to account for caching engine delays and queuing effects

Inventive Principle:
Principle #23Feedback

2Speed

If pipelined protocols with long pipelines are used, then data transmission speed improves, but RTT determination accuracy deteriorates

Engineering Contradiction:
Improvedata transmission speedVSAvoidRTT determination accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The patent performs preliminary actions by initializing the OC counter and FRTAIP timestamp before pipeline execution, and by pre-identifying the steady-state phase characteristics. This preparation enables accurate RTT measurement even in long pipelines by establishing reference points before the actual data transmission begins

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent dynamically adapts the RTT measurement approach based on pipeline progression. The system transitions from tracking individual command delays in the initiation phase to aggregating pipeline-wide metrics in the steady-state phase, and finally to calculating completion delays in the termination phase. This dynamic adaptation maintains measurement accuracy regardless of pipeline length

Inventive Principle:
Principle #15Dynamics

3Reliability

If caching engine delays and network equipment inactivity are not accounted for, then the calculation process is simple, but the reliability of TS calculation deteriorates

Engineering Contradiction:
ImproveTS calculation reliabilityVSAvoidcalculation process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces intermediary variables (OC counter, IP flag, LRT timestamp) that act as mediators between the complex caching engine delays and the final RTT/TS calculations. These intermediaries capture the effects of caching engine processing and network equipment inactivity without requiring direct modification of the core calculation algorithms, thereby improving reliability while managing complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes key parameters during calculation based on observed conditions: switching between different RTT calculation formulas depending on whether the system is in pipeline initiation, steady-state, or completion phase. This parameter adaptation ensures that caching engine delays and network inactivity are properly accounted for in the final TS calculation

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS9787564B2Algorithm for latency saving calculation in a piped message protocol on proxy caching engine
Publication Date: 2017.10.10 CISCO TECHNOLOGY INC
  • US9787564B2 patent drawing
  • US9787564B2 patent drawing
  • US9787564B2 patent drawing

AI summary

Methods and systems for determining latency in a communication network may be provided. A plurality of commands may be sent in the communication network. A response may be received for each of the plurality of commands from the communication network. A pipeline round trip time may be calculated for each of the plurality of commands based on a time of the response for each of the plurality of commands. A total round trip time for the plurality of commands may be calculated based on the calculated pipeline round trip time. A time saving may be calculated for at least one of the plurality of commands serviced locally.