allocation-request.tid 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. created: 20240302172215000
  2. creator: jds
  3. modified: 20240302172259000
  4. modifier: jds
  5. tags:
  6. title: allocation-request
  7. type: text/vnd.tiddlywiki
  8. ! allocation request
  9. I want to
  10. * ~~create a unix socket~~,
  11. * ~~listen for a connection~~,
  12. * ~~accept an "alloc" request~~,
  13. * respond with success or failure.
  14. Success entails
  15. * searching for the requested AP/APinst/APM/APMinst
  16. * creating a new instance of communication (EFCP/IAP)
  17. * requesting an exchange with the app (IAP)
  18. * receiving and processing a response (IAP)
  19. * perform allocations for mem mgmt/queueing strategy
  20. * provisioning a new EFCP instance for the new flow (EFCP)
  21. * provide the client a port for the new instance of comm
  22. ~~A dedicated goroutine, locked to an isolated OS thread,
  23. should run each mux (tx and rx).~~ Not quite. This is
  24. wasteful if the client has not requested a service cube that
  25. requires this measure. Such service cubes include realtime
  26. (minimum latency, small SDUs), voice (minimum jitter, small
  27. SDUs), and wire speed (max volume). All three involve
  28. strict processor scheduling (order and rate of queue
  29. servicing), and the third additionally requires possibly
  30. enormous queue lengths (memory management), especially for
  31. reliable transfer (sequence recovery).
  32. For very large PDUs, it may be necessary to exclusively
  33. employ FEC, even though link latencies will tend to be
  34. lowest at large aggregation points. Is it reasonable to use
  35. something like FEC at the top layer? I suppose it depends.
  36. If reliable datagrams are requested, the network is liable
  37. for ensuring reliable delivery. By comparison, TCP-style
  38. streams make endpoints solely responsible for reliability,
  39. which may use rather slow sequence recovery mechanisms at
  40. the top layer, where round-trip delays are longest.
  41. Success assumes the application process requesting
  42. allocation of resources is already
  43. [[registered|registration]].