Find Jobs
Hire Freelancers

Dispatcher Program

$30-60 USD

Terminado
Publicado hace más de 20 años

$30-60 USD

Pagado a la entrega
**Need a Dispatcher Program implemented in C++.** **Program should include two different versions of a dispatcher**: 1)one based on a simple round robin 2)another based on two round robin queues with different priorities, where processes from the queue with the higher priority get twice as much time as processes from the queue with the lower priority. **Make the following assumptions**: a)the size of internal memory is 120K, and it is divided into 30 page frames. b)the size of every process in the system is a number in the range from 4K to 36K. c)when a process is generated, it is allocated 3 free page frames that can be filled on a demand basis(that is, the dispatcher uses local policy, creating a separate page table from every process). d)the lifetime of every process is a number in the range from 1 to 10. **How the program should work**: The driver program should run 100 times. On each of the first 10 runs, it randomly creates a process (randomly choosing the size and the lifetime) and places it into a queue (if simple round robin is being used,it is a single queue; if two queues are being used, processes with the lifetime up to 5 get higher priority, and processes with greater lifetime get lower priority). On the next runs of the loop, it creates a new process whenever some process has been completed. Every run of the loop is considered as one clock tick. If two queues are being used, the scheduler runs processes with higher priority for two clock ticks and processes with lower priority for one clock tick, alternating between the queues. The driver simulates running of a process by generating a random reference to a page(must use LRU with linked list to manage page replacements. **Program should Output the following**: a)sizes b)lifetimes c)moments of creation d)moments of completion of generated processes e)reference strings for both processes, indicating page faults f)average turnaround time for each run **Code should be well-documented ** ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). ## Platform Microsoft Visual C++ 6.0
ID del proyecto: 2994775

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 21 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$51 USD en 10 días
5,0 (77 comentarios)
5,8
5,8
2 freelancers están ofertando un promedio de $51 USD por este trabajo
Avatar del usuario
See private message.
$51 USD en 10 días
4,6 (60 comentarios)
4,5
4,5

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
2
Miembro desde oct 22, 2003

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.