idnits 2.17.1 draft-dreibholz-tsvwg-sctpsocket-sqinfo-09.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- No issues found here. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year -- The document date (January 12, 2015) is 3385 days in the past. Is this intentional? Checking references for intended status: Experimental ---------------------------------------------------------------------------- ** Obsolete normative reference: RFC 4960 (Obsoleted by RFC 9260) == Outdated reference: A later version (-27) exists of draft-tuexen-tsvwg-sctp-multipath-09 == Outdated reference: A later version (-28) exists of draft-dreibholz-tsvwg-sctpsocket-multipath-08 Summary: 1 error (**), 0 flaws (~~), 3 warnings (==), 1 comment (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Network Working Group T. Dreibholz 3 Internet-Draft Simula Research Laboratory 4 Intended status: Experimental R. Seggelmann 5 Expires: July 16, 2015 Muenster Univ. of App. Sciences 6 M. Becke 7 University of Duisburg-Essen 8 January 12, 2015 10 Sender Queue Info Option for the SCTP Socket API 11 draft-dreibholz-tsvwg-sctpsocket-sqinfo-09.txt 13 Abstract 15 This document describes an extension to the SCTP sockets API for 16 querying information about the sender queue. 18 Status of This Memo 20 This Internet-Draft is submitted in full conformance with the 21 provisions of BCP 78 and BCP 79. 23 Internet-Drafts are working documents of the Internet Engineering 24 Task Force (IETF). Note that other groups may also distribute 25 working documents as Internet-Drafts. The list of current Internet- 26 Drafts is at http://datatracker.ietf.org/drafts/current/. 28 Internet-Drafts are draft documents valid for a maximum of six months 29 and may be updated, replaced, or obsoleted by other documents at any 30 time. It is inappropriate to use Internet-Drafts as reference 31 material or to cite them other than as "work in progress." 33 This Internet-Draft will expire on July 16, 2015. 35 Copyright Notice 37 Copyright (c) 2015 IETF Trust and the persons identified as the 38 document authors. All rights reserved. 40 This document is subject to BCP 78 and the IETF Trust's Legal 41 Provisions Relating to IETF Documents 42 (http://trustee.ietf.org/license-info) in effect on the date of 43 publication of this document. Please review these documents 44 carefully, as they describe your rights and restrictions with respect 45 to this document. Code Components extracted from this document must 46 include Simplified BSD License text as described in Section 4.e of 47 the Trust Legal Provisions and are provided without warranty as 48 described in the Simplified BSD License. 50 Table of Contents 52 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 53 1.1. Conventions . . . . . . . . . . . . . . . . . . . . . . . 2 54 2. Sender Queue Info (SCTP_SQINFO) . . . . . . . . . . . . . . . 2 55 3. Testbed Platform . . . . . . . . . . . . . . . . . . . . . . 3 56 4. Security Considerations . . . . . . . . . . . . . . . . . . . 3 57 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4 58 6. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 4 59 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 4 60 7.1. Normative References . . . . . . . . . . . . . . . . . . 4 61 7.2. Informative References . . . . . . . . . . . . . . . . . 4 62 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 6 64 1. Introduction 66 This draft describes an extension to the SCTP sockets API (see 67 [RFC6458], [I-D.dreibholz-tsvwg-sctpsocket-multipath] [RFC4960]) 68 which allows an application to query the sender queue utilization per 69 stream. This information is necessary for applications to make 70 efficient use of a mapping of streams to dissimilar paths. A 71 detailed description including simulation results can be found in 72 [PFLDNeT2010]. 74 In particular, this API extension is useful when using the CMT-SCTP, 75 CMT/RPv1-SCTP, CMT/RPv2-SCTP and MPTCP-like extensions (see 76 [I-D.tuexen-tsvwg-sctp-multipath], [Dre2012], [PAMS2012], [PAMS2011], 77 [ConTEL2011], [SoftCOM2011], [Globecom2010]) for Concurrent Multipath 78 Transfer (CMT) with SCTP. 80 1.1. Conventions 82 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 83 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 84 document are to be interpreted as described in [RFC2119]. 86 2. Sender Queue Info (SCTP_SQINFO) 88 This socket option obtains the maximum sender queue size (in bytes), 89 the current total sender queue utilization (in bytes) as well as the 90 current utilization per stream (in bytes). 92 The following structure is used to obtain the sender queue 93 information: 95 struct sctp_sndqueueinfo { 96 sctp_assoc_t sq_assoc_id; 97 uint32_t sq_queue_limit; 98 uint32_t sq_total_queued; 99 uint32_t sq_number_of_streams; 100 uint32_t sq_queued_on_stream[]; 101 }; 103 sq_assoc_id: This parameter is ignored for one-to-one style sockets. 104 For one-to-many style sockets this parameter indicates which 105 association the user is performing an action upon. It is an error 106 to use SCTP_{CURRENT|ALL}_ASSOC in sq_assoc_id. 108 sq_queue_limit: This field gives the maximum sender queue size in 109 bytes. 111 sq_total_queued: This field gives the current total sender queue 112 utilization in bytes. 114 sq_number_of_streams: This field gives the number of outgoing 115 streams. That is, it will contain the number of valid 116 sq_queued_on_stream entries. 118 sq_queued_on_stream: This array gives the current number of bytes 119 queued for the streams 0 to sq_number_of_streams-1. 121 Note, that the caller of getsockopt() MUST provide a 122 sctp_sndqueueinfo structure which can hold at least as many 123 sq_queued_on_stream entries as the association's number of outgoing 124 streams. Otherwise, the getsockopt() call will fail and return an 125 error. 127 3. Testbed Platform 129 A large-scale and realistic Internet testbed platform with support 130 for the multi-homing feature of the underlying SCTP protocol is 131 NorNet. A description of NorNet is provided in [PAMS2013-NorNet], 132 some further information can be found on the project website 133 [NorNet-Website]. 135 4. Security Considerations 137 Security considerations for the SCTP sockets API are described by 138 [RFC6458]. 140 5. IANA Considerations 142 This document does not require IANA actions. 144 6. Acknowledgments 146 The authors would like to thank Michael Tuexen and Irene Ruengeler 147 for their support. 149 7. References 151 7.1. Normative References 153 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 154 Requirement Levels", BCP 14, RFC 2119, March 1997. 156 [RFC4960] Stewart, R., "Stream Control Transmission Protocol", RFC 157 4960, September 2007. 159 [RFC6458] Stewart, R., Tuexen, M., Poon, K., Lei, P., and V. 160 Yasevich, "Sockets API Extensions for the Stream Control 161 Transmission Protocol (SCTP)", RFC 6458, December 2011. 163 [I-D.tuexen-tsvwg-sctp-multipath] 164 Amer, P., Becke, M., Dreibholz, T., Ekiz, N., Jana, J., 165 Natarajan, P., Stewart, R., and M. Tuexen, "Load Sharing 166 for the Stream Control Transmission Protocol (SCTP)", 167 draft-tuexen-tsvwg-sctp-multipath-09 (work in progress), 168 October 2014. 170 [I-D.dreibholz-tsvwg-sctpsocket-multipath] 171 Dreibholz, T., Becke, M., and H. Adhari, "SCTP Socket API 172 Extensions for Concurrent Multipath Transfer", draft- 173 dreibholz-tsvwg-sctpsocket-multipath-08 (work in 174 progress), July 2014. 176 7.2. Informative References 178 [PFLDNeT2010] 179 Dreibholz, T., Seggelmann, R., Tuexen, M., and E. Rathgeb, 180 "Transmission Scheduling Optimizations for Concurrent 181 Multipath Transfer", Proceedings of the 8th International 182 Workshop on Protocols for Future, Large-Scale and Diverse 183 Network Transports (PFLDNeT), Volume 8, ISSN 2074-5168, 184 November 2010, . 188 [Globecom2010] 189 Dreibholz, T., Becke, M., Rathgeb, E., and M. Tuexen, "On 190 the Use of Concurrent Multipath Transfer over Asymmetric 191 Paths", Proceedings of the IEEE Global Communications 192 Conference (GLOBECOM), ISBN 978-1-4244-5637-6, DOI 193 10.1109/GLOCOM.2010.5683579, December 2010, 194 . 197 [PAMS2011] 198 Adhari, H., Dreibholz, T., Becke, M., Rathgeb, E., and M. 199 Tuexen, "Evaluation of Concurrent Multipath Transfer over 200 Dissimilar Paths", Proceedings of the 1st International 201 Workshop on Protocols and Applications with Multi-Homing 202 Support (PAMS), Pages 708-714, ISBN 978-0-7695-4338-3, 203 DOI 10.1109/WAINA.2011.92, March 2011, 204 . 207 [ConTEL2011] 208 Dreibholz, T., Becke, M., Adhari, H., and E. Rathgeb, "On 209 the Impact of Congestion Control for Concurrent Multipath 210 Transfer on the Transport Layer", Proceedings of the 11th 211 IEEE International Conference on 212 Telecommunications (ConTEL), Pages 397-404, 213 ISBN 978-953-184-152-8, June 2011, 214 . 217 [SoftCOM2011] 218 Dreibholz, T., Becke, M., Adhari, H., and E. Rathgeb, 219 "Evaluation of A New Multipath Congestion Control Scheme 220 using the NetPerfMeter Tool-Chain", Proceedings of the 221 19th IEEE International Conference on Software, 222 Telecommunications and Computer Networks (SoftCOM), Pages 223 1-6, ISBN 978-953-290-027-9, September 2011, 224 . 227 [PAMS2012] 228 Dreibholz, T., Adhari, H., Becke, M., and E. Rathgeb, 229 "Simulation and Experimental Evaluation of Multipath 230 Congestion Control Strategies", Proceedings of the 2nd 231 International Workshop on Protocols and Applications with 232 Multi-Homing Support (PAMS), ISBN 978-0-7695-4652-0, DOI 233 10.1109/WAINA.2012.186, March 2012, 234 . 237 [Dre2012] Dreibholz, T., "Evaluation and Optimisation of Multi-Path 238 Transport using the Stream Control Transmission Protocol", 239 March 2012, . 243 [PAMS2013-NorNet] 244 Dreibholz, T. and E. Gran, "Design and Implementation of 245 the NorNet Core Research Testbed for Multi-Homed Systems", 246 Proceedings of the 3nd International Workshop on Protocols 247 and Applications with Multi-Homing Support (PAMS), Pages 248 1094-1100, ISBN 978-0-7695-4952-1, DOI 10.1109/ 249 WAINA.2013.71, March 2013, . 253 [NorNet-Website] 254 Dreibholz, T., "NorNet -- A Real-World, Large-Scale Multi- 255 Homing Testbed", Online: https://www.nntb.no/, 2014, 256 . 258 Authors' Addresses 260 Thomas Dreibholz 261 Simula Research Laboratory, Network Systems Group 262 Martin Linges vei 17 263 1364 Fornebu, Akershus 264 Norway 266 Phone: +47-6782-8200 267 Fax: +47-6782-8201 268 Email: dreibh@simula.no 269 URI: http://www.iem.uni-due.de/~dreibh/ 271 Robin Seggelmann 272 Muenster University of Applied Sciences 273 Stegerwaldstrasse 39 274 48565 Steinfurt, Nordrhein-Westfalen 275 Germany 277 Email: seggelmann@fh-muenster.de 278 Martin Becke 279 University of Duisburg-Essen, Institute for Experimental Mathematics 280 Ellernstrasse 29 281 45326 Essen, Nordrhein-Westfalen 282 Germany 284 Phone: +49-201-183-7667 285 Fax: +49-201-183-7673 286 Email: martin.becke@uni-due.de