Show Table of Contents
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:
~]#
sysctl -w net.ipv4.tcp_timestamps=0net.ipv4.tcp_timestamps = 0 - Turn timestamps on with the following command:
~]#
sysctl -w net.ipv4.tcp_timestamps=1net.ipv4.tcp_timestamps = 1 - Print the current value with the following command:
~]#
sysctl net.ipv4.tcp_timestampsnet.ipv4.tcp_timestamps = 1The value1indicates that timestamps are on, the value0indicates they are off.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.