Biyernes, Enero 20, 2012

All about the subject Operating System

Its been a while my friends??
how are you today??


first gusto ko malaman nyo na kahit may thesis kami ngaun and even hanggang hindi parin kami makapagdecide ng partner ko kung anu gagawin...


pero d2 nalang muna tayo sa subject na Operating System..
Marahil marami kayong nalalaman sa Operating system lalo na pag mahilig kayo sa computer..Bilang student sa universidad at kumukuha ng COMSCI naging subject namin ito.. Alam niyo ba ang  OS ay isa sa pinaka masarap at mahirap pag aralan na subject lalo na pag ikaw ang gagawa ng program mostly ang pinag aaralan kasi dito ay proper of memory management at scheduling system sa pag aaral namin nito natuto kami kung paano mas mapabilis ang bawat gawain sa programming mostly sa mga job sequencing gumagamit kami ng Array para ma test at mapagaralan ang mga to at syempre dahil given ang gagawin next week kada hands on kami na gumagawa ng program bali nag reresearch kami about sa gagawin kasi baka mabigla kami pag mismo dun na namin ginawa ng harapan..


Ang mga types ng scheduling algorithms ay
First-come, first-served scheduling (FCFS) algorithm
Shortest Job First Scheduling (SJF) algorithm
Non-preemptive priority Scheduling algorithm
Preemptive priority Scheduling algorithm
Round-Robin Scheduling algorithm
Multilevel Queue Scheduling algorithm




Ipapaliwanag ko ang ilan sa mga ito:
First-come, first-served scheduling (FCFS) algorithm
First-come First-served Scheduling follow first in first out method. As each process becomes ready, it joins the ready queue. When the current running process ceases to execute, the oldest process in the Ready queue is selected for running. That is first entered process among the available processes in the ready queue.The average waiting time for FCFS is often quite long. It is non-preemptive.


TURN AROUND TIME=WAITING TIME + SERVICE TIME





Advantages
  • Better for long processes
  • Simple method (i.e., minimum overhead on processor)
  • No starvation
Disadvantages
  • Convoy effect occurs.Even very small process should wait for its turn to come to utilize the CPU. Short process behind long process reults in lower CPU utilization.
  • Throughput is not emphasized.



Shortest Job First Scheduling (SJF) algorithm

This algorithm associates ith each process the length of the next CPU burst.Shortest-job-first scheduling is also called as shortest process next (SPN). The process with the shortest expected processing time is selected for execution, among the available processes in the ready queue. Thus, a short process will jump to the head of the queue over long jobs. If the next CPU bursts of two processes are the same then FCFS scheduling is used to break the tie.SJF scheduling algorithm is probably optimal. It givs the minimum average time for a given set of processes.It cannot be implemented at the level of short term CPU scheduling. There is no way of knowing the shortest CPU burst.
SJF can be premptive or non-preemptive. 
A premptive SJF algorithm will preempt the currently executing process if the next CPU burst of newly arrived process may be shorter than what is left to the currently executing process.
A Non-premptive SJF algorithm will allow the currently running process to finish.Preemptive SJF Scheduling is sometimes called Shortest Remaining Time First algorithm.





Advantages
  • It gives superior turnaround time performance to shortest process next because a short job is given immediate preference to a running longer job.
  • Throughput is high.
Disadvantages
  • Elapsed time (i.e., execution-completed-time) must be recorded, it results an additional overhead on the processor.
  • Starvation may be possible for the longer processes.



Round-Robin Scheduling algorithm

This type of scheduling algorithm is basically designed for time sharing system. It is similar to FCFS with preemption added.Round-Robin Scheduling is also called as time-slicing scheduling and it is a preemptive version based on a clock. That is a clock interrupt is generated at periodic intervals usually 10-100ms. When the interrupt occurs, the currently running process is placed in the ready queue and the next ready job is selected on a First-come, First-serve basis. This process is known as time-slicing, because each process is given a slice of time before being preempted.
One of the following happens:
  • The process may have a CPU urst of less than the time quantum or
  • CPU burst of currently executing process be longer than the time quantum. In this case the a context switch occurs the process is put at the tail of the ready queue.


In round-robin scheduling, the principal design issue is the length of the time quantum or time-slice to be used. If the quantum is very short, then short processes will move quickly.





Advantages
  • Round-robin is effective in a general-purpose, times-sharing system or transaction-processing system.
  • Fair treatment for all the processes.
  • Overhead on processor is low.
  • Overhead on processor is low.
  • Good response time for short processes.
Disadvantages
  • Care must be taken in choosing quantum value.
  • Processing overhead is there in handling clock interrupt.
  • Throughput is low if time quantum is too small.


Performance of RR Scheduling
  • If there are n processes in the ready queue and time quantum is q, then each process gets 1/n of the CPU time in chunks of at most q time units at once.
  • No process waits for more than (n-1)*q time units until the next time quantum.
  • The performance of RR depends on time slice.If it is large then it is the same as FCFS. If q is small then overhead is too high.

---alam nyu bang ang galing ng teacher namin d2 c sir Daez sa saglit naming nakasama cya naging msaya ung subject namin dito bukod dito interesado kasi ako about sa mga OS ang sarap kasi ng pakiramdam na na momodified mu ang isang bagay ^^

20 komento:

  1. google ads cena agencja google ads kampania adwords

    TumugonBurahin
  2. multiselect policja 2022 policja multiselect 2022 testy policyjne

    TumugonBurahin
  3. multiselect do policji 2022 testy policyjne multiselect test

    TumugonBurahin
  4. test wiedzy do policji multiselect do policji 2022 policja multiselect

    TumugonBurahin
  5. psycholog polski berlin psycholog po polsku berlin cennik psycholog polski w berlinie cennik

    TumugonBurahin
  6. projekty ogrodów łódź opinie firma ogrodnicza łódź usługi ogrodnicze łódź opinie

    TumugonBurahin
  7. pasos para agrandar el pené pastillas para agrandar el pené mercadolibre peru para engrandecer el pene , productos para alargamiento de pestañas , como agrandar el pené con pastillas

    TumugonBurahin
  8. comment grossire son penice comment grossir rapidement femme produit pour agrandir le penus , comment grossir le zizi

    TumugonBurahin
  9. comment agrandir un sweat en coton comment faire grandir mon penice comment se faire grossir le pennis , comment grossir le penice

    TumugonBurahin
  10. penis vergröserung natürliche penisvergrösserung

    TumugonBurahin
  11. testy policyjne test multiselect 2022 test psychologiczny multiselect

    TumugonBurahin
  12. policja testy 2022 testy multiselect do policji 2022 testy psychologiczne do policji

    TumugonBurahin
  13. test psychologiczny multiselect przykładowe testy do policji policja testy

    TumugonBurahin
  14. testy psychologiczne do policji 2022 test psychologiczny do policji online 2022 test do policji online 2022

    TumugonBurahin