![]() |
How to Extend M/M/1 Queue Simulation to M/M/K
Hello everyone. Help me to extend the M/M/1 code below to M/M/K.
Code:
#include <stdio.h> |
Re: How to Extend M/M/1 Queue Simulation to M/M/K
Perhaps a little more explanation would be helpful, rather than just dumping 200 lines of code on us and a one-line statement that means virtually nothing? What are MM1 and MMK? What does the code do? What have you tried?
|
Re: How to Extend M/M/1 Queue Simulation to M/M/K
Sorry for that. I admit my mistake.
This is discrete events simulation program in C that represent the queueing model. It can be used to simulate the real queueing in the computer system or network. M/M/1 queue consists of a server which provides service for the packet who arrive at the system, receive service, and depart. It is a single-server queueing system with exponential interarrival times, exponential service times and first-in–first-out queue discipline. If a packet arrives when the server is busy, it joins the queue (the waiting line). The capital letter "M" represent the Markovian (exponential) distribution of inter arrival time and service time. "1" means a single server. So for M/M/k means that "K" represent the number of server(s). Some times the notation is represent by M/M/n or M/M/s. So, I just want to extend the capability of my previous program to support multiple server. Any one here can help me with that? Really appreciate your response and many thanks. |
Re: How to Extend M/M/1 Queue Simulation to M/M/K
hi adamms, I got m/m/k code using linked list if u want it give me ur email address to send this code cause it's kinda long. I wanted to add wfq and leaky bucket to ur code but it didn't work how can I do that ? Is it possible? should it be modified alot?
|
Re: How to Extend M/M/1 Queue Simulation to M/M/K
anyone can help me C/C++....i have same with Mr.adamms problem...My final project is about M/M/K queue simulation in LAN network...i have tried source code from Mr.Adamms but i didn't know to extend it...please help me....
|
| All times are GMT +5.5. The time now is 06:16. |