# SimScheduler Script 4 # # Initialize the system: sysinit 256 2 # # Queue up some jobs: arrival 1000 1 10 64 arrival 1001 2 5 64 arrival 1002 3 8 128 arrival 1003 4 5 32 show # Load some IO events: IOrequest 1000 3 2 IOrequest 1000 7 1 IOrequest 1001 2 2 IOrequest 1002 1 5 IOrequest 1002 2 5 IOrequest 1002 3 5 IOrequest 1002 4 5 # # Run awhile and check state: simto 1 show simto 2 show simto 3 show simto 5 show simto 7 show simto 9 show simto 11 show simto 13 show simto 15 show # # Another IO event: IOrequest 1000 9 1 # # Queue up a few more jobs: arrival 1004 17 3 32 arrival 1005 18 5 4 arrival 1006 21 2 64 # simto 17 show simto 19 show simto 21 show simto 23 show simto 25 show simto 27 show simto 29 show simto 31 show simto 33 show simto 35 show simto 37 show simto 41 show simto 43 show simto 45 show simto 47 show simto 49 show simto 50 show