Geoffrey Challen
93cc12e3f2
Merge branch 'upstream'
2017-01-09 22:59:46 -05:00
Geoffrey Challen
b126279b52
Whitespace fix.
2017-01-09 22:59:41 -05:00
Geoffrey Challen
08a300d1a6
Merge in 2.0.2.
2017-01-09 22:58:21 -05:00
Geoffrey Challen
e318e3171e
Revert "Merging in 1.0.2."
...
This reverts commit 50cf3276e747c545b4ae53853d9b911731dc463e.
2017-01-09 22:52:13 -05:00
Geoffrey Challen
50cf3276e7
Merging in 2.0.2.
2017-01-09 22:40:23 -05:00
Geoffrey Challen
a0406ec181
Changelog reformatting.
2017-01-09 22:32:47 -05:00
Scott Haseley
160b83330e
Changed the stats resolution and monitor windows for the swapping tests. The size of the
...
stats slice (test161) that was being persisted in mongo was > the 16M mongo document limit.
2016-05-02 15:23:53 -04:00
Scott Haseley
ac901b2a49
triplehuge -> quinthuge
2016-05-02 12:01:16 -04:00
Scott Haseley
5d7e9ac785
Changed quintsort swap test timeout to 1100, which is 2x our 90th percentile
2016-04-29 13:17:43 -04:00
Scott Haseley
8d456c5e6e
Fixed target comment
2016-04-27 19:31:10 -04:00
Scott Haseley
026e450680
Preliminary asst3 target
2016-04-27 19:29:12 -04:00
Scott Haseley
f46f7395a1
New ASST3.3 tests (swapping)
2016-04-27 18:48:21 -04:00
Scott Haseley
153c0267b6
Changes to userland progress to tweak progress output for test161. We needed
...
more periodic progress in some cases due to the large slow down that happens
when swapping is implemented (ASST3.3).
2016-04-27 18:46:44 -04:00
Scott Haseley
4e93e0b105
Forkbomb changes. First, use a local success string and make sure to access it early so a page
...
gets allocated. Second, change the timeout for the vm stability test to 20s. It looks like some
students are right up on this boundary.
2016-04-22 14:54:10 -04:00
Scott Haseley
4bfe7afef3
Increased the progress timeout to 15s for quinthuge and sbrktest. If your VM takes a long time
...
to clean up when processes exit, the default 10s timeout might be too short.
2016-04-18 15:20:17 -04:00
Scott Haseley
4472cbaed0
Bumped up memory configuration for quint tests
2016-04-15 16:24:03 -04:00
Scott Haseley
e21c37b14f
Added a secprintf message to the beginning of forkbomb so it causes page faults
...
and allocates pages that we'll need later to print success.
2016-04-15 14:13:48 -04:00
Scott Haseley
105fbc5ddd
Add stacktest to testbin Makefile
2016-04-15 12:09:21 -04:00
Scott Haseley
0207e6b066
More tests for ASST3.2
...
Added 2 new sbrktests, one to test a huge sbrk with only touch a few pages (shouldn't crash),
and another to make sure pages are getting freed when the breakpoint moves down. Also, added
a stacktest that checks that 4M stacks are supported and pages are allocated on-demand.
2016-04-14 17:47:54 -04:00
Scott Haseley
6d0d7c9230
Fixed unused label in change to kmalloctest
2016-04-11 17:02:51 -04:00
Scott Haseley
ec1c1de132
km1 and km2 need to panic on failure, not print just print failed.
2016-04-08 16:04:11 -04:00
Scott Haseley
dc1a1949a6
Fix ctest compile issue
2016-04-08 15:55:48 -04:00
Scott Haseley
26b75349bd
Add memory leak deductions to asst3.2
2016-04-08 15:49:20 -04:00
Scott Haseley
388e6388a9
Added thread_wait_for_count() which allows the menu to wait for all (new) threads to
...
exit before continuing. We need this for khu testing because we have to make sure
cleanup is done before getting the used byte count.
2016-04-07 14:35:09 -04:00
Scott Haseley
854931ea44
ASST3 test cleanup; added forkbomb
2016-04-07 14:10:47 -04:00
Scott Haseley
a56bf008ba
Change forkbomb to print progress
2016-04-07 13:17:23 -04:00
Scott Haseley
1600e40d22
Initial tests and target for ASST3, checkpoint 2.
2016-04-07 10:16:33 -04:00
Scott Haseley
5821a085bf
Removed disk configuration, test161 now has a larger default disk. Also, added not-dumbvm tag
...
to not-dumbvm.t.
2016-04-07 10:14:58 -04:00
Scott Haseley
fedf80f599
Userland changes for test161/assignment 3.
2016-04-06 13:53:21 -04:00
Scott Haseley
194f76ef70
The "huge positive" number being tested wasn't big enough. Now using a number that would
...
cause the heap to bleed into the stack.
2016-04-06 13:33:28 -04:00
Scott Haseley
b488b7dcea
Added a test.h file for userland.
...
Currently, this file has tsay() and nsay(), which are atomic vararg print operations
that are loud or quiet (respectively) during automated testing. These are used
throughout userland when output might get intermingled.
2016-04-06 13:29:48 -04:00
Scott Haseley
16bfdcf406
Added new line before printing secured messages. For quint/triple tests, the secured message
...
might print on a progress line, which makes test161 fail.
2016-04-06 13:27:51 -04:00
Scott Haseley
e0fc622e00
Added progress functions that print '.'. There are versions that are always loud or
...
only loud during automated testing.
2016-04-06 13:26:05 -04:00
Scott Haseley
76672bd17b
whitespace
2016-03-30 17:16:24 -04:00
Scott Haseley
177821c2f3
Put asst3 back on the leaderboard
2016-03-30 17:12:12 -04:00
Scott Haseley
2873c513d4
Assignment 3 target will now be cumulative instead of split into subparts
2016-03-30 17:11:41 -04:00
Scott Haseley
eede850f54
The km4 thread was checking the correct magic value, but printing the one on the first page.
...
The test result is correct, but might look like it is failing when it shouldn't.
2016-03-30 16:09:24 -04:00
Scott Haseley
78265c6da4
Set leaderboard to false for ASST3 coremap target. We'll work on aggregating multi-part targets, but for now, don't show subparts.
...
Also, explicitly set userland to false.
2016-03-30 14:58:59 -04:00
Scott Haseley
7f3f686b1a
Updated km4 to write to, and check, each page allocated in the multi-page allocation.
...
This should find cases where students ignore npages and just allocate one page, which
would previously work.
2016-03-28 15:43:39 -04:00
Geoffrey Challen
afcb45766e
Small changes to targets.
2016-03-25 15:33:29 -04:00
Scott Haseley
b4bcf45932
Initial tests, commands, and target for asst3.1
2016-03-25 11:13:31 -04:00
Scott Haseley
8380115efa
Added new kmalloc test (km5) that tests various coremap properties. Also, km1-km4 were
...
cleaned up for test161.
2016-03-25 11:12:09 -04:00
Scott Haseley
501773f90e
Added a global variable for the number of cpus
2016-03-25 11:11:08 -04:00
Scott Haseley
25a1d7debc
Changed kheap_getused so that it doesn't double-count the pages it's using for
...
subpage allocation. We run into problems in determining memory leaks due to
kmalloc framgmentation, which can happen because of delayed thread cleanup.
2016-03-25 11:09:15 -04:00
Scott Haseley
922370ebd4
Changed forkbomb to only print one success message
2016-03-11 14:56:01 -05:00
Guru Prasad Srinivasa
bfa901ed0b
Updated forkbomb so only the parent prints success messages
2016-03-10 19:00:31 -05:00
Guru Prasad Srinivasa
7a63861e81
Updated forkbomb monitor kernel cycles min value
2016-03-10 18:45:35 -05:00
Guru Prasad Srinivasa
03f484ff21
Merge branch 'master' of gitlab.ops-class.org:staff/os161
2016-03-10 17:30:37 -05:00
Guru Prasad Srinivasa
c9c9e50155
Updated forkbomb to better detect success
...
Previously, we were relying on subpage allocator failing to signal
that forkbomb was succeeding. However, there are cases where the
subpage allocator never fails but the test is still progressing fine.
This commit moves the secure print into forkbomb itself and changes
the test constraints to ensure that forkbomb runs for a certain amount
of time without crashing
2016-03-10 17:28:47 -05:00
Geoffrey Challen
d322a01342
Adding function to get used bytes.
2016-03-10 11:29:38 -05:00