US2015286416A1PendingUtilityA1

Introducing Latency And Delay For Test Or Debug Purposes In A SAN Environment

Assignee: IBMPriority: Apr 7, 2014Filed: Apr 7, 2014Published: Oct 8, 2015
Est. expiryApr 7, 2034(~7.7 yrs left)· nominal 20-yr term from priority
H04L 41/142G06F 3/0659H04L 41/145G06F 3/067G06F 3/0611H04L 67/1097G06F 17/18H04L 43/50
53
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

Simulating latency in a network environment. A device sends a latency request. The device receives a latency support confirmation. The device builds an I/O frame. The I/O frame comprises a latency simulating bit and a latency duration. Based on the latency simulating bit and the latency duration, the device holds the I/O frame. The device sends the I/O frame.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A method for simulating latency, said method comprising:
 sending, by a device, a latency request;   receiving, by said device, a latency support confirmation;   building, by said device, an I/O frame, said I/O frame comprising a latency simulating bit and a latency duration;   based on said latency simulating bit and said latency duration, holding, by said device, said I/O frame; and   sending, by said device, said I/O frame.   
     
     
         2 . The method according to  claim 1 , wherein said holding further comprises calculating, by said device, a latency period based on said latency duration, said latency period being a period of time that said I/O frame is held for. 
     
     
         3 . The method according to  claim 2 , wherein said latency period is calculated by said device using a statistical distribution. 
     
     
         4 . The method according to  claim 3 , wherein said statistical distribution comprises a function selected from a group consisting of:
 a constant value;   an exponential probability density function, said latency delay representing said exponential probability density function by an expected value of said latency delay representing the 63.2 nd  percentile;   an uniform probability density function, said latency delay representing said uniform probability density function by a lower limit and an upper limit of said latency delay;   a Gaussian probability density function, said latency delay representing said Gaussian probability density function by an arithmetic mean representing the 50 th  percentile, a standard deviation of said latency delay, and the number of standard deviations to be included;   a binary probability density function, said latency delay representing said binary probability density function by a first latency duration and a second latency duration;   a Rayleigh probability density function, said latency delay representing said Rayleigh probability density function by an expected value of said latency delay representing the 63.2 nd  percentile and a shape factor of two; and   a Weibull probability density function, said latency delay representing said Weibull probability density function by an expected value of said latency duration representing the 63.2 nd  percentile, a shape factor, and a latency offset.   
     
     
         5 . The method according to  claim 1 , wherein said device is a server or a switch. 
     
     
         6 . The method according to  claim 1 , wherein said device comprises a controller, said controller configured for said holding of said I/O frame. 
     
     
         7 . The method according to  claim 1 , wherein said I/O frame comprises an I/O command. 
     
     
         8 . The method according to  claim 1 , wherein said sending of said I/O frame comprises sending said I/O frame to a second device. 
     
     
         9 . The method according to  claim 8 , wherein said second device is a server or a switch. 
     
     
         10 . A computer system comprising:
 a memory;   a processor in communication with said memory, said processor comprising an instruction fetching unit for fetching instructions from memory and one or more execution units for executing fetched instructions;
 wherein said computer system is capable of performing a method comprising:
 sending a latency request; 
 receiving a latency support confirmation; 
 building an I/O frame, said I/O frame comprising a latency simulating bit and a latency duration; 
 based on said latency simulating bit and said latency duration, holding said I/O frame; and 
 sending said I/O frame. 
 
   
     
     
         11 . The computer system according to  claim 10 , wherein said holding further comprises calculating, a latency period based on said latency duration, said latency period being a period of time that said I/O frame is held for. 
     
     
         12 . The computer system according to  claim 11 , wherein said latency period is calculated using a statistical distribution. 
     
     
         13 . The computer system according to  claim 12 , wherein said statistical distribution comprises a function selected from a group consisting of:
 a constant value;   an exponential probability density function, said latency delay representing said exponential probability density function by an expected value of said latency delay representing the 63.2 nd  percentile;   an uniform probability density function, said latency delay representing said uniform probability density function by a lower limit and an upper limit of said latency delay;   a Gaussian probability density function, said latency delay representing said Gaussian probability density function by an arithmetic mean representing the 50 th  percentile, a standard deviation of said latency delay, and the number of standard deviations to be included;   a binary probability density function, said latency delay representing said binary probability density function by a first latency duration and a second latency duration;   a Rayleigh probability density function, said latency delay representing said Rayleigh probability density function by an expected value of said latency delay representing the 63.2 nd  percentile and a shape factor of two; and   a Weibull probability density function, said latency delay representing said Weibull probability density function by an expected value of said latency duration representing the 63.2 nd  percentile, a shape factor, and a latency offset.   
     
     
         14 . The computer system according to  claim 10 , wherein said I/O frame comprises an I/O command. 
     
     
         15 . The computer system according to  claim 10 , wherein said sending of said I/O frame comprises sending said I/O frame to a second device. 
     
     
         16 . A computer program product, the computer program product comprising:
 a storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
 sending a latency request; 
 receiving a latency support confirmation; 
 building an I/O frame, said I/O frame comprising a latency simulating bit and a latency duration; 
 based on said latency simulating bit and said latency duration, holding said I/O frame; and 
 sending said I/O frame. 
   
     
     
         17 . The computer program product according to  claim 16 , wherein said holding further comprises calculating, a latency period based on said latency duration, said latency period being a period of time that said I/O frame is held for. 
     
     
         18 . The computer program product according to  claim 17 , wherein said latency period is calculated using a statistical distribution. 
     
     
         19 . The computer program product according to  claim 16 , wherein said statistical distribution comprises a function selected from a group consisting of:
 a constant value;   an exponential probability density function, said latency delay representing said exponential probability density function by an expected value of said latency delay representing the 63.2 nd  percentile;   an uniform probability density function, said latency delay representing said uniform probability density function by a lower limit and an upper limit of said latency delay;   a Gaussian probability density function, said latency delay representing said Gaussian probability density function by an arithmetic mean representing the 50 th  percentile, a standard deviation of said latency delay, and the number of standard deviations to be included;   a binary probability density function, said latency delay representing said binary probability density function by a first latency duration and a second latency duration;   a Rayleigh probability density function, said latency delay representing said Rayleigh probability density function by an expected value of said latency delay representing the 63.2 nd  percentile and a shape factor of two; and   a Weibull probability density function, said latency delay representing said Weibull probability density function by an expected value of said latency duration representing the 63.2 nd  percentile, a shape factor, and a latency offset.   
     
     
         20 . The computer program product according to  claim 16 , wherein said sending of said I/O frame comprises sending said I/O frame to a second device.

Join the waitlist — get patent alerts

Track US2015286416A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.