August 30, 2010

Oprating System :Scheduling Criteria

CPU utilization – keep the CPU as busy as possible
Throughput – # of processes that complete their execution per time unit
Turnaround time – amount of time to execute a particular process
Waiting time – amount of time a process has been waiting in the ready queue
Response time – amount of time it takes from when a request was submitted until the first response is produced, not output (for time-sharing environment)


Formula
Waiting time (WT)=start time(ST)-Arrival time (AT)
Finish time (FT)=start time(ST)+Burst Time(BT)
Total turn around time(TOT)=Finish time(FT)-Arrival time (AT )

August 10, 2010

This is called an attitude

One night President Obama and his wife Michelle decided to do something out of routine and go for a casual dinner at a restaurant that wasn't too luxurious. When they were seated, the owner of the restaurant asked the president's secret service if he could please speak to the First Lady in private. They obliged and Michelle had a conversation with the owner. Following this conversation President Obama asked Michelle, why was he so interested in talking to you. She mentioned that in her teenage years, he had been madly in love with her. President Obama then said, "so if you had married him, you would now be the owner of this lovely restaurant" , to which Michelle responded, "no, if I had married him, he would now be President"