80 likes | 247 Views
ANNOUNCEMENTS. COSC 4330/6310 June 26, 2013. REMINDER. The first assignment is now due on Thursday, June 27 at 11:59:59 pm. SUBMISSION. Your program must be tested on Bayou You should mail it to jman AT cs DOT uh DOT edu Your submission should include a README file with instructions
E N D
ANNOUNCEMENTS COSC 4330/6310June 26, 2013
REMINDER • The first assignment is now due onThursday, June 27 at 11:59:59 pm
SUBMISSION • Your program must be tested on Bayou • You should mail it to jman AT cs DOT uh DOT edu • Your submission should include a README file with instructions • How to compile • How to run and explanations
CHANGES IN SPECIFICATIONS (I) • Whenever the CPU cores or the SSD are busy, you have to indicate by which processes • Minimal extra work
CHANGES IN SPECIFICATIONS (II) • You can now display either • The utilizations of the two CPU cores, that is, the fraction of time each core is being used by a process • Or • The average number of busy CPUs • Could be easier
A SAMPLE OUTPUT • Process 5 terminated at time 3344CPU cores' status: idleSSD status: busy with process 6Average number of busy cores: 0.95SSD utilization: 0.20CPU queue: emptySSD queue: 4PROCESS STATES4 Waiting5 Terminated6 Waiting Looks a bit better ifprocesses are in order
ANOTHER OUTPUT • Process 9 terminated at time 4432CPU cores' status: busy with 8 10SSD status: idleAverage number of busy cores: 0.73SSD utilization: 0.20CPU queue: 11SSD queue: emptyPROCESS STATES8 Running9 Terminated10 Running11 Ready
COULD ALSO BE • Snapshot taken at time 4432CPU cores are busy with 8 10SSD is idleAverage number of busy cores: 0.73SSD utilization is 0.20CPU queue contains process 11SSD queue is emptyPROCESS STATES8 Running9 Terminated10 Running11 Ready