2.12. Reduce TCP Performance Spikes


Turn timestamps off to reduce performance spikes related to timestamp generation. The sysctl command controls the values of TCP related entries, setting the timestamps kernel parameter found at /proc/sys/net/ipv4/tcp_timestamps.
  • Turn timestamps off with the following command:
    Copy to Clipboard Toggle word wrap
    ~]# sysctl -w net.ipv4.tcp_timestamps=0
    net.ipv4.tcp_timestamps = 0
    
  • Turn timestamps on with the following command:
    Copy to Clipboard Toggle word wrap
    ~]# sysctl -w net.ipv4.tcp_timestamps=1
    net.ipv4.tcp_timestamps = 1
    
  • Print the current value with the following command:
    Copy to Clipboard Toggle word wrap
    ~]# sysctl net.ipv4.tcp_timestamps
    net.ipv4.tcp_timestamps = 1
    
    The value 1 indicates that timestamps are on, the value 0 indicates they are off.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat, Inc.