Wednesday, 2022-06-15

*** tpb <[email protected]> has joined #openrisc00:00
shornezx2c4: kernel patches now here: https://github.com/stffrdhrn/linux/commits/or1k-virt00:12
shorneI still get hangs during bootup sometimes, like 2-3 seconds to go from kicking /init to userland00:13
shornesometimes it seems to never get to userland00:13
shorneI'll keep doing testing00:14
shornefirst needs to test my PIC change on the "real" hardware00:43
shorneok, it works on the litex soc fpga board01:04
shorneah, but thats not using level triggered pic driver01:06
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)03:09
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc03:14
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)03:23
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc03:25
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)05:42
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc05:59
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)06:12
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc06:13
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc07:12
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)07:16
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc07:18
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)07:21
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)07:25
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc07:28
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)08:34
zx2c4shorne: alright will give it a try08:48
zx2c4oh, looks like you pushed a pic commit?08:49
shornezx2c4: yes for the kernel08:51
shornethe pic level driver has and issue that manifests in SMP systems08:51
zx2c4oh yea im seeing huge stalls still :-\08:52
zx2c4hrtimer related i think?08:52
shornebasically, the interrupt controller (in qemu and most soft cores) is level triggered meansing the only way to clear the interrupt is by interacting with the hardware08:53
shornehmm, what kind of huge stalls?08:53
shorneduring boot time? or after starting your CI tests?08:54
zx2c4https://א.cc/7DM7ERD408:54
zx2c4when starting tests, during tests. sometimes they resolve after 3-15 seconds. othertimes i get this splat08:55
shorneright08:55
shorneok, I may have seen that08:55
shorneI'll investigate, need to instrument the kernel08:55
shorneits with accel=tcg=multi and how many cpus?08:56
shornei see ncpus=408:56
zx2c44, yea08:56
shorneok, not quiet there yet08:57
shornethere might be other irq related issues, fixing the level pic in the kernel helped a bit, but I think there might be an underlying issue in qemu (openrisc implementation)08:58
shorneit could be timers too as you mentioned08:58
shornethough I ahvent seen the 200s jumps today08:58
shornegot to go.. pick up kids08:58
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc09:26
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)09:37
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc09:48
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)14:22
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc15:24
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)17:24
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc18:11
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc18:39
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)18:42
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc18:44
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)18:45
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)19:44
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc19:50
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)19:57
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc19:59
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Remote host closed the connection)20:16
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc20:16
shornezx2c4: investigating the slowness more, I have looked into this before (a few years back when running glibc tests on qemu)21:34
shornethe issue before was the openrisc tlb is highly constrained and qemu ends up spending so much time doing tlb ping-pong21:34
shorneit looks similar now, I am looking to see if I can try to put in some optimizations (i.e. multi way tlb) to see if it helps21:35
shornebefore for glibc testing I ended up just moving over to fpga hardware which didn't have such issues21:35
*** arnd_ <[email protected]> has joined #openrisc22:04
*** arnd <[email protected]> has quit IRC (Ping timeout: 250 seconds)22:07
*** arnd_ is now known as arnd22:07
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Remote host closed the connection)22:08
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc22:09
zx2c4shorne: oh you think the hangs and that splat are just the result of tlb slowness on smp4 rather than a deadlock or something?22:22
zx2c4As usual, walking home from another jazz thing at this hour. So when im back, happy to try out whatever22:23
shornezx2c4: I think it might be related, I could be wrong, but defintely some place that there is slowness so tuning that will be a plus23:12
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)23:41

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