idnits 2.17.1 draft-dreibholz-tsvwg-sctpsocket-sqinfo-20.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 (March 13, 2020) is 1495 days in the past. Is this intentional? Checking references for intended status: Experimental ---------------------------------------------------------------------------- == Outdated reference: A later version (-28) exists of draft-dreibholz-tsvwg-sctpsocket-multipath-19 == Outdated reference: A later version (-27) exists of draft-tuexen-tsvwg-sctp-multipath-19 ** Obsolete normative reference: RFC 4960 (Obsoleted by RFC 9260) 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 SimulaMet 4 Intended status: Experimental R. Seggelmann 5 Expires: September 14, 2020 Muenster Univ. of App. Sciences 6 M. Becke 7 HAW Hamburg 8 March 13, 2020 10 Sender Queue Info Option for the SCTP Socket API 11 draft-dreibholz-tsvwg-sctpsocket-sqinfo-20 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 https://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 September 14, 2020. 35 Copyright Notice 37 Copyright (c) 2020 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 (https://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 2. Conventions . . . . . . . . . . . . . . . . . . . . . . . . . 2 54 3. Sender Queue Info (SCTP_SQINFO) . . . . . . . . . . . . . . . 2 55 4. Testbed Platform . . . . . . . . . . . . . . . . . . . . . . 3 56 5. Security Considerations . . . . . . . . . . . . . . . . . . . 3 57 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4 58 7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 4 59 8. References . . . . . . . . . . . . . . . . . . . . . . . . . 4 60 8.1. Normative References . . . . . . . . . . . . . . . . . . 4 61 8.2. Informative References . . . . . . . . . . . . . . . . . 5 62 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 7 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 2. Conventions 82 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 83 "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and 84 "OPTIONAL" in this document are to be interpreted as described in BCP 85 14 [RFC2119] [RFC8174] when, and only when, they appear in all 86 capitals, as shown here. 88 3. Sender Queue Info (SCTP_SQINFO) 90 This socket option obtains the maximum sender queue size (in bytes), 91 the current total sender queue utilization (in bytes) as well as the 92 current utilization per stream (in bytes). 94 The following structure is used to obtain the sender queue 95 information: 97 struct sctp_sndqueueinfo { 98 sctp_assoc_t sq_assoc_id; 99 uint32_t sq_queue_limit; 100 uint32_t sq_total_queued; 101 uint32_t sq_number_of_streams; 102 uint32_t sq_queued_on_stream[]; 103 }; 105 sq_assoc_id: This parameter is ignored for one-to-one style sockets. 106 For one-to-many style sockets this parameter indicates which 107 association the user is performing an action upon. It is an error 108 to use SCTP_{CURRENT|ALL}_ASSOC in sq_assoc_id. 110 sq_queue_limit: This field gives the maximum sender queue size in 111 bytes. 113 sq_total_queued: This field gives the current total sender queue 114 utilization in bytes. 116 sq_number_of_streams: This field gives the number of outgoing 117 streams. That is, it will contain the number of valid 118 sq_queued_on_stream entries. 120 sq_queued_on_stream: This array gives the current number of bytes 121 queued for the streams 0 to sq_number_of_streams-1. 123 Note, that the caller of getsockopt() MUST provide a 124 sctp_sndqueueinfo structure which can hold at least as many 125 sq_queued_on_stream entries as the association's number of outgoing 126 streams. Otherwise, the getsockopt() call will fail and return an 127 error. 129 4. Testbed Platform 131 A large-scale and realistic Internet testbed platform with support 132 for the multi-homing feature of the underlying SCTP protocol is 133 NorNet. A description of NorNet is provided in [PAMS2013-NorNet], 134 [ComNets2013-Core], some further information can be found on the 135 project website [NorNet-Website]. 137 5. Security Considerations 139 Security considerations for the SCTP sockets API are described by 140 [RFC6458]. 142 6. IANA Considerations 144 This document does not require IANA actions. 146 7. Acknowledgments 148 The authors would like to thank Michael Tuexen and Irene Ruengeler 149 for their support. 151 8. References 153 8.1. Normative References 155 [I-D.dreibholz-tsvwg-sctpsocket-multipath] 156 Dreibholz, T., Becke, M., and H. Adhari, "SCTP Socket API 157 Extensions for Concurrent Multipath Transfer", draft- 158 dreibholz-tsvwg-sctpsocket-multipath-19 (work in 159 progress), September 2019. 161 [I-D.tuexen-tsvwg-sctp-multipath] 162 Amer, P., Becke, M., Dreibholz, T., Ekiz, N., Iyengar, J., 163 Natarajan, P., Stewart, R., and M. Tuexen, "Load Sharing 164 for the Stream Control Transmission Protocol (SCTP)", 165 draft-tuexen-tsvwg-sctp-multipath-19 (work in progress), 166 January 2020. 168 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 169 Requirement Levels", BCP 14, RFC 2119, 170 DOI 10.17487/RFC2119, March 1997, 171 . 173 [RFC4960] Stewart, R., Ed., "Stream Control Transmission Protocol", 174 RFC 4960, DOI 10.17487/RFC4960, September 2007, 175 . 177 [RFC6458] Stewart, R., Tuexen, M., Poon, K., Lei, P., and V. 178 Yasevich, "Sockets API Extensions for the Stream Control 179 Transmission Protocol (SCTP)", RFC 6458, 180 DOI 10.17487/RFC6458, December 2011, 181 . 183 [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 184 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, 185 May 2017, . 187 8.2. Informative References 189 [ComNets2013-Core] 190 Gran, E., Dreibholz, T., and A. Kvalbein, "NorNet Core - A 191 Multi-Homed Research Testbed", Computer Networks, Special 192 Issue on Future Internet Testbeds Volume 61, Pages 75-87, 193 ISSN 1389-1286, DOI 10.1016/j.bjp.2013.12.035, March 2014, 194 . 196 [ConTEL2011] 197 Dreibholz, T., Becke, M., Adhari, H., and E. Rathgeb, "On 198 the Impact of Congestion Control for Concurrent Multipath 199 Transfer on the Transport Layer", Proceedings of the 11th 200 IEEE International Conference on 201 Telecommunications (ConTEL) Pages 397-404, 202 ISBN 978-953-184-152-8, June 2011, . 206 [Dre2012] Dreibholz, T., "Evaluation and Optimisation of Multi-Path 207 Transport using the Stream Control Transmission 208 Protocol", Habilitation Treatise, March 2012, 209 . 213 [Globecom2010] 214 Dreibholz, T., Becke, M., Rathgeb, E., and M. Tuexen, "On 215 the Use of Concurrent Multipath Transfer over Asymmetric 216 Paths", Proceedings of the IEEE Global Communications 217 Conference (GLOBECOM) ISBN 978-1-4244-5637-6, 218 DOI 10.1109/GLOCOM.2010.5683579, December 2010, 219 . 222 [NorNet-Website] 223 Dreibholz, T., "NorNet - A Real-World, Large-Scale Multi- 224 Homing Testbed", Online: https://www.nntb.no/, 2019, 225 . 227 [PAMS2011] 228 Adhari, H., Dreibholz, T., Becke, M., Rathgeb, E., and M. 229 Tuexen, "Evaluation of Concurrent Multipath Transfer over 230 Dissimilar Paths", Proceedings of the 1st International 231 Workshop on Protocols and Applications with Multi-Homing 232 Support (PAMS) Pages 708-714, ISBN 978-0-7695-4338-3, 233 DOI 10.1109/WAINA.2011.92, March 2011, 234 . 237 [PAMS2012] 238 Dreibholz, T., Adhari, H., Becke, M., and E. Rathgeb, 239 "Simulation and Experimental Evaluation of Multipath 240 Congestion Control Strategies", Proceedings of the 2nd 241 International Workshop on Protocols and Applications with 242 Multi-Homing Support (PAMS) ISBN 978-0-7695-4652-0, 243 DOI 10.1109/WAINA.2012.186, March 2012, 244 . 247 [PAMS2013-NorNet] 248 Dreibholz, T. and E. Gran, "Design and Implementation of 249 the NorNet Core Research Testbed for Multi-Homed Systems", 250 Proceedings of the 3nd International Workshop on Protocols 251 and Applications with Multi-Homing Support (PAMS) Pages 252 1094-1100, ISBN 978-0-7695-4952-1, 253 DOI 10.1109/WAINA.2013.71, March 2013, 254 . 258 [PFLDNeT2010] 259 Dreibholz, T., Seggelmann, R., Tuexen, M., and E. Rathgeb, 260 "Transmission Scheduling Optimizations for Concurrent 261 Multipath Transfer", Proceedings of the 8th International 262 Workshop on Protocols for Future, Large-Scale and Diverse 263 Network Transports (PFLDNeT) Volume 8, ISSN 2074-5168, 264 November 2010, . 268 [SoftCOM2011] 269 Dreibholz, T., Becke, M., Adhari, H., and E. Rathgeb, 270 "Evaluation of A New Multipath Congestion Control Scheme 271 using the NetPerfMeter Tool-Chain", Proceedings of the 272 19th IEEE International Conference on Software, 273 Telecommunications and Computer Networks (SoftCOM) Pages 274 1-6, ISBN 978-953-290-027-9, September 2011, 275 . 278 Authors' Addresses 280 Thomas Dreibholz 281 Simula Metropolitan Centre for Digital Engineering 282 Pilestredet 52 283 0167 Oslo, Oslo 284 Norway 286 Phone: +47-6782-8200 287 Fax: +47-6782-8201 288 Email: dreibh@simula.no 289 URI: https://www.simula.no/people/dreibh 291 Robin Seggelmann 292 Muenster University of Applied Sciences 293 Stegerwaldstrasse 39 294 48565 Steinfurt, Nordrhein-Westfalen 295 Germany 297 Email: seggelmann@fh-muenster.de 299 Martin Becke 300 HAW Hamburg, Informatics Department 301 Berliner Tor 7 302 20099 Hamburg, Hamburg 303 Germany 305 Phone: +49-40-42875-8104 306 Fax: +49-40-42875-8309 307 Email: martin.becke@haw-hamburg.de 308 URI: http://www.scimbe.de/about.html