Ticket #410 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Cache entire pcap before first iteration

Reported by: petekalo Owned by: aturner
Priority: low Milestone: 3.4.4
Component: tcpreplay Version: 3.4.3
Keywords: cache, speed Cc:
Operating System: Add to FAQ?: no
Hardware: All
Output of tcpreplay -V:

Description

Request that -K caches entire pcap into RAM, then sends out first iteration. When dealing with speeds over 6Gbps, first iteration seems to run @ ~1.2Gbps while subsequent iterations perform up to 9Gbps, obviously due to disk overhead.

Change History

comment:1 Changed 2 years ago by aturner

(In [2405]) clean up whitespace & add cache preload support. refs #410

comment:2 Changed 2 years ago by aturner

(In [2406]) clean up whitespace and make get_next_packet public. refs #410

comment:3 Changed 2 years ago by aturner

(In [2407]) cleanup whitespace and add --preload-cache option. refs #410

comment:4 Changed 2 years ago by aturner

  • Milestone changed from 4.0.0 to 3.4.4

comment:5 Changed 2 years ago by aturner

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.