Re: W/RTT verification, linux tcp buffers behaviour

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

 



From: "Constantinos Makassikis" <cmakassikis@xxxxxxxxx>
Date: Mon, 15 May 2006 19:20:05 +0200

> Is there a way to predict the amount of overhead or the in-band TCP
> data that can be hold ?

It depends upon the machine, whether things like SMP and other
networking features are enabled, how the driver allocates
packets (for receive) and other variables.

For each packet there is "sizeof(struct sk_buff)" for each send packet
+ each clone made of that packet (there is at least one clone of every
transmitted packet made for TCP, so we can keep the master on the
retransmit queue and send clones to the output path).  Plus a
"sizeof(struct skb_shared_info)" for each instance of the data.

We try to make approximations in the TCP stack, see the
net.ipv4.tcp_adv_win_scale sysctl and how the kernel uses that for
example.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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