Question: 4 . I need the matlab code please: A computer system has ND disks on which NF files need to be stored. The capacity of
I need the matlab code please: A computer system has ND disks on which NF files need to be stored. The capacity of disk i is Ci bytes, the size of file j is Sj the arrival rate of requests to file j is lambda, and the average service time of a request to file j when it is stored on disk i is si j Assume ND Find the optimal allocation of files to disks that minimizes the difference in utilization between the two disks. See details below.
Disc Capacity GB
Problem notes: Store each of the files on the discs. Objective: allocate the files properly to "minimize the difference in utilization" between the two discs. What does this mean? We need to define the objective function.... How do you define it This is the major part of the problem.
Use the genetic algorithm approach, if you can. Can also evaluate a number of different combinations in MATLAB.
Lambda service time total amount of time required for disc operation for that file.
minimize difference in time of utilization between the two discs
Question: Can any file be stored on both discs to give an advantage? given lamda for each disc
Approach: Simulate disc utilization for second to determine operation time for each disc. seclambdaservice time seconds of operation
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
