Re: tcp_rmem

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

 






Hi cristopher ,

 so that means the max length of tcp_rmem is 12 bytes, assuming 4 bytes for
an int ?

regards
Amit




Christophe Lucas <c.lucas@ifrance.com>@ifrance.com> on 05/27/2004 12:44:08
PM

To:    Amit Kumar Singh/HSS@HSS
cc:    kernelnewbies@nl.linux.org

Subject:    Re: tcp_rmem


aksingh@hss.hns.com (aksingh@hss.hns.com) wrote:
>
>
>
>
> Hi,
>
>   what is the maximum value of tcp_rmem and what impact does changing
> tcp_rmem in /proc/sys/net/ipv4 have on TCP performance ?
>
> Amit

I have done a very quick grep :
$ cat sysctl_net_ipv4.c
 [...]
 {
 .ctl_name   = NET_TCP_RMEM,
 .procname   = "tcp_rmem",
 .data       = &sysctl_tcp_rmem,
 .maxlen     = sizeof(sysctl_tcp_rmem),
 .mode       = 0644,
 .proc_handler   =
 &proc_dointvec
 },
 [...]
Et sysctl_tcp_rmem is defined in tcp.c like :
int sysctl_tcp_rmem[3] = { 4 * 1024, 87380, 87380 * 2 };

Have a good day.

PS: Please correct my mistake if it is.
--
Amicalement

Christophe

* GNU/Linux & UNIX developer and network administrator
* Membre RotomaLUG (http://www.rotomalug.org)
* Registered User #271267
* Email: c.lucas@ifrance.com
 * Web Site: http://odie.mcom.fr/~clucas/




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux