Lab 07 - Page Replacement Algorithm(revision 151103-r02)

Back to Wiki Page

Resource

  1. Have you joined SCELE Operating Systems?
  2. Have you joined SCELE Arsip?
  3. Report through SCELE Technical Problem should you find any problems!
  4. Remember, Uncle G is your friend!

Prerequisites

  1. Boot your PC through ltsp (don't press any key during boot)
  2. Login using your account
  3. Open terminal and ssh with your username on os1xx machine (Change xx with your assigned VM number). Important the ssh command is a bit different: ssh -X instead of just ssh.
    $ ssh -X your_username@os1xx.mhs.cs.ui.ac.id
  4. Create KELAS/NPM/Lab07 directory. For example my KELAS is TESTING and my NPM is 1202000818, replace it with your class (A160, B160, C160, D160, E160, EXT160, MTX160) and student ID.
    $ mkdir -p TESTING/1202000818/Lab07
    $ cd TESTING/1202000818/Lab07/
  5. Do the following to prepare the examination:
    $ wget http://opendata.ui.ac.id/os/UPDATE.x
    $ chmod +x UPDATE.x
    $ ./UPDATE.x
    $ rm -f UPDATE.x
    

Task

  1. Please create "WHAT-IS-THIS.txt" file with contents:
    ZCZC [KELAS] TGS LAB07 [TANGGAL]
    ZCZC [NPM] LOG [KETERANGAN]
    

    Change [KELAS] with your class, [TANGGAL] with today's date with format DD-MM-YY, [NPM] with your NPM, and [KETERANGAN] with short explanation.
    ZCZC TESTING TGS LAB07 16-04-16
    ZCZC 1202000818 LOG OS gampang buanget yiak!
    
  2. Listen to the Tutorial about Page Replacement Algorithm & Demand Paging.
  3. Do the Page Replacement Algorithm Lab.

Submission

  1. Within your group, discuss and write a pdf contains solution for Page Replacement Algorithm & Demand Paging problems:
    1. Minimum 2 problems for the topic Page Replacement Algorithm & Demand Paging on Arsip Ujian(183.pdf page 33, 184.pdf page 13, 94.pdf page 29 (Memori I, Memori II, Memori III), page 30 (Memory V), page 31 (Memory VI)
      Note: Do this OUTSIDE the VM machine. Do NOT wait until the lab session to do this task, do it as soon as possible so that you can focus on doing tutorial tasks instead on the lab session.
      Give the solution pdf named lab07.pdf.
  2. Copy the solution lab07.pdf to your VM. Put it in Lab07 directory. Hint: Use scp but put the origin and destination in reverse to copy it to your VM home directory. Then move the file to your Lab07 directory.
  3. Execute genbio script
    $ genbio
  4. Do md5sum Tutorial.
  5. Do Examination Tutorial.
  6. Put all your files and documents in KELAS-NPM-Lab07.tar.bz2 archive. Replace KELAS with your class (A160, B160, C160, D160, E160, EXT160, MTX160), NPM with your student ID.
    $ cd ..
    $ tar cvjf TESTING-1202000818-Lab07.tar.bz2 Lab07/
  7. Copy the tar.bz2 file to your ltsp. For example using filename before and change username to your username used to login into ltsp. Enter password when prompted.
    $ scp TESTING-1202000818-Lab07.tar.bz2 your_username@kawung.cs.ui.ac.id:TESTING-1202000818-Lab07.tar.bz2
  8. Submit your document to Scele. Each person should submit:
    1. myself.txt
    2. WHAT-IS-THIS.txt
    3. lab07.pdf
    4. MD5SUM
    5. MD5SUM.asc
    6. .periksa
  9. That's it, folks. Have fun for the rest of the week.

Back to Wiki Page