Created
March 17, 2025 16:07
-
-
Save bjackman/220265699f346e16161c6534b115019b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TAP version 13 | |
# ----------------------------- | |
# running ./map_fixed_noreplace | |
# ----------------------------- | |
# TAP version 13 | |
# 1..9 | |
# # mmap() @ 0x7fb9aa857000-0x7fb9aa85c000 p=0x7fb9aa857000 result=Success | |
# ok 1 mmap() 5*PAGE_SIZE at base | |
# # mmap() @ 0x7fb9aa858000-0x7fb9aa85b000 p=0x7fb9aa858000 result=Success | |
# ok 2 mmap() 3*PAGE_SIZE at base+PAGE_SIZE | |
# # mmap() @ 0x7fb9aa857000-0x7fb9aa85c000 p=0xffffffffffffffff result=File exists | |
# ok 3 mmap() 5*PAGE_SIZE at base | |
# # mmap() @ 0x7fb9aa859000-0x7fb9aa85a000 p=0xffffffffffffffff result=File exists | |
# ok 4 mmap() 2*PAGE_SIZE at base+PAGE_SIZE | |
# # mmap() @ 0x7fb9aa85a000-0x7fb9aa85c000 p=0xffffffffffffffff result=File exists | |
# ok 5 mmap() 2*PAGE_SIZE at base+(3*PAGE_SIZE) | |
# # mmap() @ 0x7fb9aa857000-0x7fb9aa859000 p=0xffffffffffffffff result=File exists | |
# ok 6 mmap() 2*PAGE_SIZE bytes at base | |
# # mmap() @ 0x7fb9aa857000-0x7fb9aa858000 p=0x7fb9aa857000 result=File exists | |
# ok 7 mmap() PAGE_SIZE at base | |
# # mmap() @ 0x7fb9aa85b000-0x7fb9aa85c000 p=0x7fb9aa85b000 result=File exists | |
# ok 8 mmap() PAGE_SIZE at base+(4*PAGE_SIZE) | |
# ok 9 Base Address unmap() successful | |
# # Totals: pass:9 fail:0 xfail:0 xpass:0 skip:0 error:0 | |
# [PASS] | |
ok 1 map_fixed_noreplace | |
# --------------------- | |
# running ./gup_test -u | |
# --------------------- | |
# TAP version 13 | |
# 1..1 | |
# # GUP_FAST_BENCHMARK: Time: get:31618 put:678 us# | |
# ok 1 ioctl status 0 | |
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0 | |
# [PASS] | |
ok 2 gup_test -u | |
# --------------------- | |
# running ./gup_test -a | |
# --------------------- | |
# TAP version 13 | |
# 1..1 | |
# # PIN_FAST_BENCHMARK: Time: get:36150 put:3598 us# | |
# ok 1 ioctl status 0 | |
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0 | |
# [PASS] | |
ok 3 gup_test -a | |
# ----------------------------------------- | |
# running ./gup_test -ct -F 0x1 0 19 0x1000 | |
# ----------------------------------------- | |
[ 15.878415] ---- page #0, starting from user virt addr: 0x7f2535fb8000 | |
[ 15.878920] page: refcount:2 mapcount:1 mapping:0000000000000000 index:0x0 pfn:0x3ec42 | |
[ 15.879290] anon flags: 0x8000000002082c(referenced|uptodate|lru|owner_2|swapbacked|node=0|zone=1) | |
[ 15.880220] raw: 008000000002082c ffffdeb8c00e1b48 ffffdeb8c0fb1908 ffff8e94c2d9e341 | |
[ 15.880479] raw: 0000000000000000 0000000000000000 0000000200000000 0000000000000000 | |
[ 15.880798] page dumped because: gup_test: dump_pages() test | |
[ 15.881058] ---- page #19, starting from user virt addr: 0x7f2535fb8000 | |
[ 15.881257] page: refcount:2 mapcount:1 mapping:0000000000000000 index:0x13 pfn:0x26d4b | |
[ 15.881492] anon flags: 0x8000000002082c(referenced|uptodate|lru|owner_2|swapbacked|node=0|zone=1) | |
[ 15.881861] raw: 008000000002082c ffffdeb8c09b51c8 ffffdeb8c09b54c8 ffff8e94c2d9e341 | |
[ 15.882110] raw: 0000000000000013 0000000000000000 0000000200000000 0000000000000000 | |
[ 15.882322] page dumped because: gup_test: dump_pages() test | |
[ 15.882446] ---- page #4096, starting from user virt addr: 0x7f2535fb8000 | |
[ 15.882576] page: refcount:2 mapcount:1 mapping:0000000000000000 index:0x1000 pfn:0x19134 | |
[ 15.882728] anon flags: 0x8000000002082c(referenced|uptodate|lru|owner_2|swapbacked|node=0|zone=1) | |
[ 15.882958] raw: 008000000002082c ffffdeb8c0644cc8 ffffdeb8c0644d48 ffff8e94c2d9e341 | |
[ 15.883201] raw: 0000000000001000 0000000000000000 0000000200000000 0000000000000000 | |
[ 15.883359] page dumped because: gup_test: dump_pages() test | |
# TAP version 13 | |
# 1..1 | |
# # DUMP_USER_PAGES_TEST: done | |
# ok 1 ioctl status 0 | |
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0 | |
# [PASS] | |
ok 4 gup_test -ct -F 0x1 0 19 0x1000 | |
# ---------------------- | |
# running ./gup_longterm | |
# ---------------------- | |
[ 16.313235] random: crng init done | |
# # [INFO] detected hugetlb page size: 2048 KiB | |
# TAP version 13 | |
# 1..32 | |
# # [RUN] R/W longterm GUP pin in MAP_SHARED file mapping ... with memfd | |
# ok 1 Should have worked | |
# # [RUN] R/W longterm GUP pin in MAP_SHARED file mapping ... with tmpfile | |
# ok 2 Should have worked | |
# # [RUN] R/W longterm GUP pin in MAP_SHARED file mapping ... with local tmpfile | |
# not ok 3 ftruncate() failed | |
# # [RUN] R/W longterm GUP pin in MAP_SHARED file mapping ... with memfd hugetlb (2048 kB) | |
# ok 4 Should have worked | |
# # [RUN] R/W longterm GUP-fast pin in MAP_SHARED file mapping ... with memfd | |
# ok 5 Should have worked | |
# # [RUN] R/W longterm GUP-fast pin in MAP_SHARED file mapping ... with tmpfile | |
# ok 6 Should have worked | |
# # [RUN] R/W longterm GUP-fast pin in MAP_SHARED file mapping ... with local tmpfile | |
# not ok 7 ftruncate() failed | |
# # [RUN] R/W longterm GUP-fast pin in MAP_SHARED file mapping ... with memfd hugetlb (2048 kB) | |
# ok 8 Should have worked | |
# # [RUN] R/O longterm GUP pin in MAP_SHARED file mapping ... with memfd | |
# ok 9 Should have worked | |
# # [RUN] R/O longterm GUP pin in MAP_SHARED file mapping ... with tmpfile | |
# ok 10 Should have worked | |
# # [RUN] R/O longterm GUP pin in MAP_SHARED file mapping ... with local tmpfile | |
# not ok 11 ftruncate() failed | |
# # [RUN] R/O longterm GUP pin in MAP_SHARED file mapping ... with memfd hugetlb (2048 kB) | |
# ok 12 Should have worked | |
# # [RUN] R/O longterm GUP-fast pin in MAP_SHARED file mapping ... with memfd | |
# ok 13 Should have worked | |
# # [RUN] R/O longterm GUP-fast pin in MAP_SHARED file mapping ... with tmpfile | |
# ok 14 Should have worked | |
# # [RUN] R/O longterm GUP-fast pin in MAP_SHARED file mapping ... with local tmpfile | |
# not ok 15 ftruncate() failed | |
# # [RUN] R/O longterm GUP-fast pin in MAP_SHARED file mapping ... with memfd hugetlb (2048 kB) | |
# ok 16 Should have worked | |
# # [RUN] R/W longterm GUP pin in MAP_PRIVATE file mapping ... with memfd | |
# ok 17 Should have worked | |
# # [RUN] R/W longterm GUP pin in MAP_PRIVATE file mapping ... with tmpfile | |
# ok 18 Should have worked | |
# # [RUN] R/W longterm GUP pin in MAP_PRIVATE file mapping ... with local tmpfile | |
# not ok 19 ftruncate() failed | |
# # [RUN] R/W longterm GUP pin in MAP_PRIVATE file mapping ... with memfd hugetlb (2048 kB) | |
# ok 20 Should have worked | |
# # [RUN] R/W longterm GUP-fast pin in MAP_PRIVATE file mapping ... with memfd | |
# ok 21 Should have worked | |
# # [RUN] R/W longterm GUP-fast pin in MAP_PRIVATE file mapping ... with tmpfile | |
# ok 22 Should have worked | |
# # [RUN] R/W longterm GUP-fast pin in MAP_PRIVATE file mapping ... with local tmpfile | |
# not ok 23 ftruncate() failed | |
# # [RUN] R/W longterm GUP-fast pin in MAP_PRIVATE file mapping ... with memfd hugetlb (2048 kB) | |
# ok 24 Should have worked | |
# # [RUN] R/O longterm GUP pin in MAP_PRIVATE file mapping ... with memfd | |
# ok 25 Should have worked | |
# # [RUN] R/O longterm GUP pin in MAP_PRIVATE file mapping ... with tmpfile | |
# ok 26 Should have worked | |
# # [RUN] R/O longterm GUP pin in MAP_PRIVATE file mapping ... with local tmpfile | |
# not ok 27 ftruncate() failed | |
# # [RUN] R/O longterm GUP pin in MAP_PRIVATE file mapping ... with memfd hugetlb (2048 kB) | |
# ok 28 Should have worked | |
# # [RUN] R/O longterm GUP-fast pin in MAP_PRIVATE file mapping ... with memfd | |
# ok 29 Should have worked | |
# # [RUN] R/O longterm GUP-fast pin in MAP_PRIVATE file mapping ... with tmpfile | |
# ok 30 Should have worked | |
# # [RUN] R/O longterm GUP-fast pin in MAP_PRIVATE file mapping ... with local tmpfile | |
# not ok 31 ftruncate() failed | |
# # [RUN] R/O longterm GUP-fast pin in MAP_PRIVATE file mapping ... with memfd hugetlb (2048 kB) | |
# ok 32 Should have worked | |
# Bail out! 8 out of 32 tests failed | |
# # Totals: pass:24 fail:8 xfail:0 xpass:0 skip:0 error:0 | |
# [FAIL] | |
not ok 5 gup_longterm # exit=1 | |
# ------------------------- | |
# running ./uffd-unit-tests | |
# ------------------------- | |
# Testing UFFDIO_API (with syscall)... done | |
# Testing UFFDIO_API (with /dev/userfaultfd)... done | |
# Testing register-ioctls on anon... done | |
# Testing register-ioctls on shmem... done | |
# Testing register-ioctls on shmem-private... done | |
# Testing register-ioctls on hugetlb... done | |
# Testing register-ioctls on hugetlb-private... done | |
# Testing zeropage on anon... done | |
# Testing zeropage on shmem... done | |
# Testing zeropage on shmem-private... done | |
# Testing zeropage on hugetlb... done | |
# Testing zeropage on hugetlb-private... done | |
# Testing move on anon... done | |
# Testing move-pmd on anon... skipped [reason: CONFIG_TRANSPARENT_HUGEPAGE is not set] | |
# Testing move-pmd-split on anon... skipped [reason: CONFIG_TRANSPARENT_HUGEPAGE is not set] | |
# Testing wp-fork on anon... done | |
# Testing wp-fork on shmem... done | |
# Testing wp-fork on shmem-private... done | |
# Testing wp-fork on hugetlb... done | |
# Testing wp-fork on hugetlb-private... done | |
# Testing wp-fork-with-event on anon... done | |
# Testing wp-fork-with-event on shmem... done | |
# Testing wp-fork-with-event on shmem-private... done | |
# Testing wp-fork-with-event on hugetlb... done | |
# Testing wp-fork-with-event on hugetlb-private... done | |
# Testing wp-fork-pin on anon... done | |
# Testing wp-fork-pin on shmem... done | |
# Testing wp-fork-pin on shmem-private... done | |
# Testing wp-fork-pin on hugetlb... done | |
# Testing wp-fork-pin on hugetlb-private... done | |
# Testing wp-fork-pin-with-event on anon... done | |
# Testing wp-fork-pin-with-event on shmem... done | |
# Testing wp-fork-pin-with-event on shmem-private... done | |
# Testing wp-fork-pin-with-event on hugetlb... done | |
# Testing wp-fork-pin-with-event on hugetlb-private... done | |
# Testing wp-unpopulated on anon... done | |
# Testing minor on shmem... done | |
# Testing minor on hugetlb... done | |
# Testing minor-wp on shmem... done | |
# Testing minor-wp on hugetlb... done | |
# Testing minor-collapse on shmem... skipped [reason: MADV_COLLAPSE failed] | |
# Testing sigbus on anon... done | |
# Testing sigbus on shmem... done | |
# Testing sigbus on shmem-private... done | |
# Testing sigbus on hugetlb... done | |
# Testing sigbus on hugetlb-private... done | |
# Testing sigbus-wp on anon... done | |
# Testing sigbus-wp on shmem... done | |
# Testing sigbus-wp on shmem-private... done | |
# Testing sigbus-wp on hugetlb... done | |
# Testing sigbus-wp on hugetlb-private... done | |
# Testing events on anon... done | |
# Testing events on shmem... done | |
# Testing events on shmem-private... done | |
# Testing events on hugetlb... done | |
# Testing events on hugetlb-private... done | |
# Testing events-wp on anon... done | |
# Testing events-wp on shmem... done | |
# Testing events-wp on shmem-private... done | |
# Testing events-wp on hugetlb... done | |
# Testing events-wp on hugetlb-private... done | |
# Testing poison on anon... done | |
# Testing poison on shmem... done | |
# Testing poison on shmem-private... done | |
# Testing poison on hugetlb... done | |
# Testing poison on hugetlb-private... done | |
# Userfaults unit tests: pass=63, skip=3, fail=0 (total=66) | |
# [PASS] | |
ok 6 uffd-unit-tests | |
# -------------------------------- | |
# running ./uffd-stress anon 20 16 | |
# -------------------------------- | |
# nr_pages: 5120, nr_pages_per_cpu: 1280 | |
# bounces: 15, mode: rnd racing ver poll, userfaults: 346 missing (37+94+92+123+) 869 wp (130+231+246+262+) | |
# bounces: 14, mode: racing ver poll, userfaults: 54 missing (14+14+15+11+) 536 wp (139+126+136+135+) | |
# bounces: 13, mode: rnd ver poll, userfaults: 114 missing (36+29+25+24+) 465 wp (114+133+104+114+) | |
# bounces: 12, mode: ver poll, userfaults: 64 missing (18+18+18+10+) 869 wp (280+211+227+151+) | |
# bounces: 11, mode: rnd racing poll, userfaults: 154 missing (34+51+41+28+) 679 wp (152+192+207+128+) | |
# bounces: 10, mode: racing poll, userfaults: 56 missing (18+18+15+5+) 643 wp (146+174+184+139+) | |
# bounces: 9, mode: rnd poll, userfaults: 285 missing (80+111+41+53+) 785 wp (186+246+160+193+) | |
# bounces: 8, mode: poll, userfaults: 55 missing (18+19+14+4+) 856 wp (271+239+186+160+) | |
# bounces: 7, mode: rnd racing ver read, userfaults: 186 missing (65+51+35+35+) 715 wp (220+207+144+144+) | |
# bounces: 6, mode: racing ver read, userfaults: 57 missing (24+17+7+9+) 996 wp (206+233+267+290+) | |
# bounces: 5, mode: rnd ver read, userfaults: 189 missing (48+52+51+38+) 689 wp (186+179+173+151+) | |
# bounces: 4, mode: ver read, userfaults: 31 missing (8+12+8+3+) 804 wp (262+160+195+187+) | |
# bounces: 3, mode: rnd racing read, userfaults: 313 missing (99+89+46+79+) 915 wp (262+231+161+261+) | |
# bounces: 2, mode: racing read, userfaults: 83 missing (28+16+29+10+) 596 wp (183+118+159+136+) | |
# bounces: 1, mode: rnd read, userfaults: 205 missing (67+42+54+42+) 716 wp (219+174+168+155+) | |
# bounces: 0, mode: read, userfaults: 10 missing (6+2+2+0+) 877 wp (267+205+235+170+) | |
# [PASS] | |
ok 7 uffd-stress anon 20 16 | |
# ----------------------------------- | |
# running ./uffd-stress hugetlb 64 32 | |
# ----------------------------------- | |
# nr_pages: 32, nr_pages_per_cpu: 8 | |
# bounces: 31, mode: rnd racing ver poll, userfaults: 4 missing (1+1+1+1+) 29 wp (7+5+10+7+) | |
# bounces: 30, mode: racing ver poll, userfaults: 2 missing (1+1+0+0+) 38 wp (13+8+12+5+) | |
# bounces: 29, mode: rnd ver poll, userfaults: 9 missing (3+4+2+0+) 31 wp (12+6+6+7+) | |
# bounces: 28, mode: ver poll, userfaults: 8 missing (3+1+3+1+) 25 wp (7+4+7+7+) | |
# bounces: 27, mode: rnd racing poll, userfaults: 8 missing (5+0+2+1+) 33 wp (10+9+11+3+) | |
# bounces: 26, mode: racing poll, userfaults: 1 missing (1+0+0+0+) 31 wp (9+9+10+3+) | |
# bounces: 25, mode: rnd poll, userfaults: 10 missing (2+4+3+1+) 28 wp (7+7+10+4+) | |
# bounces: 24, mode: poll, userfaults: 5 missing (1+1+2+1+) 23 wp (8+6+5+4+) | |
# bounces: 23, mode: rnd racing ver read, userfaults: 6 missing (2+1+2+1+) 20 wp (5+7+5+3+) | |
# bounces: 22, mode: racing ver read, userfaults: 2 missing (2+0+0+0+) 23 wp (8+7+6+2+) | |
# bounces: 21, mode: rnd ver read, userfaults: 8 missing (3+3+2+0+) 34 wp (9+13+7+5+) | |
# bounces: 20, mode: ver read, userfaults: 9 missing (4+4+0+1+) 34 wp (14+7+9+4+) | |
# bounces: 19, mode: rnd racing read, userfaults: 5 missing (3+1+0+1+) 26 wp (3+7+7+9+) | |
# bounces: 18, mode: racing read, userfaults: 2 missing (1+1+0+0+) 38 wp (13+12+7+6+) | |
# bounces: 17, mode: rnd read, userfaults: 4 missing (2+2+0+0+) 31 wp (11+5+7+8+) | |
# bounces: 16, mode: read, userfaults: 7 missing (3+3+1+0+) 29 wp (6+9+10+4+) | |
# bounces: 15, mode: rnd racing ver poll, userfaults: 8 missing (5+1+1+1+) 25 wp (9+8+6+2+) | |
# bounces: 14, mode: racing ver poll, userfaults: 6 missing (4+1+1+0+) 30 wp (9+9+9+3+) | |
# bounces: 13, mode: rnd ver poll, userfaults: 9 missing (2+4+2+1+) 27 wp (11+5+8+3+) | |
# bounces: 12, mode: ver poll, userfaults: 8 missing (4+3+1+0+) 36 wp (7+12+11+6+) | |
# bounces: 11, mode: rnd racing poll, userfaults: 4 missing (1+1+1+1+) 18 wp (6+3+5+4+) | |
# bounces: 10, mode: racing poll, userfaults: 1 missing (1+0+0+0+) 17 wp (4+3+4+6+) | |
# bounces: 9, mode: rnd poll, userfaults: 6 missing (2+3+1+0+) 31 wp (12+8+9+2+) | |
# bounces: 8, mode: poll, userfaults: 5 missing (1+2+2+0+) 26 wp (8+3+10+5+) | |
# bounces: 7, mode: rnd racing ver read, userfaults: 8 missing (3+3+2+0+) 25 wp (7+11+4+3+) | |
# bounces: 6, mode: racing ver read, userfaults: 5 missing (3+1+1+0+) 36 wp (12+7+13+4+) | |
# bounces: 5, mode: rnd ver read, userfaults: 6 missing (2+4+0+0+) 33 wp (11+6+11+5+) | |
# bounces: 4, mode: ver read, userfaults: 5 missing (2+2+1+0+) 33 wp (9+8+8+8+) | |
# bounces: 3, mode: rnd racing read, userfaults: 6 missing (3+3+0+0+) 21 wp (3+7+6+5+) | |
# bounces: 2, mode: racing read, userfaults: 1 missing (1+0+0+0+) 36 wp (12+13+9+2+) | |
# bounces: 1, mode: rnd read, userfaults: 6 missing (3+1+2+0+) 25 wp (6+8+6+5+) | |
# bounces: 0, mode: read, userfaults: 7 missing (3+3+1+0+) 38 wp (13+14+9+2+) | |
# [PASS] | |
ok 8 uffd-stress hugetlb 64 32 | |
# ------------------------------------------- | |
# running ./uffd-stress hugetlb-private 64 32 | |
# ------------------------------------------- | |
# nr_pages: 32, nr_pages_per_cpu: 8 | |
# bounces: 31, mode: rnd racing ver poll, userfaults: 14 missing (2+5+2+5+) 52 wp (7+13+12+20+) | |
# bounces: 30, mode: racing ver poll, userfaults: 3 missing (2+0+1+0+) 18 wp (6+5+3+4+) | |
# bounces: 29, mode: rnd ver poll, userfaults: 12 missing (5+3+2+2+) 46 wp (17+8+6+15+) | |
# bounces: 28, mode: ver poll, userfaults: 12 missing (7+4+1+0+) 37 wp (10+12+10+5+) | |
# bounces: 27, mode: rnd racing poll, userfaults: 14 missing (6+5+2+1+) 38 wp (17+4+6+11+) | |
# bounces: 26, mode: racing poll, userfaults: 1 missing (1+0+0+0+) 41 wp (12+13+9+7+) | |
# bounces: 25, mode: rnd poll, userfaults: 17 missing (4+8+1+4+) 49 wp (12+19+10+8+) | |
# bounces: 24, mode: poll, userfaults: 8 missing (3+3+2+0+) 30 wp (8+7+6+9+) | |
# bounces: 23, mode: rnd racing ver read, userfaults: 14 missing (7+1+2+4+) 51 wp (15+8+6+22+) | |
# bounces: 22, mode: racing ver read, userfaults: 3 missing (1+1+1+0+) 12 wp (3+5+2+2+) | |
# bounces: 21, mode: rnd ver read, userfaults: 13 missing (3+6+4+0+) 48 wp (11+17+9+11+) | |
# bounces: 20, mode: ver read, userfaults: 8 missing (4+3+0+1+) 31 wp (9+8+9+5+) | |
# bounces: 19, mode: rnd racing read, userfaults: 13 missing (6+1+4+2+) 38 wp (10+4+16+8+) | |
# bounces: 18, mode: racing read, userfaults: 4 missing (1+2+1+0+) 32 wp (9+10+7+6+) | |
# bounces: 17, mode: rnd read, userfaults: 18 missing (4+10+2+2+) 50 wp (17+9+7+17+) | |
# bounces: 16, mode: read, userfaults: 5 missing (2+1+2+0+) 21 wp (6+6+4+5+) | |
# bounces: 15, mode: rnd racing ver poll, userfaults: 16 missing (3+7+4+2+) 46 wp (15+17+10+4+) | |
# bounces: 14, mode: racing ver poll, userfaults: 5 missing (3+1+1+0+) 20 wp (6+7+4+3+) | |
# bounces: 13, mode: rnd ver poll, userfaults: 23 missing (6+6+9+2+) 48 wp (10+13+20+5+) | |
# bounces: 12, mode: ver poll, userfaults: 8 missing (3+2+3+0+) 26 wp (7+8+6+5+) | |
# bounces: 11, mode: rnd racing poll, userfaults: 11 missing (4+2+3+2+) 40 wp (15+5+10+10+) | |
# bounces: 10, mode: racing poll, userfaults: 1 missing (1+0+0+0+) 13 wp (4+3+4+2+) | |
# bounces: 9, mode: rnd poll, userfaults: 10 missing (4+4+1+1+) 39 wp (12+15+4+8+) | |
# bounces: 8, mode: poll, userfaults: 7 missing (2+4+1+0+) 31 wp (13+6+9+3+) | |
# bounces: 7, mode: rnd racing ver read, userfaults: 8 missing (2+2+3+1+) 42 wp (7+16+8+11+) | |
# bounces: 6, mode: racing ver read, userfaults: 5 missing (3+1+1+0+) 20 wp (6+8+3+3+) | |
# bounces: 5, mode: rnd ver read, userfaults: 15 missing (5+5+2+3+) 52 wp (12+15+17+8+) | |
# bounces: 4, mode: ver read, userfaults: 8 missing (4+3+1+0+) 36 wp (12+13+7+4+) | |
# bounces: 3, mode: rnd racing read, userfaults: 16 missing (5+8+2+1+) 47 wp (5+23+8+11+) | |
# bounces: 2, mode: racing read, userfaults: 1 missing (1+0+0+0+) 34 wp (11+9+11+3+) | |
# bounces: 1, mode: rnd read, userfaults: 11 missing (5+3+2+1+) 32 wp (13+6+9+4+) | |
# bounces: 0, mode: read, userfaults: 6 missing (4+1+0+1+) 25 wp (6+7+8+4+) | |
# [PASS] | |
ok 9 uffd-stress hugetlb-private 64 32 | |
# --------------------------------- | |
# running ./uffd-stress shmem 20 16 | |
# --------------------------------- | |
# nr_pages: 5120, nr_pages_per_cpu: 1280 | |
# bounces: 15, mode: rnd racing ver poll, userfaults: 350 missing (63+73+72+142+) 1335 wp (312+280+351+392+) | |
# bounces: 14, mode: racing ver poll, userfaults: 104 missing (22+33+19+30+) 1068 wp (314+246+210+298+) | |
# bounces: 13, mode: rnd ver poll, userfaults: 309 missing (56+64+119+70+) 1296 wp (278+361+361+296+) | |
# bounces: 12, mode: ver poll, userfaults: 60 missing (25+20+8+7+) 1745 wp (373+585+393+394+) | |
# bounces: 11, mode: rnd racing poll, userfaults: 246 missing (59+64+44+79+) 1203 wp (310+284+283+326+) | |
# bounces: 10, mode: racing poll, userfaults: 92 missing (26+15+21+30+) 1530 wp (411+271+414+434+) | |
# bounces: 9, mode: rnd poll, userfaults: 214 missing (47+65+54+48+) 1106 wp (257+334+287+228+) | |
# bounces: 8, mode: poll, userfaults: 95 missing (18+18+26+33+) 1271 wp (299+316+330+326+) | |
# bounces: 7, mode: rnd racing ver read, userfaults: 223 missing (81+63+46+33+) 1204 wp (304+271+288+341+) | |
# bounces: 6, mode: racing ver read, userfaults: 131 missing (46+26+23+36+) 924 wp (328+165+202+229+) | |
# bounces: 5, mode: rnd ver read, userfaults: 305 missing (92+57+105+51+) 1268 wp (368+316+306+278+) | |
# bounces: 4, mode: ver read, userfaults: 50 missing (13+18+13+6+) 1431 wp (386+462+292+291+) | |
# bounces: 3, mode: rnd racing read, userfaults: 309 missing (82+69+88+70+) 1467 wp (341+340+351+435+) | |
# bounces: 2, mode: racing read, userfaults: 133 missing (25+39+34+35+) 1392 wp (327+270+489+306+) | |
# bounces: 1, mode: rnd read, userfaults: 305 missing (90+96+53+66+) 1571 wp (408+356+433+374+) | |
# bounces: 0, mode: read, userfaults: 12 missing (4+5+3+0+) 1504 wp (332+410+513+249+) | |
# [PASS] | |
ok 10 uffd-stress shmem 20 16 | |
# ----------------------------------------- | |
# running ./uffd-stress shmem-private 20 16 | |
# ----------------------------------------- | |
# nr_pages: 5120, nr_pages_per_cpu: 1280 | |
# bounces: 15, mode: rnd racing ver poll, userfaults: 410 missing (97+104+93+116+) 1282 wp (273+410+260+339+) | |
# bounces: 14, mode: racing ver poll, userfaults: 42 missing (18+9+5+10+) 1077 wp (229+282+344+222+) | |
# bounces: 13, mode: rnd ver poll, userfaults: 262 missing (82+54+68+58+) 1210 wp (324+303+279+304+) | |
# bounces: 12, mode: ver poll, userfaults: 56 missing (19+10+20+7+) 1403 wp (324+364+431+284+) | |
# bounces: 11, mode: rnd racing poll, userfaults: 310 missing (73+93+76+68+) 1212 wp (263+329+374+246+) | |
# bounces: 10, mode: racing poll, userfaults: 83 missing (32+24+15+12+) 1461 wp (360+423+352+326+) | |
# bounces: 9, mode: rnd poll, userfaults: 223 missing (57+95+30+41+) 1126 wp (368+374+201+183+) | |
# bounces: 8, mode: poll, userfaults: 59 missing (17+11+12+19+) 1367 wp (405+330+286+346+) | |
# bounces: 7, mode: rnd racing ver read, userfaults: 374 missing (100+111+67+96+) 1445 wp (432+411+266+336+) | |
# bounces: 6, mode: racing ver read, userfaults: 40 missing (8+7+24+1+) 1184 wp (271+224+419+270+) | |
# bounces: 5, mode: rnd ver read, userfaults: 274 missing (73+84+63+54+) 1308 wp (297+425+327+259+) | |
# bounces: 4, mode: ver read, userfaults: 85 missing (20+44+12+9+) 2062 wp (368+886+371+437+) | |
# bounces: 3, mode: rnd racing read, userfaults: 314 missing (82+121+50+61+) 1253 wp (293+342+268+350+) | |
# bounces: 2, mode: racing read, userfaults: 97 missing (25+39+22+11+) 1181 wp (229+388+286+278+) | |
# bounces: 1, mode: rnd read, userfaults: 235 missing (67+58+62+48+) 1237 wp (312+286+361+278+) | |
# bounces: 0, mode: read, userfaults: 13 missing (7+4+1+1+) 1464 wp (436+448+324+256+) | |
# [PASS] | |
ok 11 uffd-stress shmem-private 20 16 | |
# ------------------------ | |
# running ./uffd-wp-mremap | |
# ------------------------ | |
# # [INFO] detected hugetlb page size: 2048 KiB | |
# 1..6 | |
# # [RUN] test_one_folio(size=4096, private=false, swapout=false, hugetlb=false) | |
# ok 1 test_one_folio(size=4096, private=false, swapout=false, hugetlb=false) | |
# # [RUN] test_one_folio(size=4096, private=true, swapout=false, hugetlb=false) | |
# ok 2 test_one_folio(size=4096, private=true, swapout=false, hugetlb=false) | |
# # [RUN] test_one_folio(size=4096, private=false, swapout=true, hugetlb=false) | |
# ok 3 test_one_folio(size=4096, private=false, swapout=true, hugetlb=false) | |
# # [RUN] test_one_folio(size=4096, private=true, swapout=true, hugetlb=false) | |
# ok 4 # SKIP MADV_PAGEOUT did not work, is swap enabled? | |
# # [RUN] test_one_folio(size=2097152, private=false, swapout=false, hugetlb=true) | |
# ok 5 test_one_folio(size=2097152, private=false, swapout=false, hugetlb=true) | |
# # [RUN] test_one_folio(size=2097152, private=true, swapout=false, hugetlb=true) | |
# ok 6 test_one_folio(size=2097152, private=true, swapout=false, hugetlb=true) | |
# # 1 skipped test(s) detected. Consider enabling relevant config options to improve coverage. | |
# # Totals: pass:5 fail:0 xfail:0 xpass:0 skip:1 error:0 | |
# [PASS] | |
ok 12 uffd-wp-mremap | |
# ------------------------- | |
# running ./compaction_test | |
# ------------------------- | |
# TAP version 13 | |
# 1..1 | |
# # Number of huge pages allocated = 263 | |
# ok 1 check_compaction | |
# # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0 | |
# [PASS] | |
ok 13 compaction_test | |
# ---------------------- | |
# running ./map_populate | |
# ---------------------- | |
# TAP version 13 | |
# 1..2 | |
# ok 1 MAP_POPULATE COW private page | |
# ok 2 The mapping state | |
# # Totals: pass:2 fail:0 xfail:0 xpass:0 skip:0 error:0 | |
# [PASS] | |
ok 14 map_populate | |
# sudo: unable to resolve host virtme-ng: Temporary failure in name resolution | |
# tee: /proc/sys/kernel/yama/ptrace_scope: No such file or directory | |
# 0 | |
# ------------------- | |
# running ./migration | |
# ------------------- | |
# TAP version 13 | |
# 1..6 | |
# # Starting 6 tests from 1 test cases. | |
# # RUN migration.private_anon ... | |
# # SKIP Not enough threads or NUMA nodes available | |
# # OK migration.private_anon | |
# ok 1 migration.private_anon # SKIP Not enough threads or NUMA nodes available | |
# # RUN migration.shared_anon ... | |
# # SKIP Not enough threads or NUMA nodes available | |
# # OK migration.shared_anon | |
# ok 2 migration.shared_anon # SKIP Not enough threads or NUMA nodes available | |
# # RUN migration.private_anon_thp ... | |
# # SKIP Not enough threads or NUMA nodes available | |
# # OK migration.private_anon_thp | |
# ok 3 migration.private_anon_thp # SKIP Not enough threads or NUMA nodes available | |
# # RUN migration.shared_anon_thp ... | |
# # SKIP Not enough threads or NUMA nodes available | |
# # OK migration.shared_anon_thp | |
# ok 4 migration.shared_anon_thp # SKIP Not enough threads or NUMA nodes available | |
# # RUN migration.private_anon_htlb ... | |
# # SKIP Not enough threads or NUMA nodes available | |
# # OK migration.private_anon_htlb | |
# ok 5 migration.private_anon_htlb # SKIP Not enough threads or NUMA nodes available | |
# # RUN migration.shared_anon_htlb ... | |
# # SKIP Not enough threads or NUMA nodes available | |
# # OK migration.shared_anon_htlb | |
# ok 6 migration.shared_anon_htlb # SKIP Not enough threads or NUMA nodes available | |
# # PASSED: 6 / 6 tests passed. | |
# # 6 skipped test(s) detected. Consider enabling relevant config options to improve coverage. | |
# # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:6 error:0 | |
# [PASS] | |
ok 15 migration | |
# --------------------------------- | |
# running ./test_page_frag.sh smoke | |
# --------------------------------- | |
[ 105.253675] page_frag_test: loading out-of-tree module taints kernel. | |
[ 105.265599] waiting for test to complete | |
[ 105.265796] page_frag pop test thread begins on cpu 1 | |
[ 105.266196] page_frag push test thread begins on cpu 0 | |
[ 105.649371] page_frag push test thread exits on cpu 0 | |
[ 105.649403] page_frag pop test thread exits on cpu 1 | |
[ 105.649868] 2000000 of iterations for non-aligned testing took: 384276us | |
# Run smoke test. | |
# Done. | |
# Check the kernel ring buffer to see the summary. | |
# [PASS] | |
ok 16 test_page_frag.sh smoke | |
# ----------------------------------- | |
# running ./test_page_frag.sh aligned | |
# ----------------------------------- | |
[ 106.751300] waiting for test to complete | |
[ 106.751384] page_frag push test thread begins on cpu 0 | |
[ 106.751634] page_frag pop test thread begins on cpu 1 | |
[ 116.873223] page_frag_test progress: pushed = 55924081, popped = 55923635 | |
[ 125.059136] page_frag push test thread exits on cpu 0 | |
[ 125.059194] page_frag pop test thread exits on cpu 1 | |
[ 125.059654] 100000000 of iterations for aligned testing took: 18308393us | |
# Run performance tests to evaluate how fast aligned alloc API is. | |
# Done. | |
# Check the kernel ring buffer to see the summary. | |
# [PASS] | |
ok 17 test_page_frag.sh aligned | |
# -------------------------------------- | |
# running ./test_page_frag.sh nonaligned | |
# -------------------------------------- | |
[ 126.158531] waiting for test to complete | |
[ 126.158612] page_frag push test thread begins on cpu 0 | |
[ 126.159031] page_frag pop test thread begins on cpu 1 | |
[ 136.328881] page_frag_test progress: pushed = 70561824, popped = 70561322 | |
[ 140.908762] page_frag push test thread exits on cpu 0 | |
[ 140.908797] page_frag pop test thread exits on cpu 1 | |
[ 140.909298] 100000000 of iterations for non-aligned testing took: 14750803us | |
# Run performance tests to evaluate how fast nonaligned alloc API is. | |
# Done. | |
# Check the kernel ring buffer to see the summary. | |
# [PASS] | |
ok 18 test_page_frag.sh nonaligned | |
# SUMMARY: PASS=17 SKIP=0 FAIL=1 | |
1..18 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment