-
Notifications
You must be signed in to change notification settings - Fork 2
/
hw2-grade.txt
911 lines (861 loc) · 42.3 KB
/
hw2-grade.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
TOTAL TESTING SCORE: 68.6%
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SUMMARY BY TEST SET
Test Set Pts Max % Ttl % Max
--------------------------------------------- --- --- ------ ------
tests/threads/Rubric.alarm 18/ 18 20.0%/ 20.0%
tests/threads/Rubric.priority 38/ 38 40.0%/ 40.0%
tests/threads/Rubric.mlfqs 8/ 37 8.6%/ 40.0%
--------------------------------------------- --- --- ------ ------
Total 68.6%/100.0%
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SUMMARY OF INDIVIDUAL TESTS
Functionality and robustness of alarm clock (tests/threads/Rubric.alarm):
4/ 4 tests/threads/alarm-single
4/ 4 tests/threads/alarm-multiple
4/ 4 tests/threads/alarm-simultaneous
4/ 4 tests/threads/alarm-priority
1/ 1 tests/threads/alarm-zero
1/ 1 tests/threads/alarm-negative
- Section summary.
6/ 6 tests passed
18/ 18 points subtotal
Functionality of priority scheduler (tests/threads/Rubric.priority):
3/ 3 tests/threads/priority-change
3/ 3 tests/threads/priority-preempt
3/ 3 tests/threads/priority-fifo
3/ 3 tests/threads/priority-sema
3/ 3 tests/threads/priority-condvar
3/ 3 tests/threads/priority-donate-one
3/ 3 tests/threads/priority-donate-multiple
3/ 3 tests/threads/priority-donate-multiple2
3/ 3 tests/threads/priority-donate-nest
5/ 5 tests/threads/priority-donate-chain
3/ 3 tests/threads/priority-donate-sema
3/ 3 tests/threads/priority-donate-lower
- Section summary.
12/ 12 tests passed
38/ 38 points subtotal
Functionality of advanced scheduler (tests/threads/Rubric.mlfqs):
** 0/ 5 tests/threads/mlfqs-load-1
** 0/ 5 tests/threads/mlfqs-load-60
** 0/ 3 tests/threads/mlfqs-load-avg
** 0/ 5 tests/threads/mlfqs-recent-1
5/ 5 tests/threads/mlfqs-fair-2
3/ 3 tests/threads/mlfqs-fair-20
** 0/ 4 tests/threads/mlfqs-nice-2
** 0/ 2 tests/threads/mlfqs-nice-10
** 0/ 5 tests/threads/mlfqs-block
- Section summary.
2/ 9 tests passed
8/ 37 points subtotal
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DETAILS OF tests/threads/mlfqs-load-1 FAILURE:
Kernel panic in run: PANIC at ../../tests/threads/tests.c:93 in fail(): test failed
Call stack: 0xc00282ae
Translation of call stack:
0xc00282ae: debug_panic (.../../lib/kernel/debug.c:38)
OUTPUT FROM tests/threads/mlfqs-load-1:
squish-pty bochs -q
========================================================================
Bochs x86 Emulator 2.6.7
Built from SVN snapshot on November 2, 2014
Compiled on May 28 2023 at 15:25:43
========================================================================
PiLo hda1
Loading..........
Kernel command line: -q -mlfqs run mlfqs-load-1
Pintos booting with 4,096 kB RAM...
383 pages available in kernel pool.
383 pages available in user pool.
Calibrating timer... 159,000 loops/s.
Boot complete.
Executing 'mlfqs-load-1':
(mlfqs-load-1) begin
(mlfqs-load-1) spinning for up to 45 seconds, please wait...
(mlfqs-load-1) FAIL: load average stayed below 0.5 for more than 45 seconds
Kernel PANIC at ../../tests/threads/tests.c:93 in fail(): test failed
Call stack: 0xc00282ae.
The `backtrace' program can make call stacks useful.
Read "Backtraces" in the "Debugging Tools" chapter
of the Pintos documentation for more information.
Timer: 4640 ticks
Thread: 0 idle ticks, 4640 kernel ticks, 0 user ticks
Console: 712 characters output
Keyboard: 0 keys pressed
Powering off..
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DETAILS OF tests/threads/mlfqs-load-60 FAILURE:
Some load average values were missing or differed from those expected by more than 3.5.
time actual <-> expected explanation
------ -------- --- -------- ----------------------------------------
2 0.00 = 2.95
4 0.00 <<< 4.84 Too small, by 1.34.
6 0.00 <<< 6.66 Too small, by 3.16.
8 0.00 <<< 8.42 Too small, by 4.92.
10 0.00 <<< 10.13 Too small, by 6.63.
12 0.00 <<< 11.78 Too small, by 8.28.
14 0.00 <<< 13.37 Too small, by 9.87.
16 0.00 <<< 14.91 Too small, by 11.41.
18 0.00 <<< 16.40 Too small, by 12.90.
20 0.00 <<< 17.84 Too small, by 14.34.
22 0.00 <<< 19.24 Too small, by 15.74.
24 0.00 <<< 20.58 Too small, by 17.08.
26 0.00 <<< 21.89 Too small, by 18.39.
28 0.00 <<< 23.15 Too small, by 19.65.
30 0.00 <<< 24.37 Too small, by 20.87.
32 0.00 <<< 25.54 Too small, by 22.04.
34 0.00 <<< 26.68 Too small, by 23.18.
36 0.00 <<< 27.78 Too small, by 24.28.
38 0.00 <<< 28.85 Too small, by 25.35.
40 0.00 <<< 29.88 Too small, by 26.38.
42 0.00 <<< 30.87 Too small, by 27.37.
44 0.00 <<< 31.84 Too small, by 28.34.
46 0.00 <<< 32.77 Too small, by 29.27.
48 0.00 <<< 33.67 Too small, by 30.17.
50 0.00 <<< 34.54 Too small, by 31.04.
52 0.00 <<< 35.38 Too small, by 31.88.
54 0.00 <<< 36.19 Too small, by 32.69.
56 0.00 <<< 36.98 Too small, by 33.48.
58 0.00 <<< 37.74 Too small, by 34.24.
60 0.00 <<< 37.48 Too small, by 33.98.
62 0.00 <<< 36.24 Too small, by 32.74.
64 0.00 <<< 35.04 Too small, by 31.54.
66 0.00 <<< 33.88 Too small, by 30.38.
68 0.00 <<< 32.76 Too small, by 29.26.
70 0.00 <<< 31.68 Too small, by 28.18.
72 0.00 <<< 30.63 Too small, by 27.13.
74 0.00 <<< 29.62 Too small, by 26.12.
76 0.00 <<< 28.64 Too small, by 25.14.
78 0.00 <<< 27.69 Too small, by 24.19.
80 0.00 <<< 26.78 Too small, by 23.28.
82 0.00 <<< 25.89 Too small, by 22.39.
84 0.00 <<< 25.04 Too small, by 21.54.
86 0.00 <<< 24.21 Too small, by 20.71.
88 0.00 <<< 23.41 Too small, by 19.91.
90 0.00 <<< 22.64 Too small, by 19.14.
92 0.00 <<< 21.89 Too small, by 18.39.
94 0.00 <<< 21.16 Too small, by 17.66.
96 0.00 <<< 20.46 Too small, by 16.96.
98 0.00 <<< 19.79 Too small, by 16.29.
100 0.00 <<< 19.13 Too small, by 15.63.
102 0.00 <<< 18.50 Too small, by 15.00.
104 0.00 <<< 17.89 Too small, by 14.39.
106 0.00 <<< 17.30 Too small, by 13.80.
108 0.00 <<< 16.73 Too small, by 13.23.
110 0.00 <<< 16.17 Too small, by 12.67.
112 0.00 <<< 15.64 Too small, by 12.14.
114 0.00 <<< 15.12 Too small, by 11.62.
116 0.00 <<< 14.62 Too small, by 11.12.
118 0.00 <<< 14.14 Too small, by 10.64.
120 0.00 <<< 13.67 Too small, by 10.17.
122 0.00 <<< 13.22 Too small, by 9.72.
124 0.00 <<< 12.78 Too small, by 9.28.
126 0.00 <<< 12.36 Too small, by 8.86.
128 0.00 <<< 11.95 Too small, by 8.45.
130 0.00 <<< 11.56 Too small, by 8.06.
132 0.00 <<< 11.17 Too small, by 7.67.
134 0.00 <<< 10.80 Too small, by 7.30.
136 0.00 <<< 10.45 Too small, by 6.95.
138 0.00 <<< 10.10 Too small, by 6.60.
140 0.00 <<< 9.77 Too small, by 6.27.
142 0.00 <<< 9.45 Too small, by 5.95.
144 0.00 <<< 9.13 Too small, by 5.63.
146 0.00 <<< 8.83 Too small, by 5.33.
148 0.00 <<< 8.54 Too small, by 5.04.
150 0.00 <<< 8.26 Too small, by 4.76.
152 0.00 <<< 7.98 Too small, by 4.48.
154 0.00 <<< 7.72 Too small, by 4.22.
156 0.00 <<< 7.47 Too small, by 3.97.
158 0.00 <<< 7.22 Too small, by 3.72.
160 0.00 <<< 6.98 Too small, by 3.48.
162 0.00 <<< 6.75 Too small, by 3.25.
164 0.00 <<< 6.53 Too small, by 3.03.
166 0.00 <<< 6.31 Too small, by 2.81.
168 0.00 <<< 6.10 Too small, by 2.60.
170 0.00 <<< 5.90 Too small, by 2.40.
172 0.00 <<< 5.70 Too small, by 2.20.
174 0.00 <<< 5.52 Too small, by 2.02.
176 0.00 <<< 5.33 Too small, by 1.83.
178 0.00 <<< 5.16 Too small, by 1.66.
OUTPUT FROM tests/threads/mlfqs-load-60:
squish-pty bochs -q
========================================================================
Bochs x86 Emulator 2.6.7
Built from SVN snapshot on November 2, 2014
Compiled on May 28 2023 at 15:25:43
========================================================================
PiLo hda1
Loading..........
Kernel command line: -q -mlfqs run mlfqs-load-60
Pintos booting with 4,096 kB RAM...
383 pages available in kernel pool.
383 pages available in user pool.
Calibrating timer... 159,000 loops/s.
Boot complete.
Executing 'mlfqs-load-60':
(mlfqs-load-60) begin
(mlfqs-load-60) Starting 60 niced load threads...
(mlfqs-load-60) Starting threads took 1 seconds.
(mlfqs-load-60) After 0 seconds, load average=0.00.
(mlfqs-load-60) After 2 seconds, load average=0.00.
(mlfqs-load-60) After 4 seconds, load average=0.00.
(mlfqs-load-60) After 6 seconds, load average=0.00.
(mlfqs-load-60) After 8 seconds, load average=0.00.
(mlfqs-load-60) After 10 seconds, load average=0.00.
(mlfqs-load-60) After 12 seconds, load average=0.00.
(mlfqs-load-60) After 14 seconds, load average=0.00.
(mlfqs-load-60) After 16 seconds, load average=0.00.
(mlfqs-load-60) After 18 seconds, load average=0.00.
(mlfqs-load-60) After 20 seconds, load average=0.00.
(mlfqs-load-60) After 22 seconds, load average=0.00.
(mlfqs-load-60) After 24 seconds, load average=0.00.
(mlfqs-load-60) After 26 seconds, load average=0.00.
(mlfqs-load-60) After 28 seconds, load average=0.00.
(mlfqs-load-60) After 30 seconds, load average=0.00.
(mlfqs-load-60) After 32 seconds, load average=0.00.
(mlfqs-load-60) After 34 seconds, load average=0.00.
(mlfqs-load-60) After 36 seconds, load average=0.00.
(mlfqs-load-60) After 38 seconds, load average=0.00.
(mlfqs-load-60) After 40 seconds, load average=0.00.
(mlfqs-load-60) After 42 seconds, load average=0.00.
(mlfqs-load-60) After 44 seconds, load average=0.00.
(mlfqs-load-60) After 46 seconds, load average=0.00.
(mlfqs-load-60) After 48 seconds, load average=0.00.
(mlfqs-load-60) After 50 seconds, load average=0.00.
(mlfqs-load-60) After 52 seconds, load average=0.00.
(mlfqs-load-60) After 54 seconds, load average=0.00.
(mlfqs-load-60) After 56 seconds, load average=0.00.
(mlfqs-load-60) After 58 seconds, load average=0.00.
(mlfqs-load-60) After 60 seconds, load average=0.00.
(mlfqs-load-60) After 62 seconds, load average=0.00.
(mlfqs-load-60) After 64 seconds, load average=0.00.
(mlfqs-load-60) After 66 seconds, load average=0.00.
(mlfqs-load-60) After 68 seconds, load average=0.00.
(mlfqs-load-60) After 70 seconds, load average=0.00.
(mlfqs-load-60) After 72 seconds, load average=0.00.
(mlfqs-load-60) After 74 seconds, load average=0.00.
(mlfqs-load-60) After 76 seconds, load average=0.00.
(mlfqs-load-60) After 78 seconds, load average=0.00.
(mlfqs-load-60) After 80 seconds, load average=0.00.
(mlfqs-load-60) After 82 seconds, load average=0.00.
(mlfqs-load-60) After 84 seconds, load average=0.00.
(mlfqs-load-60) After 86 seconds, load average=0.00.
(mlfqs-load-60) After 88 seconds, load average=0.00.
(mlfqs-load-60) After 90 seconds, load average=0.00.
(mlfqs-load-60) After 92 seconds, load average=0.00.
(mlfqs-load-60) After 94 seconds, load average=0.00.
(mlfqs-load-60) After 96 seconds, load average=0.00.
(mlfqs-load-60) After 98 seconds, load average=0.00.
(mlfqs-load-60) After 100 seconds, load average=0.00.
(mlfqs-load-60) After 102 seconds, load average=0.00.
(mlfqs-load-60) After 104 seconds, load average=0.00.
(mlfqs-load-60) After 106 seconds, load average=0.00.
(mlfqs-load-60) After 108 seconds, load average=0.00.
(mlfqs-load-60) After 110 seconds, load average=0.00.
(mlfqs-load-60) After 112 seconds, load average=0.00.
(mlfqs-load-60) After 114 seconds, load average=0.00.
(mlfqs-load-60) After 116 seconds, load average=0.00.
(mlfqs-load-60) After 118 seconds, load average=0.00.
(mlfqs-load-60) After 120 seconds, load average=0.00.
(mlfqs-load-60) After 122 seconds, load average=0.00.
(mlfqs-load-60) After 124 seconds, load average=0.00.
(mlfqs-load-60) After 126 seconds, load average=0.00.
(mlfqs-load-60) After 128 seconds, load average=0.00.
(mlfqs-load-60) After 130 seconds, load average=0.00.
(mlfqs-load-60) After 132 seconds, load average=0.00.
(mlfqs-load-60) After 134 seconds, load average=0.00.
(mlfqs-load-60) After 136 seconds, load average=0.00.
(mlfqs-load-60) After 138 seconds, load average=0.00.
(mlfqs-load-60) After 140 seconds, load average=0.00.
(mlfqs-load-60) After 142 seconds, load average=0.00.
(mlfqs-load-60) After 144 seconds, load average=0.00.
(mlfqs-load-60) After 146 seconds, load average=0.00.
(mlfqs-load-60) After 148 seconds, load average=0.00.
(mlfqs-load-60) After 150 seconds, load average=0.00.
(mlfqs-load-60) After 152 seconds, load average=0.00.
(mlfqs-load-60) After 154 seconds, load average=0.00.
(mlfqs-load-60) After 156 seconds, load average=0.00.
(mlfqs-load-60) After 158 seconds, load average=0.00.
(mlfqs-load-60) After 160 seconds, load average=0.00.
(mlfqs-load-60) After 162 seconds, load average=0.00.
(mlfqs-load-60) After 164 seconds, load average=0.00.
(mlfqs-load-60) After 166 seconds, load average=0.00.
(mlfqs-load-60) After 168 seconds, load average=0.00.
(mlfqs-load-60) After 170 seconds, load average=0.00.
(mlfqs-load-60) After 172 seconds, load average=0.00.
(mlfqs-load-60) After 174 seconds, load average=0.00.
(mlfqs-load-60) After 176 seconds, load average=0.00.
(mlfqs-load-60) After 178 seconds, load average=0.00.
(mlfqs-load-60) end
Execution of 'mlfqs-load-60' complete.
Timer: 18840 ticks
Thread: 12161 idle ticks, 6681 kernel ticks, 0 user ticks
Console: 5298 characters output
Keyboard: 0 keys pressed
Powering off..
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DETAILS OF tests/threads/mlfqs-load-avg FAILURE:
Some load average values were missing or differed from those expected by more than 2.5.
time actual <-> expected explanation
------ -------- --- -------- ----------------------------------------
2 0.00 = 0.05
4 0.00 = 0.16
6 0.00 = 0.34
8 0.00 = 0.58
10 0.00 = 0.87
12 0.00 = 1.22
14 0.00 = 1.63
16 0.00 = 2.09
18 0.00 <<< 2.60 Too small, by 0.10.
20 0.00 <<< 3.16 Too small, by 0.66.
22 0.00 <<< 3.76 Too small, by 1.26.
24 0.00 <<< 4.42 Too small, by 1.92.
26 0.00 <<< 5.11 Too small, by 2.61.
28 0.00 <<< 5.85 Too small, by 3.35.
30 0.00 <<< 6.63 Too small, by 4.13.
32 0.00 <<< 7.46 Too small, by 4.96.
34 0.00 <<< 8.32 Too small, by 5.82.
36 0.00 <<< 9.22 Too small, by 6.72.
38 0.00 <<< 10.15 Too small, by 7.65.
40 0.00 <<< 11.12 Too small, by 8.62.
42 0.00 <<< 12.13 Too small, by 9.63.
44 0.00 <<< 13.16 Too small, by 10.66.
46 0.00 <<< 14.23 Too small, by 11.73.
48 0.00 <<< 15.33 Too small, by 12.83.
50 0.00 <<< 16.46 Too small, by 13.96.
52 0.00 <<< 17.62 Too small, by 15.12.
54 0.00 <<< 18.81 Too small, by 16.31.
56 0.00 <<< 20.02 Too small, by 17.52.
58 0.00 <<< 21.26 Too small, by 18.76.
60 0.00 <<< 22.52 Too small, by 20.02.
62 0.00 <<< 23.71 Too small, by 21.21.
64 0.00 <<< 24.80 Too small, by 22.30.
66 0.00 <<< 25.78 Too small, by 23.28.
68 0.00 <<< 26.66 Too small, by 24.16.
70 0.00 <<< 27.45 Too small, by 24.95.
72 0.00 <<< 28.14 Too small, by 25.64.
74 0.00 <<< 28.75 Too small, by 26.25.
76 0.00 <<< 29.27 Too small, by 26.77.
78 0.00 <<< 29.71 Too small, by 27.21.
80 0.00 <<< 30.06 Too small, by 27.56.
82 0.00 <<< 30.34 Too small, by 27.84.
84 0.00 <<< 30.55 Too small, by 28.05.
86 0.00 <<< 30.68 Too small, by 28.18.
88 0.00 <<< 30.74 Too small, by 28.24.
90 0.00 <<< 30.73 Too small, by 28.23.
92 0.00 <<< 30.66 Too small, by 28.16.
94 0.00 <<< 30.52 Too small, by 28.02.
96 0.00 <<< 30.32 Too small, by 27.82.
98 0.00 <<< 30.06 Too small, by 27.56.
100 0.00 <<< 29.74 Too small, by 27.24.
102 0.00 <<< 29.37 Too small, by 26.87.
104 0.00 <<< 28.95 Too small, by 26.45.
106 0.00 <<< 28.47 Too small, by 25.97.
108 0.00 <<< 27.94 Too small, by 25.44.
110 0.00 <<< 27.36 Too small, by 24.86.
112 0.00 <<< 26.74 Too small, by 24.24.
114 0.00 <<< 26.07 Too small, by 23.57.
116 0.00 <<< 25.36 Too small, by 22.86.
118 0.00 <<< 24.60 Too small, by 22.10.
120 0.00 <<< 23.81 Too small, by 21.31.
122 0.00 <<< 23.02 Too small, by 20.52.
124 0.00 <<< 22.26 Too small, by 19.76.
126 0.00 <<< 21.52 Too small, by 19.02.
128 0.00 <<< 20.81 Too small, by 18.31.
130 0.00 <<< 20.12 Too small, by 17.62.
132 0.00 <<< 19.46 Too small, by 16.96.
134 0.00 <<< 18.81 Too small, by 16.31.
136 0.00 <<< 18.19 Too small, by 15.69.
138 0.00 <<< 17.59 Too small, by 15.09.
140 0.00 <<< 17.01 Too small, by 14.51.
142 0.00 <<< 16.45 Too small, by 13.95.
144 0.00 <<< 15.90 Too small, by 13.40.
146 0.00 <<< 15.38 Too small, by 12.88.
148 0.00 <<< 14.87 Too small, by 12.37.
150 0.00 <<< 14.38 Too small, by 11.88.
152 0.00 <<< 13.90 Too small, by 11.40.
154 0.00 <<< 13.44 Too small, by 10.94.
156 0.00 <<< 13.00 Too small, by 10.50.
158 0.00 <<< 12.57 Too small, by 10.07.
160 0.00 <<< 12.15 Too small, by 9.65.
162 0.00 <<< 11.75 Too small, by 9.25.
164 0.00 <<< 11.36 Too small, by 8.86.
166 0.00 <<< 10.99 Too small, by 8.49.
168 0.00 <<< 10.62 Too small, by 8.12.
170 0.00 <<< 10.27 Too small, by 7.77.
172 0.00 <<< 9.93 Too small, by 7.43.
174 0.00 <<< 9.61 Too small, by 7.11.
176 0.00 <<< 9.29 Too small, by 6.79.
178 0.00 <<< 8.98 Too small, by 6.48.
OUTPUT FROM tests/threads/mlfqs-load-avg:
squish-pty bochs -q
========================================================================
Bochs x86 Emulator 2.6.7
Built from SVN snapshot on November 2, 2014
Compiled on May 28 2023 at 15:25:43
========================================================================
PiLo hda1
Loading..........
Kernel command line: -q -mlfqs run mlfqs-load-avg
Pintos booting with 4,096 kB RAM...
383 pages available in kernel pool.
383 pages available in user pool.
Calibrating timer... 159,000 loops/s.
Boot complete.
Executing 'mlfqs-load-avg':
(mlfqs-load-avg) begin
(mlfqs-load-avg) Starting 60 load threads...
(mlfqs-load-avg) Starting threads took 1 seconds.
(mlfqs-load-avg) After 0 seconds, load average=0.00.
(mlfqs-load-avg) After 2 seconds, load average=0.00.
(mlfqs-load-avg) After 4 seconds, load average=0.00.
(mlfqs-load-avg) After 6 seconds, load average=0.00.
(mlfqs-load-avg) After 8 seconds, load average=0.00.
(mlfqs-load-avg) After 10 seconds, load average=0.00.
(mlfqs-load-avg) After 12 seconds, load average=0.00.
(mlfqs-load-avg) After 14 seconds, load average=0.00.
(mlfqs-load-avg) After 16 seconds, load average=0.00.
(mlfqs-load-avg) After 18 seconds, load average=0.00.
(mlfqs-load-avg) After 20 seconds, load average=0.00.
(mlfqs-load-avg) After 22 seconds, load average=0.00.
(mlfqs-load-avg) After 24 seconds, load average=0.00.
(mlfqs-load-avg) After 26 seconds, load average=0.00.
(mlfqs-load-avg) After 28 seconds, load average=0.00.
(mlfqs-load-avg) After 30 seconds, load average=0.00.
(mlfqs-load-avg) After 32 seconds, load average=0.00.
(mlfqs-load-avg) After 34 seconds, load average=0.00.
(mlfqs-load-avg) After 36 seconds, load average=0.00.
(mlfqs-load-avg) After 38 seconds, load average=0.00.
(mlfqs-load-avg) After 40 seconds, load average=0.00.
(mlfqs-load-avg) After 42 seconds, load average=0.00.
(mlfqs-load-avg) After 44 seconds, load average=0.00.
(mlfqs-load-avg) After 46 seconds, load average=0.00.
(mlfqs-load-avg) After 48 seconds, load average=0.00.
(mlfqs-load-avg) After 50 seconds, load average=0.00.
(mlfqs-load-avg) After 52 seconds, load average=0.00.
(mlfqs-load-avg) After 54 seconds, load average=0.00.
(mlfqs-load-avg) After 56 seconds, load average=0.00.
(mlfqs-load-avg) After 58 seconds, load average=0.00.
(mlfqs-load-avg) After 60 seconds, load average=0.00.
(mlfqs-load-avg) After 62 seconds, load average=0.00.
(mlfqs-load-avg) After 64 seconds, load average=0.00.
(mlfqs-load-avg) After 66 seconds, load average=0.00.
(mlfqs-load-avg) After 68 seconds, load average=0.00.
(mlfqs-load-avg) After 70 seconds, load average=0.00.
(mlfqs-load-avg) After 72 seconds, load average=0.00.
(mlfqs-load-avg) After 74 seconds, load average=0.00.
(mlfqs-load-avg) After 76 seconds, load average=0.00.
(mlfqs-load-avg) After 78 seconds, load average=0.00.
(mlfqs-load-avg) After 80 seconds, load average=0.00.
(mlfqs-load-avg) After 82 seconds, load average=0.00.
(mlfqs-load-avg) After 84 seconds, load average=0.00.
(mlfqs-load-avg) After 86 seconds, load average=0.00.
(mlfqs-load-avg) After 88 seconds, load average=0.00.
(mlfqs-load-avg) After 90 seconds, load average=0.00.
(mlfqs-load-avg) After 92 seconds, load average=0.00.
(mlfqs-load-avg) After 94 seconds, load average=0.00.
(mlfqs-load-avg) After 96 seconds, load average=0.00.
(mlfqs-load-avg) After 98 seconds, load average=0.00.
(mlfqs-load-avg) After 100 seconds, load average=0.00.
(mlfqs-load-avg) After 102 seconds, load average=0.00.
(mlfqs-load-avg) After 104 seconds, load average=0.00.
(mlfqs-load-avg) After 106 seconds, load average=0.00.
(mlfqs-load-avg) After 108 seconds, load average=0.00.
(mlfqs-load-avg) After 110 seconds, load average=0.00.
(mlfqs-load-avg) After 112 seconds, load average=0.00.
(mlfqs-load-avg) After 114 seconds, load average=0.00.
(mlfqs-load-avg) After 116 seconds, load average=0.00.
(mlfqs-load-avg) After 118 seconds, load average=0.00.
(mlfqs-load-avg) After 120 seconds, load average=0.00.
(mlfqs-load-avg) After 122 seconds, load average=0.00.
(mlfqs-load-avg) After 124 seconds, load average=0.00.
(mlfqs-load-avg) After 126 seconds, load average=0.00.
(mlfqs-load-avg) After 128 seconds, load average=0.00.
(mlfqs-load-avg) After 130 seconds, load average=0.00.
(mlfqs-load-avg) After 132 seconds, load average=0.00.
(mlfqs-load-avg) After 134 seconds, load average=0.00.
(mlfqs-load-avg) After 136 seconds, load average=0.00.
(mlfqs-load-avg) After 138 seconds, load average=0.00.
(mlfqs-load-avg) After 140 seconds, load average=0.00.
(mlfqs-load-avg) After 142 seconds, load average=0.00.
(mlfqs-load-avg) After 144 seconds, load average=0.00.
(mlfqs-load-avg) After 146 seconds, load average=0.00.
(mlfqs-load-avg) After 148 seconds, load average=0.00.
(mlfqs-load-avg) After 150 seconds, load average=0.00.
(mlfqs-load-avg) After 152 seconds, load average=0.00.
(mlfqs-load-avg) After 154 seconds, load average=0.00.
(mlfqs-load-avg) After 156 seconds, load average=0.00.
(mlfqs-load-avg) After 158 seconds, load average=0.00.
(mlfqs-load-avg) After 160 seconds, load average=0.00.
(mlfqs-load-avg) After 162 seconds, load average=0.00.
(mlfqs-load-avg) After 164 seconds, load average=0.00.
(mlfqs-load-avg) After 166 seconds, load average=0.00.
(mlfqs-load-avg) After 168 seconds, load average=0.00.
(mlfqs-load-avg) After 170 seconds, load average=0.00.
(mlfqs-load-avg) After 172 seconds, load average=0.00.
(mlfqs-load-avg) After 174 seconds, load average=0.00.
(mlfqs-load-avg) After 176 seconds, load average=0.00.
(mlfqs-load-avg) After 178 seconds, load average=0.00.
(mlfqs-load-avg) end
Execution of 'mlfqs-load-avg' complete.
Timer: 18840 ticks
Thread: 6566 idle ticks, 12276 kernel ticks, 0 user ticks
Console: 5389 characters output
Keyboard: 0 keys pressed
Powering off..
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DETAILS OF tests/threads/mlfqs-recent-1 FAILURE:
Some recent_cpu values were missing or differed from those expected by more than 2.5.
time actual <-> expected explanation
------ -------- --- -------- ----------------------------------------
2 0.00 <<< 6.40 Too small, by 3.90.
4 0.00 <<< 12.60 Too small, by 10.10.
6 0.00 <<< 18.61 Too small, by 16.11.
8 0.00 <<< 24.44 Too small, by 21.94.
10 0.00 <<< 30.08 Too small, by 27.58.
12 0.00 <<< 35.54 Too small, by 33.04.
14 0.00 <<< 40.83 Too small, by 38.33.
16 0.00 <<< 45.96 Too small, by 43.46.
18 0.00 <<< 50.92 Too small, by 48.42.
20 0.00 <<< 55.73 Too small, by 53.23.
22 0.00 <<< 60.39 Too small, by 57.89.
24 0.00 <<< 64.90 Too small, by 62.40.
26 0.00 <<< 69.27 Too small, by 66.77.
28 0.00 <<< 73.50 Too small, by 71.00.
30 0.00 <<< 77.60 Too small, by 75.10.
32 0.00 <<< 81.56 Too small, by 79.06.
34 0.00 <<< 85.40 Too small, by 82.90.
36 0.00 <<< 89.12 Too small, by 86.62.
38 0.00 <<< 92.72 Too small, by 90.22.
40 0.00 <<< 96.20 Too small, by 93.70.
42 0.00 <<< 99.57 Too small, by 97.07.
44 0.00 <<< 102.84 Too small, by 100.34.
46 0.00 <<< 106.00 Too small, by 103.50.
48 0.00 <<< 109.06 Too small, by 106.56.
50 0.00 <<< 112.02 Too small, by 109.52.
52 0.00 <<< 114.89 Too small, by 112.39.
54 0.00 <<< 117.66 Too small, by 115.16.
56 0.00 <<< 120.34 Too small, by 117.84.
58 0.00 <<< 122.94 Too small, by 120.44.
60 0.00 <<< 125.46 Too small, by 122.96.
62 0.00 <<< 127.89 Too small, by 125.39.
64 0.00 <<< 130.25 Too small, by 127.75.
66 0.00 <<< 132.53 Too small, by 130.03.
68 0.00 <<< 134.73 Too small, by 132.23.
70 0.00 <<< 136.86 Too small, by 134.36.
72 0.00 <<< 138.93 Too small, by 136.43.
74 0.00 <<< 140.93 Too small, by 138.43.
76 0.00 <<< 142.86 Too small, by 140.36.
78 0.00 <<< 144.73 Too small, by 142.23.
80 0.00 <<< 146.54 Too small, by 144.04.
82 0.00 <<< 148.29 Too small, by 145.79.
84 0.00 <<< 149.99 Too small, by 147.49.
86 0.00 <<< 151.63 Too small, by 149.13.
88 0.00 <<< 153.21 Too small, by 150.71.
90 0.00 <<< 154.75 Too small, by 152.25.
92 0.00 <<< 156.23 Too small, by 153.73.
94 0.00 <<< 157.67 Too small, by 155.17.
96 0.00 <<< 159.06 Too small, by 156.56.
98 0.00 <<< 160.40 Too small, by 157.90.
100 0.00 <<< 161.70 Too small, by 159.20.
102 0.00 <<< 162.96 Too small, by 160.46.
104 0.00 <<< 164.18 Too small, by 161.68.
106 0.00 <<< 165.35 Too small, by 162.85.
108 0.00 <<< 166.49 Too small, by 163.99.
110 0.00 <<< 167.59 Too small, by 165.09.
112 0.00 <<< 168.66 Too small, by 166.16.
114 0.00 <<< 169.69 Too small, by 167.19.
116 0.00 <<< 170.69 Too small, by 168.19.
118 0.00 <<< 171.65 Too small, by 169.15.
120 0.00 <<< 172.58 Too small, by 170.08.
122 0.00 <<< 173.49 Too small, by 170.99.
124 0.00 <<< 174.36 Too small, by 171.86.
126 0.00 <<< 175.20 Too small, by 172.70.
128 0.00 <<< 176.02 Too small, by 173.52.
130 0.00 <<< 176.81 Too small, by 174.31.
132 0.00 <<< 177.57 Too small, by 175.07.
134 0.00 <<< 178.31 Too small, by 175.81.
136 0.00 <<< 179.02 Too small, by 176.52.
138 0.00 <<< 179.72 Too small, by 177.22.
140 0.00 <<< 180.38 Too small, by 177.88.
142 0.00 <<< 181.03 Too small, by 178.53.
144 0.00 <<< 181.65 Too small, by 179.15.
146 0.00 <<< 182.26 Too small, by 179.76.
148 0.00 <<< 182.84 Too small, by 180.34.
150 0.00 <<< 183.41 Too small, by 180.91.
152 0.00 <<< 183.96 Too small, by 181.46.
154 0.00 <<< 184.49 Too small, by 181.99.
156 0.00 <<< 185.00 Too small, by 182.50.
158 0.00 <<< 185.49 Too small, by 182.99.
160 0.00 <<< 185.97 Too small, by 183.47.
162 0.00 <<< 186.43 Too small, by 183.93.
164 0.00 <<< 186.88 Too small, by 184.38.
166 0.00 <<< 187.31 Too small, by 184.81.
168 0.00 <<< 187.73 Too small, by 185.23.
170 0.00 <<< 188.14 Too small, by 185.64.
172 0.00 <<< 188.53 Too small, by 186.03.
174 0.00 <<< 188.91 Too small, by 186.41.
176 0.00 <<< 189.27 Too small, by 186.77.
178 0.00 <<< 189.63 Too small, by 187.13.
OUTPUT FROM tests/threads/mlfqs-recent-1:
squish-pty bochs -q
========================================================================
Bochs x86 Emulator 2.6.7
Built from SVN snapshot on November 2, 2014
Compiled on May 28 2023 at 15:25:43
========================================================================
PiLo hda1
Loading..........
Kernel command line: -q -mlfqs run mlfqs-recent-1
Pintos booting with 4,096 kB RAM...
383 pages available in kernel pool.
383 pages available in user pool.
Calibrating timer... 159,000 loops/s.
Boot complete.
Executing 'mlfqs-recent-1':
(mlfqs-recent-1) begin
(mlfqs-recent-1) Sleeping 10 seconds to allow recent_cpu to decay, please wait...
(mlfqs-recent-1) After 2 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 4 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 6 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 8 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 10 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 12 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 14 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 16 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 18 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 20 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 22 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 24 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 26 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 28 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 30 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 32 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 34 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 36 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 38 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 40 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 42 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 44 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 46 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 48 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 50 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 52 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 54 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 56 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 58 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 60 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 62 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 64 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 66 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 68 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 70 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 72 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 74 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 76 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 78 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 80 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 82 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 84 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 86 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 88 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 90 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 92 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 94 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 96 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 98 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 100 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 102 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 104 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 106 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 108 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 110 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 112 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 114 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 116 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 118 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 120 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 122 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 124 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 126 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 128 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 130 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 132 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 134 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 136 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 138 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 140 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 142 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 144 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 146 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 148 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 150 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 152 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 154 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 156 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 158 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 160 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 162 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 164 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 166 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 168 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 170 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 172 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 174 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 176 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 178 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) After 180 seconds, recent_cpu is 0.00, load_avg is 0.00.
(mlfqs-recent-1) end
Execution of 'mlfqs-recent-1' complete.
Timer: 19013 ticks
Thread: 965 idle ticks, 18051 kernel ticks, 0 user ticks
Console: 7087 characters output
Keyboard: 0 keys pressed
Powering off..
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DETAILS OF tests/threads/mlfqs-nice-2 FAILURE:
Some tick counts were missing or differed from those expected by more than 50.
thread actual <-> expected explanation
------ -------- --- -------- ----------------------------------------
0 1500 <<< 1904 Too small, by 354.
1 1501 >>> 1096 Too big, by 355.
OUTPUT FROM tests/threads/mlfqs-nice-2:
squish-pty bochs -q
========================================================================
Bochs x86 Emulator 2.6.7
Built from SVN snapshot on November 2, 2014
Compiled on May 28 2023 at 15:25:43
========================================================================
PiLo hda1
Loading..........
Kernel command line: -q -mlfqs run mlfqs-nice-2
Pintos booting with 4,096 kB RAM...
383 pages available in kernel pool.
383 pages available in user pool.
Calibrating timer... 159,000 loops/s.
Boot complete.
Executing 'mlfqs-nice-2':
(mlfqs-nice-2) begin
(mlfqs-nice-2) Starting 2 threads...
(mlfqs-nice-2) Starting threads took 8 ticks.
(mlfqs-nice-2) Sleeping 40 seconds to let threads run, please wait...
(mlfqs-nice-2) Thread 0 received 1500 ticks.
(mlfqs-nice-2) Thread 1 received 1501 ticks.
(mlfqs-nice-2) end
Execution of 'mlfqs-nice-2' complete.
Timer: 4062 ticks
Thread: 999 idle ticks, 3066 kernel ticks, 0 user ticks
Console: 629 characters output
Keyboard: 0 keys pressed
Powering off..
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DETAILS OF tests/threads/mlfqs-nice-10 FAILURE:
Some tick counts were missing or differed from those expected by more than 25.
thread actual <-> expected explanation
------ -------- --- -------- ----------------------------------------
0 301 <<< 672 Too small, by 346.
1 301 <<< 588 Too small, by 262.
2 300 <<< 492 Too small, by 167.
3 301 <<< 408 Too small, by 82.
4 300 = 316
5 301 >>> 232 Too big, by 44.
6 301 >>> 152 Too big, by 124.
7 301 >>> 92 Too big, by 184.
8 301 >>> 40 Too big, by 236.
9 301 >>> 8 Too big, by 268.
OUTPUT FROM tests/threads/mlfqs-nice-10:
squish-pty bochs -q
========================================================================
Bochs x86 Emulator 2.6.7
Built from SVN snapshot on November 2, 2014
Compiled on May 28 2023 at 15:25:43
========================================================================
PiLo hda1
Loading..........
Kernel command line: -q -mlfqs run mlfqs-nice-10
Pintos booting with 4,096 kB RAM...
383 pages available in kernel pool.
383 pages available in user pool.
Calibrating timer... 159,000 loops/s.
Boot complete.
Executing 'mlfqs-nice-10':
(mlfqs-nice-10) begin
(mlfqs-nice-10) Starting 10 threads...
(mlfqs-nice-10) Starting threads took 26 ticks.
(mlfqs-nice-10) Sleeping 40 seconds to let threads run, please wait...
(mlfqs-nice-10) Thread 0 received 301 ticks.
(mlfqs-nice-10) Thread 1 received 301 ticks.
(mlfqs-nice-10) Thread 2 received 300 ticks.
(mlfqs-nice-10) Thread 3 received 301 ticks.
(mlfqs-nice-10) Thread 4 received 300 ticks.
(mlfqs-nice-10) Thread 5 received 301 ticks.
(mlfqs-nice-10) Thread 6 received 301 ticks.
(mlfqs-nice-10) Thread 7 received 301 ticks.
(mlfqs-nice-10) Thread 8 received 301 ticks.
(mlfqs-nice-10) Thread 9 received 301 ticks.
(mlfqs-nice-10) end
Execution of 'mlfqs-nice-10' complete.
Timer: 4122 ticks
Thread: 998 idle ticks, 3126 kernel ticks, 0 user ticks
Console: 999 characters output
Keyboard: 0 keys pressed
Powering off..
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DETAILS OF tests/threads/mlfqs-block FAILURE:
Test output failed to match any acceptable form.
Acceptable output:
(mlfqs-block) begin
(mlfqs-block) Main thread acquiring lock.
(mlfqs-block) Main thread creating block thread, sleeping 25 seconds...
(mlfqs-block) Block thread spinning for 20 seconds...
(mlfqs-block) Block thread acquiring lock...
(mlfqs-block) Main thread spinning for 5 seconds...
(mlfqs-block) Main thread releasing lock.
(mlfqs-block) ...got it.
(mlfqs-block) Block thread should have already acquired lock.
(mlfqs-block) end
Differences in `diff -u' format:
(mlfqs-block) begin
(mlfqs-block) Main thread acquiring lock.
(mlfqs-block) Main thread creating block thread, sleeping 25 seconds...
(mlfqs-block) Block thread spinning for 20 seconds...
(mlfqs-block) Block thread acquiring lock...
(mlfqs-block) Main thread spinning for 5 seconds...
(mlfqs-block) Main thread releasing lock.
- (mlfqs-block) ...got it.
- (mlfqs-block) Block thread should have already acquired lock.
+ (mlfqs-block) (mlfqs-block) ...got it.Block thread should have already acquired lock.
+
(mlfqs-block) end
OUTPUT FROM tests/threads/mlfqs-block:
squish-pty bochs -q
========================================================================
Bochs x86 Emulator 2.6.7
Built from SVN snapshot on November 2, 2014
Compiled on May 28 2023 at 15:25:43
========================================================================
PiLo hda1
Loading..........
Kernel command line: -q -mlfqs run mlfqs-block
Pintos booting with 4,096 kB RAM...
383 pages available in kernel pool.
383 pages available in user pool.
Calibrating timer... 159,000 loops/s.
Boot complete.
Executing 'mlfqs-block':
(mlfqs-block) begin
(mlfqs-block) Main thread acquiring lock.
(mlfqs-block) Main thread creating block thread, sleeping 25 seconds...
(mlfqs-block) Block thread spinning for 20 seconds...
(mlfqs-block) Block thread acquiring lock...
(mlfqs-block) Main thread spinning for 5 seconds...
(mlfqs-block) Main thread releasing lock.
(mlfqs-block) (mlfqs-block) ...got it.Block thread should have already acquired lock.
(mlfqs-block) end
Execution of 'mlfqs-block' complete.
Timer: 3066 ticks
Thread: 492 idle ticks, 2576 kernel ticks, 0 user ticks
Console: 775 characters output
Keyboard: 0 keys pressed
Powering off..