Re: Using jiffies for tcp_time_stamp?
On 05/22/2012 11:21 AM, Srećko Jurić-Kavelj wrote:
By looking at the code it's clear that the time stamping is done with jiffies, and my kernel has CONFIG_HZ=100. I understand that this is for performance reasons (and the RTT smoothing filter is implemented with bit shifting operations), but would using a more precise time stamp have significant impact on performance? Since RTT is used to compute RTO, wouldn't there be any benefits of having more accurate estimate of this value?
I don't know if it would make any difference to the tcp algorithms, but certainly on some architectures you can get a fast and accurate hardware timestamp.
Chris -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel Discussion] [Ethernet Bridging] [Linux Wireless Networking] [Linux Bluetooth Networking] [Linux Networking Users] [VLAN] [Git] [IETF Annouce] [Linux Assembly] [Security] [Bugtraq] [Photo] [Singles Social Networking] [Yosemite Information] [MIPS Linux] [ARM Linux Kernel] [ARM Linux] [Linux Virtualization] [Linux Security] [Linux IDE] [Linux RAID] [Linux SCSI] [Free Dating]