SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] setting rwnd


Chronological Thread 
  • From: Andreas Jungmaier <ajung AT exp-math.uni-essen.de>
  • To: discussion AT sctp.de, Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • Subject: Re: [SCTP-Discussion] setting rwnd
  • Date: Mon Jan 7 15:07:01 2002
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: University Essen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello, SCTP-Discussion Group !

Being back from skiing vacation I wish You all a happy
and successful new year ! I am back to work on the
implementation now, and as it happens, the new year has
piled up a number of bug report on my desk already, which
I will address hopefully this week.
Michael has been very busy testing....

Thanks for posting the bug report, Florence, I will look
into that first (ASAP).

Best regards,
Andreas

On Saturday, 29. December 2001 12:00, Michael Tuexen wrote:
> Dear Florence,
>
> I didn't saw the questions at the end of your mail when I first
> answered it. See my comments below.
>
> Best regards and a happy new year
> Michael
>
> On Friday, December 21, 2001, at 08:03 PM, Florence M Fowler wrote:
> > I am trying to change the receiver's rwnd. The sequence of events is:
> > initialize the callback procedures table
> > getArgs(arvc, argv)
> > checkArgs()
> > SCTP_initLibrary()
> > sctpInstance=SCTP_registerInstance(....)
> > SCTP_getAssocDefaults(....) (this said myRwnd was set at 32767)
> > SCTP_setAssocDefaults(....) I attempted to set myRwnd to
> > 65534--OK
> > 98301--it started ok but then
> > partway thru core dumped
> > giving the following when looked
> > at with gdb:
> > This GDB was configured as "i386-redhat-linux"...
> > Core was generated by `scttcp -r -w 128000 -s 160.91.192.149'.
> > Program terminated with signal 11, Segmentation fault.
> > Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
> > Loaded symbols for /usr/lib/libgmodule-1.2.so.0
> > Reading symbols from /usr/lib/libglib-1.2.so.0...done.
> > Loaded symbols for /usr/lib/libglib-1.2.so.0
> > Reading symbols from /lib/libdl.so.2...done.
> > Loaded symbols for /lib/libdl.so.2
> > Reading symbols from /lib/i686/libc.so.6...done.
> > Loaded symbols for /lib/i686/libc.so.6
> > Reading symbols from /lib/ld-linux.so.2...done.
> > Loaded symbols for /lib/ld-linux.so.2
> > Reading symbols from /lib/libnss_files.so.2...done.
> > Loaded symbols for /lib/libnss_files.so.2
> > #0 0x400ced89 in __libc_free (mem=0x40177f10) at malloc.c:3055
> > 3055 malloc.c: No such file or directory.
> > in malloc.c
> >
> > Normally there is a relationship between socket buffer size the receiver
> > window size...is there here? Can someone help me understand what is
> > happening beyond just the guess that it is attempting to get more memory
> > and can't? Is there something else I need to set that I am not setting?
>
> I do not understand this. Yes, normally (this means in a kernel
> implementation)
> there is a relationship. But with this prototype you have to set the
> receive
> space for raw sockets in the way your OS wants it. On BSD like systems,
> for example,
> you use a sysctl command. The rwnd stuff handled by the prototype deals
> not with
> that stuff, but only with reporting the receiver space. This could be
> the problem:
> If you set the receiver space for the raw socket to 32K but SCTP
> announces 64k than
> your peer may send 64k, but the receiver can only handle 32 k which
> results in
> packet loss! But beside that there should be no problem.
>
> I can't reproduce the problem on a BSD system with our pre15 code I'm
> testing.
> Andreas will test it on Linux. But if the problem remains (after the
> release of
> pre15) please contact us again.
>
> > Thanks.
> >
> > Florence Fowler
> >
> > _______________________________________________
> > discussion mailing list
> > discussion AT sctp.de
> > http://www.sctp.de/mailman/listinfo/discussion
>
> Michael.Tuexen AT micmac.franken.de
>
> _______________________________________________
> discussion mailing list
> discussion AT sctp.de
> http://www.sctp.de/mailman/listinfo/discussion

- --
- ------------------------------------------------------------------------
Dipl.-Ing. Andreas Jungmaier | _
Computer Networking Technology Group | ASCII ribbon campaign ( )
University of Essen | - against HTML email X
http://www.exp-math.uni-essen.de/~ajung | & vcards / \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8ObnOXAsLBNOCSsARAo1NAJ4rRvp0i2XMcUEDlvaoD7mr+kOftwCcCc14
P60MYUB0UI3FcqDqrh4DGp0=
=wAkE
-----END PGP SIGNATURE-----



  • Re: [SCTP-Discussion] setting rwnd, Andreas Jungmaier, 01/07/2002

Archive powered by MHonArc 2.6.19+.

Top of page