Initial tests, commands, and target for asst3.1
This commit is contained in:
14
test161/tests/coremap/coremap-loose.t
Normal file
14
test161/tests/coremap/coremap-loose.t
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
name: "Coremap Test (Loose Bounds)"
|
||||
description:
|
||||
"This tests allocates and frees all physical memory multiple times, checking that the amount it was able to allocate is within a reasonable bound"
|
||||
tags: [coremap]
|
||||
depends: [not-dumbvm.t]
|
||||
sys161:
|
||||
ram: 4M
|
||||
disk1:
|
||||
bytes: 8M
|
||||
disk2:
|
||||
bytes: 8M
|
||||
---
|
||||
|km5 --avail 32 --kernel 125
|
14
test161/tests/coremap/coremap-tight.t
Normal file
14
test161/tests/coremap/coremap-tight.t
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
name: "Coremap Test (Tight Bounds)"
|
||||
description:
|
||||
"This tests allocates and frees all physical memory multiple times, checking that the amount it was able to allocate is within a reasonable bound"
|
||||
tags: [coremap]
|
||||
depends: [not-dumbvm.t]
|
||||
sys161:
|
||||
ram: 4M
|
||||
disk1:
|
||||
bytes: 8M
|
||||
disk2:
|
||||
bytes: 8M
|
||||
---
|
||||
|km5 --avail 20 --kernel 105
|
8
test161/tests/coremap/km1.t
Normal file
8
test161/tests/coremap/km1.t
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: "Basic kmalloc Test"
|
||||
description:
|
||||
"km1 tests the kernel's subpage allocator, allocating a large number of objects and freeing them somewhat later"
|
||||
tags: [coremap]
|
||||
depends: [not-dumbvm.t]
|
||||
---
|
||||
|km1
|
8
test161/tests/coremap/km2.t
Normal file
8
test161/tests/coremap/km2.t
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: "kmalloc Stress Test"
|
||||
description:
|
||||
"km2 stress tests the kernel subpage using the same approach as km1, but with multiple threads running concurrently."
|
||||
tags: [coremap]
|
||||
depends: [not-dumbvm.t]
|
||||
---
|
||||
|km2
|
8
test161/tests/coremap/km3.t
Normal file
8
test161/tests/coremap/km3.t
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: "Large kmalloc Test"
|
||||
description:
|
||||
This test stresses the subpage allocator by allocating and freeing a large number of objects of various sizes.
|
||||
tags: [coremap]
|
||||
depends: [not-dumbvm.t]
|
||||
---
|
||||
|km3 5000
|
8
test161/tests/coremap/km4.t
Normal file
8
test161/tests/coremap/km4.t
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: "Multipage allococation Test"
|
||||
description:
|
||||
km4 allocates and frees large amounts of memory - between 1 and 5 pages - a number of times by a number of concurrent threads.
|
||||
tags: [coremap]
|
||||
depends: [not-dumbvm.t]
|
||||
---
|
||||
|km4
|
8
test161/tests/coremap/not-dumbvm.t
Normal file
8
test161/tests/coremap/not-dumbvm.t
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: "Smarter VM"
|
||||
description:
|
||||
"A basic coremap test that makes sure you're not using dumbvm by allocating and freeing all physical memory multiple times"
|
||||
tags: [coremap]
|
||||
depends: [boot]
|
||||
---
|
||||
|km5
|
Reference in New Issue
Block a user