×

High precision packet generation in software using a hardware time stamp counter

  • US 9,985,864 B2
  • Filed: 08/04/2010
  • Issued: 05/29/2018
  • Est. Priority Date: 08/04/2010
  • Status: Active Grant
First Claim
Patent Images

1. A network testing system having at least one network card, the network card including a processor, a hardware counter, a memory and a network communications unit, the network testing system coupled with a network, the network testing system having instructions stored thereon which when executed cause the network testing system to perform operations comprising:

  • receiving user selection to create a network test;

    receiving test information from the user, the test information including a transmission rate and packet creation information;

    calculating a packet transmission interval based on the transmission rate, wherein the packet transmission interval defines how often packets will be sent to achieve evenness in packet transmissions during a time period at the user specified packet transmission rate;

    receiving user selection to execute the network test transmitting packets specified in the network test over the network at the packet transmission rate, including;

    preparing a packet including at least a payload and a header according to the packet creation information;

    directly accessing and checking the hardware counter to learn if the packet transmission interval has elapsed, wherein the hardware counter comprises a time stamp counter (TSC) register included within processor that increments or counts at regular uniform intervals from when the processor is powered on and wherein directly accessing the hardware counter includes reading the TSC register using a routine located within a kernel of an operating system executing on the network card; and

    when the packet transmission interval has elapsed, sending the packet over the network.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×