Saturday, 2022-06-25

*** tpb <[email protected]> has joined #openrisc00:00
shorneI use a lock to access a central cpu timer00:32
shorneit might be the cause of contention00:32
shorneI can't get much detail from the qemu profile with perf, I try to use qemu tracing but it generates too much data00:33
shorneI can get some insight though that timers are called a lot00:33
shornewhat I see in perf is just numbers like this:00:35
shorne+   54.51%    54.51%  [JIT] tid 30933   [.] 0x00007f03560f575f                                                                                                     00:35
shorne+   22.27%    22.27%  [JIT] tid 30933   [.] 0x00007f03560f5743                                                                                                     00:35
shorne+   21.72%    21.66%  [JIT] tid 30933   [.] 0x00007f03560f5752  00:35
shorneI haven't found an way to convert those jit symbols to tcb blocks00:36
wxwisiasdfshorne: Well i mean `naked` is essential and should be implemented on all targets but that's how it'd be for now :^)01:19
*** wxwisiasdf <[email protected]> has quit IRC (Ping timeout: 272 seconds)02:25
*** wxwisiasdf <[email protected]> has joined #openrisc02:46
*** wxwisiasdf <[email protected]> has quit IRC (Quit: leaving)03:08
*** wxwisiasdf <[email protected]> has joined #openrisc17:41
wxwisiasdfNo virtio decives on qemu-system-or1k?17:45
*** wxwisiasdf <[email protected]> has quit IRC (Quit: Lost terminal)17:52
shornewxwisiasdf: that is what I am working on right now... gone21:04
shornehttps://github.com/stffrdhrn/qemu/commits/or1k-virt-221:04
shornezx2c4: I think the slowness was an error on my part, I was playing with CPUs and left NR_CPUS to 2, the kernel built with max 2 cpus and qemu was running with 422:37
shorneso 2 of the 4 cpus were left spinning which seems to slow down qemu a lot22:37
shornerunning properly with 4 cpus the time is not great but not bad22:37
shornethe test runs in about 300 seconds22:38
shornewe can maybe do more to improve performance, but I think I will work on submitting all these patches now22:38

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!