* Question on SCTP parameters tunning
@ 2015-12-15 1:14 Sun Paul
2015-12-15 1:19 ` Sun Paul
2015-12-15 3:49 ` Vlad Yasevich
0 siblings, 2 replies; 3+ messages in thread
From: Sun Paul @ 2015-12-15 1:14 UTC (permalink / raw)
To: linux-sctp
Hi All
the current memory settings on sctp is as below.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question on SCTP parameters tunning
2015-12-15 1:14 Question on SCTP parameters tunning Sun Paul
@ 2015-12-15 1:19 ` Sun Paul
2015-12-15 3:49 ` Vlad Yasevich
1 sibling, 0 replies; 3+ messages in thread
From: Sun Paul @ 2015-12-15 1:19 UTC (permalink / raw)
To: linux-sctp
Hi All
the current memory settings on sctp is as below.
net.sctp.sctp_mem = 1531104 2041472 3062208
net.sctp.sctp_rmem = 4096 349500 4194304
net.sctp.sctp_wmem = 4096 16384 4194304
However, we observed that consumption of one particular SCTP
connection is as below.
ffff8803d0609000 ffff8804358a6500 2 1 4 21855 968785 3882668
13184 28674 1132095678 3868 18710 171.109.115.116 171.109.115.122
<-> *164.114.213.15 164.114.213.136 10000 10 2048 6 0 0
175
The Transmit Q reaches around 3.6MB, we would like to check what is
the value we should enlarge. is there any limitation on setting the
read/write memory for LKSCTP?
Thanks
- RBK
On Tue, Dec 15, 2015 at 9:14 AM, Sun Paul <paulrbk@gmail.com> wrote:
> Hi All
>
> the current memory settings on sctp is as below.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question on SCTP parameters tunning
2015-12-15 1:14 Question on SCTP parameters tunning Sun Paul
2015-12-15 1:19 ` Sun Paul
@ 2015-12-15 3:49 ` Vlad Yasevich
1 sibling, 0 replies; 3+ messages in thread
From: Vlad Yasevich @ 2015-12-15 3:49 UTC (permalink / raw)
To: linux-sctp
On 12/14/2015 08:19 PM, Sun Paul wrote:
> Hi All
>
> the current memory settings on sctp is as below.
>
> net.sctp.sctp_mem = 1531104 2041472 3062208
> net.sctp.sctp_rmem = 4096 349500 4194304
> net.sctp.sctp_wmem = 4096 16384 4194304
>
> However, we observed that consumption of one particular SCTP
> connection is as below.
>
> ffff8803d0609000 ffff8804358a6500 2 1 4 21855 968785 3882668
> 13184 28674 1132095678 3868 18710 171.109.115.116 171.109.115.122
> <-> *164.114.213.15 164.114.213.136 10000 10 2048 6 0 0
> 175
>
> The Transmit Q reaches around 3.6MB, we would like to check what is
> the value we should enlarge. is there any limitation on setting the
> read/write memory for LKSCTP?
Why do you want to enlarge memory? That just allows you to buffer
more data in the kernel, but doesn't really improve anything.
The fact that you have 3.6 MB of data buffered in the transmit q
means that you either your receive or your path is very slow and
buffering more data in the kernel would actually be a bad thing,
As for programatically limiting of buffer sizes, they are limited by net.core.wmem_max
and net.core.rmem_max. Bump those value and you can set larger buffer values
in your application.
-vlad
>
> Thanks
>
> - RBK
>
> On Tue, Dec 15, 2015 at 9:14 AM, Sun Paul <paulrbk@gmail.com> wrote:
>> Hi All
>>
>> the current memory settings on sctp is as below.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-15 3:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15 1:14 Question on SCTP parameters tunning Sun Paul
2015-12-15 1:19 ` Sun Paul
2015-12-15 3:49 ` Vlad Yasevich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.