POS.docx - I Memory Allocation VD Cho 5 partitions 100 KB...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
I. Memory Allocation VD: Cho 5 partitions 100 KB, 500 KB, 200 KB, 300 KB, 600 KB Đ t các partitions vào các l có size 212 KB, 417 KB, 112 KB, 426 KB Th t ứ ự 0 1 2 3 4 Partitions size (H) 100 500 200 300 600 Process size(P) 212 417 112 426 1. First fit. Đ t Process vào partitions đ u tiên có size l n h n nó ơ 212 KB is put in 500 KB partition P0H1 (New partition: 288 KB = 500 KB – 212 KB) 417 KB is put in 600 KB partition P1H4 112 KB is put in 288 KB partition P3HH1 426 KB must wait 2. Best fit. Đ t Process vào partitions có size g n v i nó nh t VD: o 212 KB is put in 300 KB partition P0H3 o 417 KB is put in 500 KB partition P1H1 o 112 KB is put in 200 KB partition P2H2 o 426 KB is put in 600 KB partition P3H4 3. Worst fit Đ t Process vào partitions có size l n nh t o 212 KB is put in 600 KB partition P0H4 (New partition: 388 KB = 600 KB – 212 KB) o 417 KB is put in 500 KB partition P1H1 o 112 KB is put in 388 KB partition P2H4 o 426 KB must wait
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
II. Segmentation
Image of page 2
III. Disk Scheduling 1. Vi t ra nháp s các request theo th t bé đ
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern