Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 843 Bytes

File metadata and controls

21 lines (19 loc) · 843 Bytes

multiple-access-queue Matlab code to simulate the behavior of multiple sources being served by a single server.

Two methods for dealing with multiple sources

  • TDMA: Allocate time slots that alternate sources. The server will only serve the source that currently has the time slot.
  • FDMA: Split up the queue and server such that each source has a separate queue and is being served independently, but at half the rate.

TODO (unordered):

  • proportional slots
  • source 1 can be served anytime
  • compute average delay
  • finite buffer queue
  • slot duration as inverse of arrival rate
  • Find best slot duration
  • Look for differences in the methods
  • See what happens when you scale up the number of sources
  • Look at how avg age changes with simulation time
  • double buffer to limit arrival rates