Skip to content

Instantly share code, notes, and snippets.

View mcgrof's full-sized avatar

Luis Chamberlain mcgrof

View GitHub Profile
LBS minorder + anonymous memory patches merged
mcgrof@eqbm-smc112 /mnt-nvme-xfs-4k/linux (git::large-block-minorder-6.6.0-rc5-v1)$ /home/mcgrof/build.sh
Performance counter stats for 'make -s -j128 bzImage' (4 runs):
2,177,348.53 msec task-clock # 62.005 CPUs utilized ( +- 0.06% )
213,362 context-switches # 97.992 /sec ( +- 2.97% )
47,970 cpu-migrations # 22.031 /sec ( +- 1.53% )
45,017,837 page-faults # 20.676 K/sec ( +- 0.04% )
mcgrof@eqbm-smc112 /mnt-nvme-xfs-4k/linux (git::large-block-minorder-6.6.0-rc5-v1)$ /home/mcgrof/build.sh
Performance counter stats for 'make -s -j128 bzImage' (4 runs):
2,173,083.14 msec task-clock # 61.070 CPUs utilized ( +- 0.09% )
214,322 context-switches # 98.626 /sec ( +- 1.06% )
48,836 cpu-migrations # 22.473 /sec ( +- 0.82% )
45,004,733 page-faults # 20.710 K/sec ( +- 0.06% )
6,089,773,116,885 cycles # 2.802 GHz ( +- 0.08% )
6,884,146,413,021 instructions # 1.13 insn per cycle ( +- 0.01% )
[49449.451419] run fstests xfs/013 at 2023-11-09 12:27:25
[49450.521523] XFS (loop5): Mounting V5 Filesystem 07076065-4c8d-4ad9-b41a-e43bb96fe474
[49450.559414] XFS (loop5): Ending clean mount
[49450.571623] XFS (loop5): Unmounting Filesystem 07076065-4c8d-4ad9-b41a-e43bb96fe474
[49450.726866] XFS (loop5): Mounting V5 Filesystem 04a865af-b810-4332-9c0a-be215528e433
[49450.767916] XFS (loop5): Ending clean mount
[49860.401884] XFS: Assertion failed: bp->b_flags & XBF_DONE, file: fs/xfs/xfs_trans_buf.c, line: 241
[49860.407815] ------------[ cut here ]------------
[49860.410196] kernel BUG at fs/xfs/xfs_message.c:102!
[49860.412797] invalid opcode: 0000 [#1] PREEMPT SMP PTI
[150204.349748] run fstests generic/531 at 2023-11-08 23:23:01
[150205.371333] XFS (loop5): Mounting V5 Filesystem d0b28cf4-ae63-4602-b5da-2d4bbc412924
[150205.391524] XFS (loop5): Ending clean mount
[150265.961390] XFS: Assertion failed: bp->b_flags & XBF_DONE, file: fs/xfs/xfs_trans_buf.c, line: 241
[150265.964305] ------------[ cut here ]------------
[150265.965319] kernel BUG at fs/xfs/xfs_message.c:102!
[150265.966452] invalid opcode: 0000 [#1] PREEMPT SMP PTI
[150265.967559] CPU: 5 PID: 243417 Comm: kworker/5:1 Not tainted 6.6.0-rc5 #2
[150265.968872] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[150265.970585] Workqueue: xfs-inodegc/loop5 xfs_inodegc_worker [xfs]
Nov 07 07:11:44 r451-xfs-reflink-4k unknown: run fstests generic/451 at 2023-11-07 07:11:44
Nov 07 07:12:18 r451-xfs-reflink-4k kernel: rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
Nov 07 07:12:18 r451-xfs-reflink-4k kernel: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-7): P1150145 P1150139 P1107075 P1150138 P1150144
Nov 07 07:12:18 r451-xfs-reflink-4k kernel: rcu: (detected by 3, t=5252 jiffies, g=6076181, q=10004 ncpus=8)
Nov 07 07:12:18 r451-xfs-reflink-4k kernel: task:xfs_io state:R running task stack:0 pid:1150144 ppid:1141238 flags:0x00004002
Nov 07 07:12:18 r451-xfs-reflink-4k kernel: Call Trace:
Nov 07 07:12:18 r451-xfs-reflink-4k kernel: <TASK>
Nov 07 07:12:18 r451-xfs-reflink-4k kernel: ? __schedule+0x3cd/0xae0
Nov 07 07:12:18 r451-xfs-reflink-4k kernel: ? sysvec_apic_timer_interrupt+0xab/0xc0
Nov 07 07:12:18 r451-xfs-reflink-4k kernel: ? asm_sysvec_apic_timer_interrupt+0x16/0x20
Nov 07 20:10:33 line-xfs-reflink-dir-bsize-8k unknown: run fstests generic/648 at 2023-11-07 20:10:33
Nov 07 20:10:33 line-xfs-reflink-dir-bsize-8k kernel: XFS (loop5): Mounting V5 Filesystem 212ef794-c60b-4fac-8d14-40f3c8bd768d
Nov 07 20:10:34 line-xfs-reflink-dir-bsize-8k kernel: XFS (loop5): Ending clean mount
Nov 07 20:10:34 line-xfs-reflink-dir-bsize-8k kernel: XFS (loop5): Unmounting Filesystem 212ef794-c60b-4fac-8d14-40f3c8bd768d
Nov 07 20:10:34 line-xfs-reflink-dir-bsize-8k kernel: XFS (dm-0): Mounting V5 Filesystem 2e8fe588-ec5c-4eb4-91b8-624d15574cc4
Nov 07 20:10:34 line-xfs-reflink-dir-bsize-8k kernel: XFS (dm-0): Ending clean mount
Nov 07 20:10:34 line-xfs-reflink-dir-bsize-8k kernel: loop0: detected capacity change from 0 to 13648394
Nov 07 20:10:34 line-xfs-reflink-dir-bsize-8k kernel: XFS (loop0): Mounting V5 Filesystem a11f11c8-53ec-4b35-ac6c-a7001581a3b6
Nov 07 20:10:34 line-xfs-reflink-dir-bsize-8k kernel: XFS (loop0): Ending clean mount
... 30 minutes later ...
Nov 07 20:14:07 line-xfs-reflink unknown: run fstests generic/648 at 2023-11-07 20:14:07
Nov 07 20:14:08 line-xfs-reflink kernel: XFS (loop5): Mounting V5 Filesystem f8a9ace4-eaf6-4963-bd95-0ecddb716129
Nov 07 20:14:08 line-xfs-reflink kernel: XFS (loop5): Ending clean mount
Nov 07 20:14:08 line-xfs-reflink kernel: XFS (loop5): Unmounting Filesystem f8a9ace4-eaf6-4963-bd95-0ecddb716129
Nov 07 20:14:08 line-xfs-reflink kernel: XFS (dm-0): Mounting V5 Filesystem 6827dcf7-7169-406d-8ff8-dd22b7be367a
Nov 07 20:14:08 line-xfs-reflink kernel: XFS (dm-0): Ending clean mount
Nov 07 20:14:08 line-xfs-reflink kernel: loop0: detected capacity change from 0 to 13648394
Nov 07 20:14:08 line-xfs-reflink kernel: XFS (loop0): Mounting V5 Filesystem fd3451c3-184f-4cd2-abd6-e3130bd8bcd1
Nov 07 20:14:08 line-xfs-reflink kernel: XFS (loop0): Ending clean mount
Nov 07 20:14:09 line-xfs-reflink kernel: XFS (dm-0): log I/O error -5
mcgrof@amd ~ $ cat /home/mcgrof/build-pg-v1.sh
#!/bin/bash
# Use `perf list` to see what is supported
STATS="-e duration_time"
STATS="${STATS} -e user_time"
STATS="${STATS} -e system_time"
STATS="${STATS} -e page-faults"
STATS="${STATS} -e major-faults"
STATS="${STATS} -e minor-faults"
mcgrof@amd /mnt-xfs-4k/linux (git::master)$ /home/mcgrof/build.sh
Performance counter stats for 'make -s -j96 bzImage' (3 runs):
1980619.30 msec task-clock # 43.066 CPUs utilized ( +- 0.14% )
195513 context-switches # 98.713 /sec ( +- 0.60% )
57816 cpu-migrations # 29.191 /sec ( +- 0.99% )
52606006 page-faults # 26.560 K/sec ( +- 0.01% )
6613732170382 cycles # 3.339 GHz ( +- 0.04% ) (83.60%)
59484640647 stalled-cycles-frontend # 0.90% frontend cycles idle ( +- 0.25% ) (83.60%)
Nov 04 15:38:18 base-xfs-crc-rtdev unknown: run fstests xfs/066 at 2023-11-04 15:38:18
Nov 04 15:38:19 base-xfs-crc-rtdev kernel: XFS (loop16): Mounting V5 Filesystem df0efea2-60d6-40f0-9fea-c873665e5884
Nov 04 15:38:19 base-xfs-crc-rtdev kernel: XFS (loop16): Ending clean mount
Nov 04 15:38:20 base-xfs-crc-rtdev kernel: XFS (loop5): Mounting V5 Filesystem 9ee2e5d4-eb61-4dd2-951a-e99719220010
Nov 04 15:38:20 base-xfs-crc-rtdev kernel: XFS (loop5): Ending clean mount
Nov 04 15:38:20 base-xfs-crc-rtdev kernel: XFS (loop5): Unmounting Filesystem 9ee2e5d4-eb61-4dd2-951a-e99719220010
Nov 04 15:38:20 base-xfs-crc-rtdev kernel: XFS (loop5): Mounting V5 Filesystem 9ee2e5d4-eb61-4dd2-951a-e99719220010
Nov 04 15:38:20 base-xfs-crc-rtdev kernel: XFS (loop5): Ending clean mount
Nov 04 15:38:23 base-xfs-crc-rtdev kernel: page:000000009006bf10 refcount:0 mapcount:-128 mapping:0000000000000000 index:0x3f8a0 pfn:0x1035c0
Nov 04 15:38:23 base-xfs-crc-rtdev kernel: flags: 0x17fffc000000000(node=0|zone=2|lastcpupid=0x1ffff)