Re: Route cache performance under stress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> This sounded so unbelievable to me that I took a quick look at the code to
> see what I'd have to do to get rid of it.  It appears that gettimeofday is
> not called for every packet; just for ICMP timestamp requests and for IP
> options (ip_options_build and ip_options_compile).

every packet records a timestamp.

struct sk_buff {

[...]

	struct timeval	stamp;			/* Time we arrived */

[...]

}
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux