Skip to content

How to make dump in pcap file with more sensitive in timestamp? #862

Closed

Description

@minzak

When we uset typical dumping to PCAP in tshark we have this timestamps:

          "frame.time": "Feb  5, 2025 14:24:10.447573587 UTC",
          "frame.time_utc": "Feb  5, 2025 14:24:10.447573587 UTC",
          "frame.time_epoch": "1738765450.447573587",

When we use F-Stack native PCAP dumping, we have this:

          "frame.time": "Feb 21, 2025 19:00:52.899382000 UTC",
          "frame.time_utc": "Feb 21, 2025 19:00:52.899382000 UTC",
          "frame.time_epoch": "1740164452.899382000",

We fully lost all nanosec.
How to eliminate, fix it?

Activity

  1. minzak commented on Mar 5, 2025

    @minzak
    Author

    It doesn't help to change these settings in config.ini.

    [dpdk]
    pkt_tx_delay=0
    [freebsd.boot]
    # If use rack/bbr which depend HPTS, you should set a greater value of hz, such as 1000000 means a tick is 1us.
    hz=1000000
    
  2. jinliu777 commented on Mar 25, 2026

    @jinliu777
    Contributor

    please refer this PR: #1055

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions