Closed
Description
Execute semu with multi-core system simulation
make check SMP=4
The RCU CPU stall warning, as discussed in #49 , is accompanied by an increase in timer interrupts and clock_gettime
system calls to produce a real-time timer. This causes the CPU to wait longer than a typical grace period, which is usually 21 seconds.
[ 33.044071] rcu: INFO: rcu_sched self-detected stall on CPU
[ 33.048071] rcu: 2-....: (5247 ticks this GP) idle=da1c/1/0x40000002 softirq=689/689 fqs=1847
[ 33.056071] (t=5253 jiffies g=-887 q=11 ncpus=4)
[ 33.064071] CPU: 2 PID: 8 Comm: kworker/u8:0 Not tainted 6.1.94 #12
[ 33.068071] Hardware name: semu (DT)
[ 33.072071] Workqueue: events_unbound async_run_entry_fn
[ 33.080071] epc : eat+0x34/0x54
[ 33.088071] ra : do_reset+0x38/0x6c
[ 33.096071] epc : c03811fc ra : c038137c sp : c0871e40
[ 33.104071] gp : c04de858 tp : c0852f40 t0 : c0aabc70
[ 33.112071] t1 : 00000008 t2 : 67e0cb47 s0 : c0871e50
[ 33.120071] s1 : c03a48b8 a0 : 00000001 a1 : 00000000
[ 33.128071] a2 : 00000000 a3 : 0053be47 a4 : 00000000
[ 33.136071] a5 : c03a48b8 a6 : 00000000 a7 : 0000000c
[ 33.144071] s2 : 004725a7 s3 : 0038da58 s4 : 00000000
[ 33.152071] s5 : 00000030 s6 : 00000007 s7 : c03a496c
[ 33.156071] s8 : c03a48b8 s9 : c038112c s10: c03a4968
[ 33.160071] s11: c0381538 t3 : c09e4140 t4 : 00000003
[ 33.168071] t5 : ec37d331 t6 : c0871e08
[ 33.172071] status: 00000120 badaddr: c03a48c0 cause: 80000005
[ 33.180071] [<c03811fc>] eat+0x34/0x54
[ 33.184071] [<c038137c>] do_reset+0x38/0x6c
[ 33.192071] [<c0381514>] write_buffer+0x40/0x64
[ 33.200071] [<c0381d20>] unpack_to_rootfs+0x1c4/0x300
[ 33.212072] [<c03824ec>] do_populate_rootfs+0x70/0xd8
[ 33.220072] [<c002bd58>] async_run_entry_fn+0x30/0xd0
[ 33.232072] [<c002195c>] process_one_work+0x198/0x224
[ 33.240072] [<c0021ee4>] worker_thread+0x238/0x294
[ 33.248072] [<c002898c>] kthread+0xd4/0xd8
[ 33.252072] [<c0002508>] ret_from_exception+0x0/0x1c
Implementing multi-thread support for semu, as discussed in PR #49, might improve the performance of the booting process.
Metadata
Metadata
Assignees
Labels
No labels