Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.33 KB | None | 0 0
  1. Create process 0 to run program examples/ex1.caoss
  2. Run process 0 (quantum=10, quota=20)
  3. Upgrade priorities
  4. Queue 0: []
  5. Queue 1: []
  6. Queue 2: []
  7. Queue 3: []
  8. Blocked []
  9. Create process 1 to run program examples/ex1.caoss
  10. Queue 0: [1]
  11. Queue 1: []
  12. Queue 2: []
  13. Queue 3: []
  14. Blocked []
  15. Create process 2 to run program examples/ex4.caoss
  16. Queue 0: [1, 2]
  17. Queue 1: []
  18. Queue 2: []
  19. Queue 3: []
  20. Blocked []
  21. Process 0: quantum expired
  22. Run process 1 (quantum=10, quota=20)
  23. Queue 0: [2, 0]
  24. Queue 1: []
  25. Queue 2: []
  26. Queue 3: []
  27. Blocked []
  28. Process 1: quantum expired
  29. Run process 2 (quantum=10, quota=20)
  30. Queue 0: [0, 1]
  31. Queue 1: []
  32. Queue 2: []
  33. Queue 3: []
  34. Blocked []
  35. Process 2: IO request
  36. Run process 0 (quantum=10, quota=10)
  37. Queue 0: [1]
  38. Queue 1: []
  39. Queue 2: []
  40. Queue 3: []
  41. Blocked [2]
  42. Process 0: quantum expired
  43. Process 0: quota expired
  44. Run process 1 (quantum=10, quota=10)
  45. Queue 0: []
  46. Queue 1: [0]
  47. Queue 2: []
  48. Queue 3: []
  49. Blocked [2]
  50. Process 2: IO concluded
  51. Queue 0: [2]
  52. Queue 1: [0]
  53. Queue 2: []
  54. Queue 3: []
  55. Blocked []
  56. Process 1: quantum expired
  57. Process 1: quota expired
  58. Run process 2 (quantum=10, quota=17)
  59. Queue 0: []
  60. Queue 1: [0, 1]
  61. Queue 2: []
  62. Queue 3: []
  63. Blocked []
  64. Process 2: IO request
  65. Run process 0 (quantum=10, quota=20)
  66. Queue 0: []
  67. Queue 1: [1]
  68. Queue 2: []
  69. Queue 3: []
  70. Blocked [2]
  71. Process 0: quantum expired
  72. Run process 1 (quantum=10, quota=20)
  73. Queue 0: []
  74. Queue 1: [0]
  75. Queue 2: []
  76. Queue 3: []
  77. Blocked [2]
  78. Process 2: IO concluded
  79. Queue 0: [2]
  80. Queue 1: [0]
  81. Queue 2: []
  82. Queue 3: []
  83. Blocked []
  84. Process 1: quantum expired
  85. Run process 2 (quantum=10, quota=16)
  86. Queue 0: []
  87. Queue 1: [0, 1]
  88. Queue 2: []
  89. Queue 3: []
  90. Blocked []
  91. Process 2: IO request
  92. Run process 0 (quantum=10, quota=10)
  93. Queue 0: []
  94. Queue 1: [1]
  95. Queue 2: []
  96. Queue 3: []
  97. Blocked [2]
  98. Process 0: quantum expired
  99. Process 0: quota expired
  100. Run process 1 (quantum=10, quota=10)
  101. Queue 0: []
  102. Queue 1: []
  103. Queue 2: [0]
  104. Queue 3: []
  105. Blocked [2]
  106. Process 2: IO concluded
  107. Queue 0: [2]
  108. Queue 1: []
  109. Queue 2: [0]
  110. Queue 3: []
  111. Blocked []
  112. Process 1: quantum expired
  113. Process 1: quota expired
  114. Run process 2 (quantum=10, quota=13)
  115. Queue 0: []
  116. Queue 1: []
  117. Queue 2: [0, 1]
  118. Queue 3: []
  119. Blocked []
  120. Process 2: IO request
  121. Run process 0 (quantum=10, quota=20)
  122. Queue 0: []
  123. Queue 1: []
  124. Queue 2: [1]
  125. Queue 3: []
  126. Blocked [2]
  127. Process 0: quantum expired
  128. Run process 1 (quantum=10, quota=20)
  129. Queue 0: []
  130. Queue 1: []
  131. Queue 2: [0]
  132. Queue 3: []
  133. Blocked [2]
  134. Process 2: IO concluded
  135. Queue 0: [2]
  136. Queue 1: []
  137. Queue 2: [0]
  138. Queue 3: []
  139. Blocked []
  140. Process 1: quantum expired
  141. Run process 2 (quantum=10, quota=12)
  142. Queue 0: []
  143. Queue 1: []
  144. Queue 2: [0, 1]
  145. Queue 3: []
  146. Blocked []
  147. Process 2: IO request
  148. Run process 0 (quantum=10, quota=10)
  149. Queue 0: []
  150. Queue 1: []
  151. Queue 2: [1]
  152. Queue 3: []
  153. Blocked [2]
  154. Process 0: quantum expired
  155. Process 0: quota expired
  156. Run process 1 (quantum=10, quota=10)
  157. Queue 0: []
  158. Queue 1: []
  159. Queue 2: []
  160. Queue 3: [0]
  161. Blocked [2]
  162. Process 2: IO concluded
  163. Queue 0: [2]
  164. Queue 1: []
  165. Queue 2: []
  166. Queue 3: [0]
  167. Blocked []
  168. Process 1: quantum expired
  169. Process 1: quota expired
  170. Run process 2 (quantum=10, quota=9)
  171. Queue 0: []
  172. Queue 1: []
  173. Queue 2: []
  174. Queue 3: [0, 1]
  175. Blocked []
  176. Process 2: IO request
  177. Run process 0 (quantum=10, quota=20)
  178. Queue 0: []
  179. Queue 1: []
  180. Queue 2: []
  181. Queue 3: [1]
  182. Blocked [2]
  183. Process 0: quantum expired
  184. Run process 1 (quantum=10, quota=20)
  185. Queue 0: []
  186. Queue 1: []
  187. Queue 2: []
  188. Queue 3: [0]
  189. Blocked [2]
  190. Process 2: IO concluded
  191. Upgrade priorities
  192. Queue 0: [2]
  193. Queue 1: [0]
  194. Queue 2: []
  195. Queue 3: []
  196. Blocked []
  197. Process 1: quantum expired
  198. Run process 2 (quantum=10, quota=20)
  199. Queue 0: []
  200. Queue 1: [0, 1]
  201. Queue 2: []
  202. Queue 3: []
  203. Blocked []
  204. Process 2: IO request
  205. Run process 0 (quantum=10, quota=20)
  206. Queue 0: []
  207. Queue 1: [1]
  208. Queue 2: []
  209. Queue 3: []
  210. Blocked [2]
  211. Process 0: quantum expired
  212. Run process 1 (quantum=10, quota=10)
  213. Queue 0: []
  214. Queue 1: [0]
  215. Queue 2: []
  216. Queue 3: []
  217. Blocked [2]
  218. Process 2: IO concluded
  219. Queue 0: [2]
  220. Queue 1: [0]
  221. Queue 2: []
  222. Queue 3: []
  223. Blocked []
  224. Process 1: quantum expired
  225. Process 1: quota expired
  226. Run process 2 (quantum=10, quota=17)
  227. Queue 0: []
  228. Queue 1: [0]
  229. Queue 2: [1]
  230. Queue 3: []
  231. Blocked []
  232. Process 2: IO request
  233. Run process 0 (quantum=10, quota=10)
  234. Queue 0: []
  235. Queue 1: []
  236. Queue 2: [1]
  237. Queue 3: []
  238. Blocked [2]
  239. Process 0: quantum expired
  240. Process 0: quota expired
  241. Run process 1 (quantum=10, quota=20)
  242. Queue 0: []
  243. Queue 1: []
  244. Queue 2: [0]
  245. Queue 3: []
  246. Blocked [2]
  247. Process 2: IO concluded
  248. Queue 0: [2]
  249. Queue 1: []
  250. Queue 2: [0]
  251. Queue 3: []
  252. Blocked []
  253. Process 1: quantum expired
  254. Run process 2 (quantum=10, quota=16)
  255. Queue 0: []
  256. Queue 1: []
  257. Queue 2: [0, 1]
  258. Queue 3: []
  259. Blocked []
  260. Process 2: IO request
  261. Run process 0 (quantum=10, quota=20)
  262. Queue 0: []
  263. Queue 1: []
  264. Queue 2: [1]
  265. Queue 3: []
  266. Blocked [2]
  267. Process 0: quantum expired
  268. Run process 1 (quantum=10, quota=10)
  269. Queue 0: []
  270. Queue 1: []
  271. Queue 2: [0]
  272. Queue 3: []
  273. Blocked [2]
  274. Process 2: IO concluded
  275. Queue 0: [2]
  276. Queue 1: []
  277. Queue 2: [0]
  278. Queue 3: []
  279. Blocked []
  280. Process 1: quantum expired
  281. Process 1: quota expired
  282. Run process 2 (quantum=10, quota=13)
  283. Queue 0: []
  284. Queue 1: []
  285. Queue 2: [0]
  286. Queue 3: [1]
  287. Blocked []
  288. Process 2: IO request
  289. Run process 0 (quantum=10, quota=10)
  290. Queue 0: []
  291. Queue 1: []
  292. Queue 2: []
  293. Queue 3: [1]
  294. Blocked [2]
  295. Process 0: quantum expired
  296. Process 0: quota expired
  297. Run process 1 (quantum=10, quota=20)
  298. Queue 0: []
  299. Queue 1: []
  300. Queue 2: []
  301. Queue 3: [0]
  302. Blocked [2]
  303. Process 2: IO concluded
  304. Queue 0: [2]
  305. Queue 1: []
  306. Queue 2: []
  307. Queue 3: [0]
  308. Blocked []
  309. Process 1: quantum expired
  310. Run process 2 (quantum=10, quota=12)
  311. Queue 0: []
  312. Queue 1: []
  313. Queue 2: []
  314. Queue 3: [0, 1]
  315. Blocked []
  316. Process 2: IO request
  317. Run process 0 (quantum=10, quota=20)
  318. Queue 0: []
  319. Queue 1: []
  320. Queue 2: []
  321. Queue 3: [1]
  322. Blocked [2]
  323. Process 0: quantum expired
  324. Run process 1 (quantum=10, quota=10)
  325. Queue 0: []
  326. Queue 1: []
  327. Queue 2: []
  328. Queue 3: [0]
  329. Blocked [2]
  330. Process 1: execution concluded
  331. Process 1: turnarround time: 265
  332. Run process 0 (quantum=10, quota=10)
  333. Queue 0: []
  334. Queue 1: []
  335. Queue 2: []
  336. Queue 3: []
  337. Blocked [2]
  338. Process 2: IO concluded
  339. Queue 0: [2]
  340. Queue 1: []
  341. Queue 2: []
  342. Queue 3: []
  343. Blocked []
  344. Process 0: quantum expired
  345. Process 0: quota expired
  346. Run process 2 (quantum=10, quota=9)
  347. Queue 0: []
  348. Queue 1: []
  349. Queue 2: []
  350. Queue 3: [0]
  351. Blocked []
  352. Process 2: IO request
  353. Run process 0 (quantum=10, quota=20)
  354. Queue 0: []
  355. Queue 1: []
  356. Queue 2: []
  357. Queue 3: []
  358. Blocked [2]
  359. Process 0: quantum expired
  360. Run process 0 (quantum=10, quota=10)
  361. Queue 0: []
  362. Queue 1: []
  363. Queue 2: []
  364. Queue 3: []
  365. Blocked [2]
  366. Process 2: IO concluded
  367. Queue 0: [2]
  368. Queue 1: []
  369. Queue 2: []
  370. Queue 3: []
  371. Blocked []
  372. Process 0: quantum expired
  373. Process 0: quota expired
  374. Run process 2 (quantum=10, quota=8)
  375. Queue 0: []
  376. Queue 1: []
  377. Queue 2: []
  378. Queue 3: [0]
  379. Blocked []
  380. Process 2: IO request
  381. Run process 0 (quantum=10, quota=20)
  382. Queue 0: []
  383. Queue 1: []
  384. Queue 2: []
  385. Queue 3: []
  386. Blocked [2]
  387. Process 0: quantum expired
  388. Run process 0 (quantum=10, quota=10)
  389. Upgrade priorities
  390. Queue 0: []
  391. Queue 1: []
  392. Queue 2: []
  393. Queue 3: []
  394. Blocked [2]
  395. Process 2: IO concluded
  396. Queue 0: [2]
  397. Queue 1: []
  398. Queue 2: []
  399. Queue 3: []
  400. Blocked []
  401. Process 0: quantum expired
  402. Run process 2 (quantum=10, quota=20)
  403. Queue 0: []
  404. Queue 1: [0]
  405. Queue 2: []
  406. Queue 3: []
  407. Blocked []
  408. Process 2: IO request
  409. Run process 0 (quantum=10, quota=10)
  410. Queue 0: []
  411. Queue 1: []
  412. Queue 2: []
  413. Queue 3: []
  414. Blocked [2]
  415. Process 0: quantum expired
  416. Process 0: quota expired
  417. Run process 0 (quantum=10, quota=20)
  418. Queue 0: []
  419. Queue 1: []
  420. Queue 2: []
  421. Queue 3: []
  422. Blocked [2]
  423. Process 2: IO concluded
  424. Queue 0: [2]
  425. Queue 1: []
  426. Queue 2: []
  427. Queue 3: []
  428. Blocked []
  429. Process 0: quantum expired
  430. Run process 2 (quantum=10, quota=19)
  431. Queue 0: []
  432. Queue 1: []
  433. Queue 2: [0]
  434. Queue 3: []
  435. Blocked []
  436. Process 2: IO request
  437. Run process 0 (quantum=10, quota=10)
  438. Queue 0: []
  439. Queue 1: []
  440. Queue 2: []
  441. Queue 3: []
  442. Blocked [2]
  443. Process 0: quantum expired
  444. Process 0: quota expired
  445. Run process 0 (quantum=10, quota=20)
  446. Queue 0: []
  447. Queue 1: []
  448. Queue 2: []
  449. Queue 3: []
  450. Blocked [2]
  451. Process 2: IO concluded
  452. Queue 0: [2]
  453. Queue 1: []
  454. Queue 2: []
  455. Queue 3: []
  456. Blocked []
  457. Process 0: quantum expired
  458. Run process 2 (quantum=10, quota=16)
  459. Queue 0: []
  460. Queue 1: []
  461. Queue 2: []
  462. Queue 3: [0]
  463. Blocked []
  464. Process 2: IO request
  465. Run process 0 (quantum=10, quota=10)
  466. Queue 0: []
  467. Queue 1: []
  468. Queue 2: []
  469. Queue 3: []
  470. Blocked [2]
  471. Process 0: quantum expired
  472. Process 0: quota expired
  473. Run process 0 (quantum=10, quota=20)
  474. Queue 0: []
  475. Queue 1: []
  476. Queue 2: []
  477. Queue 3: []
  478. Blocked [2]
  479. Process 2: IO concluded
  480. Queue 0: [2]
  481. Queue 1: []
  482. Queue 2: []
  483. Queue 3: []
  484. Blocked []
  485. Process 0: quantum expired
  486. Run process 2 (quantum=10, quota=15)
  487. Queue 0: []
  488. Queue 1: []
  489. Queue 2: []
  490. Queue 3: [0]
  491. Blocked []
  492. Process 2: IO request
  493. Run process 0 (quantum=10, quota=10)
  494. Queue 0: []
  495. Queue 1: []
  496. Queue 2: []
  497. Queue 3: []
  498. Blocked [2]
  499. Process 0: quantum expired
  500. Process 0: quota expired
  501. Run process 0 (quantum=10, quota=20)
  502. Queue 0: []
  503. Queue 1: []
  504. Queue 2: []
  505. Queue 3: []
  506. Blocked [2]
  507. Process 2: IO concluded
  508. Queue 0: [2]
  509. Queue 1: []
  510. Queue 2: []
  511. Queue 3: []
  512. Blocked []
  513. Process 0: quantum expired
  514. Run process 2 (quantum=10, quota=12)
  515. Queue 0: []
  516. Queue 1: []
  517. Queue 2: []
  518. Queue 3: [0]
  519. Blocked []
  520. Process 2: IO request
  521. Run process 0 (quantum=10, quota=10)
  522. Queue 0: []
  523. Queue 1: []
  524. Queue 2: []
  525. Queue 3: []
  526. Blocked [2]
  527. Process 0: quantum expired
  528. Process 0: quota expired
  529. Run process 0 (quantum=10, quota=20)
  530. Queue 0: []
  531. Queue 1: []
  532. Queue 2: []
  533. Queue 3: []
  534. Blocked [2]
  535. Process 2: IO concluded
  536. Queue 0: [2]
  537. Queue 1: []
  538. Queue 2: []
  539. Queue 3: []
  540. Blocked []
  541. Process 0: quantum expired
  542. Run process 2 (quantum=10, quota=11)
  543. Queue 0: []
  544. Queue 1: []
  545. Queue 2: []
  546. Queue 3: [0]
  547. Blocked []
  548. Process 2: IO request
  549. Run process 0 (quantum=10, quota=10)
  550. Queue 0: []
  551. Queue 1: []
  552. Queue 2: []
  553. Queue 3: []
  554. Blocked [2]
  555. Process 0: quantum expired
  556. Process 0: quota expired
  557. Run process 0 (quantum=10, quota=20)
  558. Queue 0: []
  559. Queue 1: []
  560. Queue 2: []
  561. Queue 3: []
  562. Blocked [2]
  563. Process 2: IO concluded
  564. Queue 0: [2]
  565. Queue 1: []
  566. Queue 2: []
  567. Queue 3: []
  568. Blocked []
  569. Process 0: quantum expired
  570. Run process 2 (quantum=10, quota=8)
  571. Queue 0: []
  572. Queue 1: []
  573. Queue 2: []
  574. Queue 3: [0]
  575. Blocked []
  576. Process 2: IO request
  577. Run process 0 (quantum=10, quota=10)
  578. Upgrade priorities
  579. Queue 0: []
  580. Queue 1: []
  581. Queue 2: []
  582. Queue 3: []
  583. Blocked [2]
  584. Process 0: quantum expired
  585. Run process 0 (quantum=10, quota=10)
  586. Queue 0: []
  587. Queue 1: []
  588. Queue 2: []
  589. Queue 3: []
  590. Blocked [2]
  591. Process 2: IO concluded
  592. Queue 0: [2]
  593. Queue 1: []
  594. Queue 2: []
  595. Queue 3: []
  596. Blocked []
  597. Process 0: quantum expired
  598. Process 0: quota expired
  599. Run process 2 (quantum=10, quota=20)
  600. Queue 0: []
  601. Queue 1: []
  602. Queue 2: [0]
  603. Queue 3: []
  604. Blocked []
  605. Process 2: execution concluded
  606. Process 2: turnarround time: 483
  607. Run process 0 (quantum=10, quota=20)
  608. Queue 0: []
  609. Queue 1: []
  610. Queue 2: []
  611. Queue 3: []
  612. Blocked []
  613. Process 0: quantum expired
  614. Run process 0 (quantum=10, quota=10)
  615. Queue 0: []
  616. Queue 1: []
  617. Queue 2: []
  618. Queue 3: []
  619. Blocked []
  620. Process 0: quantum expired
  621. Process 0: quota expired
  622. Run process 0 (quantum=10, quota=20)
  623. Queue 0: []
  624. Queue 1: []
  625. Queue 2: []
  626. Queue 3: []
  627. Blocked []
  628. Process 0: execution concluded
  629. Process 0: turnarround time: 504
  630. Queue 0: []
  631. Queue 1: []
  632. Queue 2: []
  633. Queue 3: []
  634. Blocked []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement