Thread (6 messages) 6 messages, 4 authors, 2014-07-23

RE: Information about SCTP patch

From: Padiyar, Prasad (NSN - IN/Bangalore) <hidden>
Date: 2014-07-23 12:18:43
Also in: linux-sctp

Hi Michele,

Thanks for your time and reply.

We here have a requirement to implement a CLI to get these stats.
And one of the options we thought to use was /proc files to get these stats.

Going through the mail chain of this patch (http://www.spinics.net/lists/linux-sctp/msg01813.html) , I came across this.
" socket option is preferable as /proc doesn't scale very well as number of associations grows."


Here I am just curious to know how much "is the number of associations" referred to?


Thanks & Regards,
Prasad 

-----Original Message-----
From: ext Michele Baldessari [mailto:michele@acksyn.org] 
Sent: Tuesday, July 22, 2014 1:33 PM
To: kishan simha
Cc: linux-sctp@vger.kernel.org; netdev@vger.kernel.org; Padiyar, Prasad (NSN - IN/Bangalore); Kumar, Sumit 11. (NSN - IN/Bangalore)
Subject: Re: Information about SCTP patch

Hi Kishan,

On Mon, Jul 21, 2014 at 02:08:21PM +0530, kishan simha wrote:
We are trying to integrate this patch to a little older kernel 2.6.34.13.
This is trivial as we've done so for RHEL 6.5 already.
Additionally we are planning to give a proc file interface to display the stats.

I came across a review comment for your patch, where the proc solution
was rejected.

Can you provide some information on why the solution was rejected ?
It was preferred to do it via an API extension, similar to how
Solaris does it. And, I believe, the /proc interface for these kind of
things is discouraged.

regards,
Michele
-- 
Michele Baldessari            [off-list ref]
C2A5 9DA3 9961 4FFB E01B  D0BC DDD4 DCCB 7515 5C6D
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help