smartnic / bpf-profile

Profiling bpf programs such as overall latency and hotspots.
3 stars 0 forks source link

pcap file generation #7

Open QiongwenXu opened 1 year ago

QiongwenXu commented 1 year ago

For the given original pcap file, writer a script to generate the pcap files for three approaches (shared-state, flow affinity, shared-nothing)

Modifications for all approaches: Modify dst mac: ensure that the packets can be sent to dut Add padding: higher tx rate

Shared state:

Flow affinity

Shared nothing

Scripts implemented: https://github.com/smartnic/bpf-profile/tree/main/profile/pkt_trace

QiongwenXu commented 1 year ago

@sebymiano pcap file generate scripts: https://github.com/smartnic/bpf-profile/tree/main/dpdk_burst_replay/pkt_trace pcap file folder: https://drive.google.com/drive/folders/1s704Mpi8VJpKD0ua1Y-iTLvZTdjoBDSR?usp=drive_link

- original pcap file: trace_10_mtu1500.pcap
- Shared state: shared_state_[#cores].pcap
- Flow affinity: [benchmark]_flow_affinity.pcap
- Shared nothing: [benchmark]_shared_nothing_[#cores].pcap