Advertisement
nareshkamboju

hugetlb test failed

Jul 24th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.72 KB | None | 0 0
  1. hikey:/usr/bin/kselftests/vm# ./run_vmtests
  2. ---------------------
  3. running hugepage-mmap
  4. ---------------------
  5. Returned address is 0x400000000000
  6. First hex is 0
  7. First hex is 3020100
  8. [PASS]
  9. --------------------
  10. running hugepage-shm
  11. --------------------
  12. shmid: 0x0
  13. shmaddr: 0x400000000000
  14. Starting the writes:
  15. ..........................................................................................................................................
  16. ......................................................................................................................
  17. Starting the Check...Done.
  18. [PASS]
  19. -------------------
  20. running map_hugetlb
  21. -------------------
  22. Returned address is 0x400000000000
  23. First hex is 0
  24. First hex is 3020100
  25. [PASS]
  26. NOTE: The above hugetlb tests provide minimal coverage. Use
  27. https://github.com/libhugetlbfs/libhugetlbfs.git for
  28. hugetlb regression testing.
  29. -------------------
  30. running userfaultfd
  31. -------------------
  32. nr_pages: 32768, nr_pages_per_cpu: 4096
  33. bounces: 31, mode: rnd racing ver poll, userfaults: 280 172 175 143 152 93 89 72
  34. bounces: 30, mode: racing ver poll, userfaults: 283 226 124 128 70 63 100 51
  35. bounces: 29, mode: rnd ver poll, userfaults: 775 946 805 702 689 608 1286 455
  36. bounces: 28, mode: ver poll, userfaults: 332 514 641 508 613 516 249 269
  37. bounces: 27, mode: rnd racing poll, userfaults: 245 263 230 192 230 202 148 160
  38. bounces: 26, mode: racing poll, userfaults: 216 233 213 204 229 159 142 163
  39. bounces: 25, mode: rnd poll, userfaults: 1123 873 644 998 1102 680 467 667
  40. bounces: 24, mode: poll, userfaults: 555 470 505 525 525 565 479 416
  41. bounces: 23, mode: rnd racing ver, userfaults: 238 225 220 250 203 249 201 264
  42. bounces: 22, mode: racing ver, userfaults: 270 230 273 248 165 236 169 60
  43. bounces: 21, mode: rnd ver, userfaults: 740 866 712 443 504 511 425 401
  44. bounces: 20, mode: ver, userfaults: 512 578 699 688 539 416 375 577
  45. bounces: 19, mode: rnd racing, userfaults: 364 369 394 365 270 300 265 246
  46. bounces: 18, mode: racing, userfaults: 176 94 74 63 90 84 114 81
  47. bounces: 17, mode: rnd, userfaults: 427 973 1471 787 1270 498 444 367
  48. bounces: 16, mode:, userfaults: 661 770 866 489 568 545 535 513
  49. bounces: 15, mode: rnd racing ver poll, userfaults: 188 236 165 161 154 153 156 138
  50. bounces: 14, mode: racing ver poll, userfaults: 132 112 112 160 91 135 65 59
  51. bounces: 13, mode: rnd ver poll, userfaults: 1045 868 637 868 1617 689 659 1470
  52. bounces: 12, mode: ver poll, userfaults: 528 667 653 517 550 480 474 534
  53. bounces: 11, mode: rnd racing poll, userfaults: 195 295 256 197 170 184 215 149
  54. bounces: 10, mode: racing poll, userfaults: 71 56 58 53 46 49 33 61
  55. bounces: 9, mode: rnd poll, userfaults: 751 642 1709 703 1579 1669 1291 425
  56. bounces: 8, mode: poll, userfaults: 691 755 709 765 552 808 592 563
  57. bounces: 7, mode: rnd racing ver, userfaults: 282 291 318 244 199 244 166 211
  58. bounces: 6, mode: racing ver, userfaults: 135 157 64 39 48 37 17 79
  59. bounces: 5, mode: rnd ver, userfaults: 453 479 449 498 536 460 370 590
  60. bounces: 4, mode: ver, userfaults: 217 284 253 290 290 268 210 132
  61. bounces: 3, mode: rnd racing, userfaults: 297 343 368 279 231 230 232 253
  62. bounces: 2, mode: racing, userfaults: 146 224 139 273 212 157 138 67
  63. bounces: 1, mode: rnd, userfaults: 536 260 401 444 330 388 391 364
  64. bounces: 0, mode:, userfaults: 843 549 670 609 593 518 520 701
  65. testing UFFDIO_ZEROPAGE: done.
  66. testing events (fork, remap, remove): userfaults: 32768
  67. [PASS]
  68. ---------------------------
  69. running userfaultfd_hugetlb
  70. ---------------------------
  71. nr_pages: 64, nr_pages_per_cpu: 8
  72. bounces: 31, mode: rnd racing ver poll, userfaults: 4 5 5 2 3 0 1 0
  73. bounces: 30, mode: racing ver poll, userfaults: 9 4 5 4 2 1 0 1
  74. bounces: 29, mode: rnd ver poll, userfaults: 14 12 6 3 4 1 0 0
  75. bounces: 28, mode: ver poll, userfaults: 10 9 4 7 0 0 0 0
  76. bounces: 27, mode: rnd racing poll, userfaults: 10 5 2 3 0 1 1 1
  77. bounces: 26, mode: racing poll, userfaults: 9 4 8 0 1 1 1 0
  78. bounces: 25, mode: rnd poll, userfaults: 11 15 7 5 2 0 0 0
  79. bounces: 24, mode: poll, userfaults: 8 11 6 1 2 1 0 0
  80. bounces: 23, mode: rnd racing ver, userfaults: 10 4 5 4 4 0 0 0
  81. bounces: 22, mode: racing ver, userfaults: 8 5 7 2 0 0 0 0
  82. bounces: 21, mode: rnd ver, userfaults: 14 10 9 5 2 0 0 0
  83. bounces: 20, mode: ver, userfaults: 11 10 7 1 2 0 0 0
  84. bounces: 19, mode: rnd racing, userfaults: 11 5 8 3 2 0 0 0
  85. bounces: 18, mode: racing, userfaults: 10 4 5 3 1 0 1 0
  86. bounces: 17, mode: rnd, userfaults: 13 10 9 4 3 0 0 0
  87. bounces: 16, mode:, userfaults: 12 7 4 5 0 0 0 0
  88. bounces: 15, mode: rnd racing ver poll, userfaults: 10 4 2 3 5 1 0 1
  89. bounces: 14, mode: racing ver poll, userfaults: 10 2 2 4 0 0 0 0
  90. bounces: 13, mode: rnd ver poll, userfaults: 15 10 10 4 2 0 0 0
  91. bounces: 12, mode: ver poll, userfaults: 8 5 4 1 2 1 0 0
  92. bounces: 11, mode: rnd racing poll, userfaults: 9 7 2 2 1 1 0 0
  93. bounces: 10, mode: racing poll, userfaults: 6 7 4 1 2 0 0 0
  94. bounces: 9, mode: rnd poll, userfaults: 13 12 5 5 3 0 0 0
  95. bounces: 8, mode: poll, userfaults: 10 4 3 1 1 1 0 0
  96. bounces: 7, mode: rnd racing ver, userfaults: 8 2 5 4 3 0 2 0
  97. bounces: 6, mode: racing ver, userfaults: 8 4 2 4 1 2 1 0
  98. bounces: 5, mode: rnd ver, userfaults: 14 10 10 5 2 0 0 0
  99. bounces: 4, mode: ver, userfaults: 10 4 10 3 0 1 3 0
  100. bounces: 3, mode: rnd racing, userfaults: 6 10 6 3 1 0 0 0
  101. bounces: 2, mode: racing, userfaults: 7 1 6 2 1 2 0 2
  102. bounces: 1, mode: rnd, userfaults: 17 16 8 3 2 0 0 0
  103. bounces: 0, mode:, userfaults: 11 11 6 5 2 0 2 1
  104. testing UFFDIO_ZEROPAGE: done.
  105. testing events (fork, remap, remove): userfaults: 64
  106. [PASS]
  107. -------------------------
  108. running userfaultfd_shmem
  109. -------------------------
  110. nr_pages: 32768, nr_pages_per_cpu: 4096
  111. bounces: 31, mode: rnd racing ver poll, userfaults: 186 250 269 168 159 208 160 142
  112. bounces: 30, mode: racing ver poll, userfaults: 122 167 111 93 154 98 74 89
  113. bounces: 29, mode: rnd ver poll, userfaults: 590 1251 693 912 475 671 875 832
  114. bounces: 28, mode: ver poll, userfaults: 598 557 621 594 554 591 690 402
  115. bounces: 27, mode: rnd racing poll, userfaults: 319 289 237 256 223 223 173 193
  116. bounces: 26, mode: racing poll, userfaults: 111 111 122 139 119 107 112 114
  117. bounces: 25, mode: rnd poll, userfaults: 597 743 449 958 409 384 382 585
  118. bounces: 24, mode: poll, userfaults: 614 576 503 540 521 500 621 570
  119. bounces: 23, mode: rnd racing ver, userfaults: 244 145 121 173 179 92 206 171
  120. bounces: 22, mode: racing ver, userfaults: 222 114 287 105 77 86 153 63
  121. bounces: 21, mode: rnd ver, userfaults: 478 566 341 440 507 424 431 273
  122. bounces: 20, mode: ver, userfaults: 750 761 710 555 601 548 473 353
  123. bounces: 19, mode: rnd racing, userfaults: 263 338 230 279 275 192 263 253
  124. bounces: 18, mode: racing, userfaults: 102 161 125 105 106 76 78 73
  125. bounces: 17, mode: rnd, userfaults: 1045 415 698 572 507 685 774 521
  126. bounces: 16, mode:, userfaults: 466 546 538 479 318 243 547 426
  127. bounces: 15, mode: rnd racing ver poll, userfaults: 286 302 235 178 182 182 203 227
  128. bounces: 14, mode: racing ver poll, userfaults: 112 111 114 82 97 56 100 77
  129. bounces: 13, mode: rnd ver poll, userfaults: 1468 1303 634 848 505 888 645 518
  130. bounces: 12, mode: ver poll, userfaults: 464 771 499 558 458 553 620 446
  131. bounces: 11, mode: rnd racing poll, userfaults: 187 333 281 193 177 167 178 165
  132. bounces: 10, mode: racing poll, userfaults: 90 80 103 91 90 79 72 81
  133. bounces: 9, mode: rnd poll, userfaults: 552 577 570 662 412 342 368 218
  134. bounces: 8, mode: poll, userfaults: 783 944 712 584 600 680 753 651
  135. bounces: 7, mode: rnd racing ver, userfaults: 221 254 304 225 185 260 145 164
  136. bounces: 6, mode: racing ver, userfaults: 268 203 176 162 147 174 97 123
  137. bounces: 5, mode: rnd ver, userfaults: 817 842 637 546 648 997 705 1346
  138. bounces: 4, mode: ver, userfaults: 446 477 515 481 468 373 425 409
  139. bounces: 3, mode: rnd racing, userfaults: 300 252 166 262 247 219 253 193
  140. bounces: 2, mode: racing, userfaults: 113 73 84 100 77 98 62 77
  141. bounces: 1, mode: rnd, userfaults: 770 814 2157 1274 1040 885 1108 863
  142. bounces: 0, mode:, userfaults: 431 375 594 390 492 443 403 357
  143. testing UFFDIO_ZEROPAGE: done.
  144. testing events (fork, remap, remove): userfaults: 32768
  145. [PASS]
  146. -----------------------
  147. running compaction_test
  148. -----------------------
  149. [ 215.231972] compaction_test invoked oom-killer: gfp_mask=0x16080c0(GFP_KERNEL|__GFP_ZERO|__GFP_NOTRACK), nodemask=(null), order=0, oom
  150. _score_adj=0
  151. [ 215.245811] compaction_test cpuset=/ mems_allowed=0
  152. [ 215.251197] CPU: 7 PID: 4871 Comm: compaction_test Not tainted 4.13.0-rc1-00059-g74cbd96 #1
  153. [ 215.259778] Hardware name: HiKey Development Board (DT)
  154. [ 215.265147] Call trace:
  155. [ 215.267675] [<ffff000008089ec8>] dump_backtrace+0x0/0x230
  156. [ 215.273220] [<ffff00000808a1bc>] show_stack+0x14/0x20
  157. [ 215.278411] [<ffff000008b1b8a8>] dump_stack+0xb8/0xf0
  158. [ 215.283608] [<ffff0000082016d0>] dump_header+0x90/0x3a8
  159. [ 215.288974] [<ffff000008200a18>] oom_kill_process+0x2f0/0x710
  160. [ 215.294886] [<ffff00000820116c>] out_of_memory+0xec/0x560
  161. [ 215.300431] [<ffff000008208480>] __alloc_pages_nodemask+0x1230/0x1318
  162. [ 215.307043] [<ffff000008264eb0>] alloc_pages_current+0x80/0xe8
  163. [ 215.313030] [<ffff0000082402c0>] __pte_alloc+0x28/0x160
  164. [ 215.318393] [<ffff000008242fcc>] __handle_mm_fault+0xfdc/0x10d0
  165. [ 215.324466] [<ffff000008243268>] handle_mm_fault+0x1a8/0x338
  166. [ 215.330276] [<ffff00000823aef8>] __get_user_pages+0xf8/0x318
  167. [ 215.336085] [<ffff00000823b710>] populate_vma_page_range+0x60/0x68
  168. [ 215.342427] [<ffff00000823b7c0>] __mm_populate+0xa8/0x130
  169. [ 215.347969] [<ffff000008225a30>] vm_mmap_pgoff+0xe8/0xf0
  170. [ 215.353421] [<ffff0000082469a8>] SyS_mmap_pgoff+0x188/0x228
  171. [ 215.359140] [<ffff0000080897c8>] sys_mmap+0x18/0x28
  172. [ 215.364146] [<ffff0000080837cc>] __sys_trace_return+0x0/0x4
  173. [ 215.370084] Mem-Info:
  174. [ 215.372435] active_anon:6479 inactive_anon:4129 isolated_anon:0
  175. [ 215.372435] active_file:121 inactive_file:344 isolated_file:0
  176. [ 215.372435] unevictable:108288 dirty:2 writeback:0 unstable:0
  177. [ 215.372435] slab_reclaimable:108288 slab_unreclaimable:2
  178. [ 215.372435] mapped:690 shmem:4217 pagetables:405 bounce:0
  179. [ 215.372435] free:36640 free_pcp:0 free_cma:31903
  180. [ 215.406463] Node 0 active_anon:25916kB inactive_anon:16516kB active_file:124kB inactive_file:0kB unevictable:433152kB isolated(anon):0k
  181. B isolated(file):0kB mapped:1612kB dirty:8kB writeback:0kB shmem:16868kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 6144kB writeback_tm
  182. p:0kB unstable:0kB all_unreclaimable? no
  183. [ 215.434865] Node 0 DMA free:147508kB min:22528kB low:28160kB high:33792kB active_anon:25916kB inactive_anon:16516kB active_file:484kB i
  184. nactive_file:716kB unevictable:433152kB writepending:8kB present:2061364kB managed:1991072kB mlocked:433152kB kernel_stack:2368kB pagetabl
  185. es:1620kB bounce:0kB free_pcp:264kB local_pcp:0kB free_cma:127612kB
  186. [ 215.465683] lowmem_reserve[]: 0 0 0
  187. [ 215.469300] Node 0 DMA: 193*4kB (UEC) 122*8kB (UMEC) 57*16kB (UEC) 84*32kB (UMEC) 47*64kB (UMEC) 13*128kB (UME) 3*256kB (UE) 2*512kB (U
  188. M) 1*1024kB (E) 0*2048kB 33*4096kB (UMC) = 148004kB
  189. [ 215.486601] Node 0 hugepages_total=642 hugepages_free=642 hugepages_surp=0 hugepages_size=2048kB
  190. [ 215.495648] 4372 total pagecache pages
  191. [ 215.499558] 0 pages in swap cache
  192. [ 215.507883] Swap cache stats: add 0, delete 0, find 0/0
  193. [ 215.518188] Free swap = 0kB
  194. [ 215.526047] Total swap = 0kB
  195. [ 215.533768] 515341 pages RAM
  196. [ 215.541318] 0 pages HighMem/MovableOnly
  197. [ 215.549720] 17573 pages reserved
  198. [ 215.557350] 32768 pages cma reserved
  199. [ 215.565291] [ pid ] uid tgid total_vm rss nr_ptes nr_pmds swapents oom_score_adj name
  200. [ 215.578457] [ 1413] 0 1413 6779 422 8 3 0 0 systemd-journal
  201. [ 215.592606] [ 1436] 0 1436 2706 120 8 4 0 -1000 systemd-udevd
  202. [ 215.606423] [ 1450] 993 1450 19418 58 8 4 0 0 systemd-timesyn
  203. [ 215.620383] [ 2426] 0 2426 741 25 5 3 0 0 klogd
  204. [ 215.633464] [ 2427] 995 2427 1369 78 6 3 0 0 avahi-daemon
  205. [ 215.647180] [ 2429] 995 2429 1338 64 6 3 0 0 avahi-daemon
  206. [ 215.660890] [ 2431] 997 2431 1285 126 6 3 0 -900 dbus-daemon
  207. [ 215.674498] [ 2432] 992 2432 810 45 6 4 0 0 systemd-network
  208. [ 215.688459] [ 2433] 0 2433 602 32 5 3 0 0 atd
  209. [ 215.701332] [ 2434] 0 2434 741 17 5 3 0 0 syslogd
  210. [ 215.714563] [ 2435] 0 2435 792 66 5 4 0 0 systemd-logind
  211. [ 215.728373] [ 2436] 0 2436 683 127 6 3 0 0 crond
  212. [ 215.741388] [ 2437] 0 2437 58717 279 15 3 0 0 NetworkManager
  213. [ 215.755196] [ 2454] 991 2454 943 43 5 3 0 0 systemd-resolve
  214. [ 215.769080] [ 2460] 65534 2460 614 39 5 3 0 0 dnsmasq
  215. [ 215.782258] [ 2461] 996 2461 115567 2346 25 4 0 0 polkitd
  216. [ 215.795445] [ 2462] 0 2462 564 32 5 3 0 0 agetty
  217. [ 215.808540] [ 2463] 0 2463 1439 97 7 3 0 0 login
  218. [ 215.821514] [ 2488] 0 2488 3086 1716 10 3 0 0 dhclient
  219. [ 215.834766] [ 2502] 1000 2502 1351 162 7 3 0 0 systemd
  220. [ 215.847931] [ 2504] 1000 2504 2008 295 8 4 0 0 (sd-pam)
  221. [ 215.861137] [ 2507] 1000 2507 842 81 5 3 0 0 sh
  222. [ 215.873781] [ 2512] 1000 2512 1311 80 7 3 0 0 su
  223. [ 215.886390] [ 2513] 0 2513 877 90 5 3 0 0 sh
  224. [ 215.898958] [ 2545] 0 2545 723 47 5 3 0 0 run_vmtests
  225. [ 215.912302] [ 4871] 0 4871 108978 108272 216 4 0 0 compaction_test
  226. [ 215.925990] Out of memory: Kill process 4871 (compaction_test) score 211 or sacrifice child
  227. [ 215.939033] Killed process 4871 (compaction_test) total-vm:435912kB, anon-rss:433084kB, file-rss:4kB, shmem-rss:0kB
  228. [ 215.955041] oom_reaper: reaped process 4871 (compaction_test), now anon-rss:433156kB, file-rss:0kB, shmem-rss:0kB
  229. ./run_vmtests: line 138: 4871 Killed ./compaction_test
  230. [FAIL]
  231. ----------------------
  232. running on-fault-limit
  233. ----------------------
  234. [PASS]
  235. --------------------
  236. running mlock2-tests
  237. --------------------
  238. [PASS]
  239. -----------------------------
  240. running virtual_address_range
  241. -----------------------------
  242. [PASS]
  243. hikey:/usr/bin/kselftests/vm#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement