LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 04-02-2010, 03:33 PM   #1
Joe1989
LQ Newbie
 
Registered: Apr 2009
Posts: 9

Rep: Reputation: 0
SCTP protocol Cwnd Mesurment


Hi there,


Doing work on a honers project and in order to predict the thoughput on SCTP. Me and the lecture originally though this might be menitoned int he proc files however it is not, I have also been serching all day tonight and came up with nothing but the lksctp-tools but these dont mesure the cwnd either.

Does anyone know any method to do this?

thanks

Joe.
 
Old 04-07-2010, 07:28 AM   #2
deckert
LQ Newbie
 
Registered: Jun 2006
Location: South Africa
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by Joe1989 View Post
Doing work on a honers project and in order to predict the thoughput on SCTP. Me and the lecture originally though this might be menitoned int he proc files however it is not, I have also been serching all day tonight and came up with nothing but the lksctp-tools but these dont mesure the cwnd either.
SCTP runs as a layer on top of IP, just like TCP and UDP does, so your base assumption should start that the throughput will be equal or less to that of the the capacity or capability of the IP link you have.

Your post is not clear what you want to use the /proc information for. Do you want to measure the throughput? You can do that by counting the number of packets flowing past the interface by polling these files:

/proc/net/sctp/*

Alternatively set up iptables accounting rules to count bytes to/from your IP addresses to which you've set up your associations.

Finally, in your test application itself, you'll have to generate SCTP streaming traffic - you might as well count the octets there and compute the throughput you're getting.

The SCTP implementation is very will documented under linux and the API makes provision for getting lots of status onformation about a specific association. Have you looked at the sctp library code and API yet?

Here's an excellet intro to SCTP as well:
http://tdrwww.exp-math.uni-essen.de/..._fb/index.html

--deckert
 
  


Reply

Tags
sctp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Develop chat program using SCTP protocol phase_ram Linux - Networking 7 05-19-2010 08:44 PM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 06:11 AM
Throughput computation given cwnd and transmission time values? japz20 Linux - Networking 0 10-08-2005 05:37 AM
project on secure stream control transmission protocol(SCTP) monindra Fedora - Installation 1 05-29-2005 04:47 AM
Unsupported protocol 'Compression Control Protocol' (0x80fd) received RKris Linux - Software 0 08-21-2002 09:24 AM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration