Find Jobs
Hire Freelancers

A project which is small - 02/12/2016 22:27 EST

$10-30 USD

Zamknięte
Opublikowano ponad 7 lat temu

$10-30 USD

Płatne przy odbiorze
Using the process generator , generate a set of 50 processes with different memory and cycle (i.e. runtime) requirements. You may assume that the processes arrive in the system every 50 cycles (e.g., at times 0, 50,100, 150, 200, …etc.). Also, you can assume that once a process has started, it will run to completion (i.e., there is no scheduling). However, a process can only start executing if the required memory is available and can be allocated. 1. Assuming that the combined memory requirement of all 50 processes is less than 10 MB, use the system calls malloc() and free() to dynamically allocate and de-allocate memory to your processes. Measure the total system time that is required to simulate the execution of your 50 processes. 2. Develop your own memory management system with corresponding function calls my_malloc() and my_free() to manage a pre-defined block of memory of size 10MB. The function my_malloc() will try to find the required chunk of memory within the pre-defined 10MB block and allocate it to an arriving process. Upon completion, the memory partition is returned to the memory pool via the function my_free(), to be used by other processes. Compare the performance of your memory manager to the performance of malloc() and free(). Note that you memory manager does only call the system’s malloc() once to request the initial 10MB block, hence you are reducing the number of context switches. 3. Assume that the available memory is less than the sum of requirements of all 50 processes. Modify your system such that a process can only execute if the required memory can be allocated, otherwise, the process will have to wait in a special queue for memory to become available. For a given set of 50 processes, analyze the overall completion of your simulation under the assumption that: • The system only has 50% of the memory required by the set of 50 processes. • The system only has 10% of the memory required by the set of 50 processes. The required memory per process is always guaranteed to be less than system memory
Identyfikator projektu: 12260947

Informację o projekcie

4 ofert
Zdalny projekt
Aktywny 7 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
4 freelancerzy składają oferty o średniej wysokości $30 USD dla tej pracy
Awatar Użytkownika
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$50 USD w 1 dzień
4,9 (133 opinii)
6,9
6,9
Awatar Użytkownika
Dear Client, Greeting of the day ahead !!! Thanks for providing us opportunity to place bid over the project and communicate with you. I am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned .I have checked your requirements.i have right skills to work on this assignmentWe find our expertise, skills and capabilities are perfectly blends with your project requirements because we have already worked on many projects. You'll love the whole layout, interface design , cross-browser compatibility and mobile-device-friendly interfaces that we design Our team has created over dozen of windows, and web based appliations iPhone/iPad games and apps, and over 10 Windows and Linux server APIs and security tools Don't waste any more time in your development We take care of all these things for you . Advanced custom coding for our clients. Anytime. [Removed for encouraging offsite communication which is against our Terms and Conditions.]. plz add me to discus I am ready to discuss with you Looking forward to hear from you. with best Regards
$23 USD w 6 dni
1,0 (1 opinia)
1,3
1,3

O kliencie

Flaga UNITED STATES
hyderabad, United States
5,0
15
Zweryfikowana metoda płatności
Członek od gru 8, 2015

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.