From: Eddie Kohler <kohler@cs.ucla.edu>
To: dccp@vger.kernel.org
Subject: Re: [PATCH] BUG-FIX - conversion errors
Date: Sun, 17 Dec 2006 21:55:12 +0000 [thread overview]
Message-ID: <4585BCC0.9050708@cs.ucla.edu> (raw)
In-Reply-To: <200612081532.21104@strip-the-willow>
FYI, you're right, Gerrit: CCIDs 2 and 3 don't mention CCMPS because for
those CCIDs, CCMPS=\infty. CCID 4, when defined, will impose a CCMPS.
Eddie
Gerrit Renker wrote:
> | > | Do we calculate mss anywhere?
> | > Yes there is support in dccps_mss_cache .
> | > At the begin of dccp_send_msg e.g. it is used.
> |
> | Yup, look at dccp_sync_mss() used in dccp_connect_init():
>
> <snip>
>
> Thank you for the helpful `pointers' :) - I was amazed a couple of months ago
> about how much of that code is active and quietly doing its job with accuracy.
>
>
> | /*
> | * FIXME: this should come from the CCID infrastructure, where,
> | * say, TFRC will say it wants TIMESTAMPS, ELAPSED time, etc,
> | * for now lets put a rough estimate for NDP + TIMESTAMP +
> | * TIMESTAMP_ECHO + ELAPSED TIME + TFRC_OPT_LOSS_EVENT_RATE +
> | * TFRC_OPT_RECEIVE_RATE + padding to
> | * make it a multiple of 4
> | */
> |
> | mss_now -= ((5 + 6 + 10 + 6 + 6 + 6 + 3) / 4) * 4;
> |
> I thought that when we are actively using the provided MSS facilities, then there
> is more incentive to tackle this one above too.
>
>
>
> | Infrastructure wise I guess struct ccid_operations should have a...
> | lemme read the relevant part of 4340... there CCMPS:
> |
> | ----------------- 8< -------------
> | 14. Maximum Packet Size
> |
> | A DCCP implementation MUST maintain the maximum packet size (MPS)
> | allowed for each active DCCP session. The MPS is influenced by the
> | maximum packet size allowed by the current congestion control
> | mechanism (CCMPS), the maximum packet size supported by the path's
> | links (PMTU, the Path Maximum Transmission Unit) [RFC1191], and the
> | lengths of the IP and DCCP headers.
> | ----------------- 8< -------------
> I don't know how often I read through 4340, 4341 and 4342 trying to find out what `CCMPS'
> is for - it seems that in CCID2 and CCID3 it is both set to `infinity', at least I can
> find no explicit mention in 4341/4342 of CCMPS.
>
> But for the MSS caching a `ccid_mps' member would be useful anyway for the above required purpose.
>
> This in turn re-opens other questions - in CCID3 e.g. feedback packets should always contain
> also a Loss Intervals option - which is still missing in CCID 3.
>
> It is good that you raise this; I put a copy into my ToDo folder and will ask around in some time
> if anyone is working on it. If no one else does it I will give it a try at some time, but am bogged
> down by other work. I am re-working the CCID `larger initial windows' patch at the moment, plus
> sequence number issues.
> -
> To unsubscribe from this list: send the line "unsubscribe dccp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2006-12-17 21:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-08 15:32 [PATCH] BUG-FIX - conversion errors Gerrit Renker
2006-12-08 17:19 ` Ian McDonald
2006-12-09 3:57 ` Ian McDonald
2006-12-09 11:26 ` Arnaldo Carvalho de Melo
2006-12-11 7:23 ` Gerrit Renker
2006-12-11 8:52 ` Ian McDonald
2006-12-11 9:03 ` Gerrit Renker
2006-12-11 9:53 ` Arnaldo Carvalho de Melo
2006-12-11 10:31 ` Gerrit Renker
2006-12-17 21:55 ` Eddie Kohler [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4585BCC0.9050708@cs.ucla.edu \
--to=kohler@cs.ucla.edu \
--cc=dccp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox