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

Re: [openss7] Test programs



Brian,
	I'll test it out right now.  Thanks.

Chuck
"Brian F. G. Bidulock" wrote:
> 
> Chuck,
> 
> Your problem is a bug in the sctp_rtt_calc function.  I placed an ensure
> statement
> 
>         ensure( time < jiffies, return );
> 
> To avoid the two cases time >= jiffies where the calculated round trip
> time would be negative or zero.  I was really expecting to protect
> against he negative case (which would indicate serious things), but
> I believe that what is happening is that your packets are being returned
> and rtt calcs performed UNDER THE GRANULARITY OF THE JIFFY CLOCK.
> On Intel architectures, this is not too hard...  The jiffie clock only
> has a granularity 10ms.  That means that you are getting RTTs of less
> than 10ms (which is good).
> 
> The included patch to sctp_input.c will stop the logs and make the
> rtt calculation more correct.
> 
> --Brian
> 
> Chuck Winters wrote:                             Mon, 11 Jun 2001 10:10:17
> > Brian,
> >       I was trying to run you test programs on my machines, and I still get
> > the same error in sctp_input.c where ensure(time < jiffies) fails.  I
> > tried recompiling the kernel several times.  I even wiped out the
> > sources, and started from scratch.  I tried about 12 different
> > compilations with different options.  The last one, I just started with
> > the standard configuration from redhat with SCTP compiled as a module
> > and ISDN, IRDA, and Old CDROM drivers unchecked.  Same thing.  I also
> > tried synchronizing the times on both machines with the same result.  I
> > am out of ideas.  Attached is my kernel configuration file.
> >
> > Thanks,
> > Chuck
> > --
> > Chuck Winters                            | Email:  cwinters@atl.lmco.com
> > Distributed Processing Laboratory        | Phone:  856-338-3987
> > Lockheed Martin Advanced Technology Labs |
> > 1 Federal St - A&E-3W                    |
> > Camden, NJ 08102                         |
> 
> --
> Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
> bidulock@openss7.org    ¦ world; the unreasonable one persists in  ¦
> http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
>                         ¦ Therefore  all  progress  depends on the ¦
>                         ¦ unreasonable man. -- George Bernard Shaw ¦
> 
>   ------------------------------------------------------------------------
>                 Name: patch-rtt
>    patch-rtt    Type: Plain Text (text/plain)
>             Encoding: 7BIT

--
Chuck Winters                            | Email:  cwinters@atl.lmco.com
Distributed Processing Laboratory        | Phone:  856-338-3987
Lockheed Martin Advanced Technology Labs |
1 Federal St - A&E-3W                    |
Camden, NJ 08102                         |