The Open Source Swiss Army Knife

/code/c/unix_c/pipes/token_ring/
/code/c/unix_c/pipes/token_ring/ + sub-categories
http://www.sirfsup.com/
web directory content
    
      

Not logged in
Chat Register Login
return to:  http:/www.sirfsup.com      /code   /c   /unix_c   /pipes   /token_ring 
sub-categories and articles

                                                  
   --->create new sub-category


ChainOfProcesses
add

#Name Process Chain #nprocs 5 #FD off #FD2 off #Parent on

FanOfProcesses
add

#Name Process Fan #nprocs 7 #FD off #FD2 off #Parent on

HEADER.html
add

UTSA CS 3733 Operating Systems Fall 2003

CS 3733 Operating Systems, Fall 2003 Recitation 5 files



RingOfProcesses
add

#FD on #FD2 off #Parent off #Name Ring of Processes pipe(fd);

TreeOfProcesses
add

#Name Process Tree #nprocs 5 #npositions 16 #FD off #FD2 off

after_child.gif
add


ends
add


gif.tar
add


gifimage01.gif
add


gifimage01_11_.gif
add


gifimage01_14_.gif
add


gifimage01_15_.gif
add


gifimage01_17_.gif
add


gifimage01_20_.gif
add


gifimage01_2_.gif
add


gifimage01_8_.gif
add


gifimage01_9_.gif
add


gifimage02.gif
add


gifimage02_2_.gif
add


gifimage2_4.gif
add


gifimage4_2.gif
add


logfile.html
start here

Process Ring Simulator Log for joe speigle generated Tue Mar 09 20:04:24 GMT 2004

Process Ring Simulator Log for joe speigle generated Tue Mar 09 20:04:24 GMT 2004

  1. simulator output
    • code: code for the program
    • one: default configuration
    • two: Change After fork from parent to child
    • three: Change After fork from parent to either
    • four: Change After fork from parent to random
    • five: Change Choose Process from FCFS to Random
    • six: Change Scheduling from no preempt to round robin with a quantum of 5 and Choose Process from FCFS to Random
    • seven: Repeat the experiment above with a quantum of 2 and see if it behaves differently
    • eight: Change Print Atomic to Print Not Atomic with probability 0.1
    • nine: Insert a wait(NULL) call before the fprintf statement
    • ten: Change Print Atomic to Print Not Atomic with probability 0.1 and insert a wait(NULL) call before the fprintf statement
  2. questions
    1. For which of the 10 experiments was the output in the same order each time it was run?
    2. For which of the 10 experiments is the order of the output determined by the ring program, rather than by the way the processes are scheduled?
    3. For experiments 1, 8, 9 and 10 explain why you think the output was in the order that it was.
  3. answers to questions
  4. notes

rec06_assign.txt
add

CS 3733 Operating Systems, Spring 2004 Recitation Session 6 ------------------------------------------------------------------------ Week of February 23. In this session you will become familiar with the process ring

ringconfig
add

user joe speigle size 400 nprocs 5 rundelay 100 infosize 5

runring
add

#!/bin/csh setenv CLASSPATH .:/usr/local/faculty/share/java/cs3733/Ring.jar:/usr/local/faculty/share/java/cs3733/Jeli.jar java -mx64m RingDriver
   --->upload your article


User submitted category site links


(None)

-->submit a page from your site dealing with token_ring to the sirfsup! web directory for listing

return to top