*** tpb <[email protected]> has joined #openrisc | 00:00 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 00:57 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 01:08 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 02:03 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 02:10 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 02:42 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 02:44 | |
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 02:57 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 03:01 | |
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Remote host closed the connection) | 04:01 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 04:06 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 04:40 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 05:04 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 06:29 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 06:46 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Remote host closed the connection) | 08:30 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 08:35 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 09:25 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 09:25 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 09:35 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 09:35 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 10:27 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 10:30 | |
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 13:47 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 13:47 | |
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 14:12 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 14:18 | |
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 15:01 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 15:02 | |
*** tpb_ <[email protected]> has joined #openrisc | 15:18 | |
*** tpb <[email protected]> has quit IRC (Killed (NickServ (GHOST command used by tpb_))) | 15:18 | |
*** tpb_ is now known as tpb | 15:18 | |
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 15:29 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 15:35 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 15:39 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 15:49 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 16:20 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 16:21 | |
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 16:26 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 16:28 | |
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 17:54 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 17:54 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 18:02 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 18:06 | |
*** shorne <[email protected]> has quit IRC (*.net *.split) | 18:18 | |
*** shorne <[email protected]> has joined #openrisc | 18:21 | |
*** shorne <[email protected]> has quit IRC (Ping timeout: 246 seconds) | 18:23 | |
*** shorne <[email protected]> has joined #openrisc | 18:25 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 19:06 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 19:15 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Remote host closed the connection) | 20:15 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 20:27 | |
shorne | zx2c4: alright, after sorting out some interrupt and timer issues the mttcg patches are looking stable | 21:28 |
---|---|---|
shorne | but.. running accel tcg,thread=single is not working well when I set to 4 cores | 21:29 |
shorne | it's maybe something you could explain | 21:30 |
shorne | all cores are waiting on the same spinlock | 21:30 |
shorne | 0xc045c578 in _get_random_bytes (buf=0xc10918f4, len=4) at drivers/char/random.c:364 | 21:30 |
shorne | then.. | 21:31 |
shorne | 0xc045c318 in crng_make_state (chacha_state=0xc1091850, random_data=0xc10918f4 "", random_data_len=4) at include/linux/spinlock.h:324 | 21:31 |
shorne | sorry, maybe the whole trace is better | 21:31 |
shorne | deetail | 21:38 |
shorne | https://gist.github.com/stffrdhrn/b7d726c3bc74cd7732d70465fefb1618 | 21:38 |
zx2c4 | shorne: not sure i understand what youre reporting... Single threaded multicore tcg always has horrible performance because it just round robins cpus, right? So a spin lock requires a full round robin in the worst case | 22:18 |
zx2c4 | shorne: OH!! NO | 22:18 |
zx2c4 | What youre hitting is | 22:19 |
zx2c4 | https://lore.kernel.org/all/[email protected]/ | 22:19 |
tpb | Title: [PATCH] locking/lockdep: Use sched_clock() for random numbers. - Sebastian Andrzej Siewior (at lore.kernel.org) | 22:19 |
zx2c4 | shorne: apply that patch | 22:19 |
zx2c4 | https://git.kernel.org/tip/4051a81774d6d8e28192742c26999d6f29bc0e68 | 22:22 |
tpb | Title: kernel/git/tip/tip.git - Unnamed repository; edit this file 'description' to name the repository. (at git.kernel.org) | 22:22 |
shorne | zx2c4: yup boots with that one | 22:22 |
shorne | thanks, I had lockdep and all debug stuff on for debugging | 22:23 |
zx2c4 | Whew | 22:23 |
zx2c4 | It's in a tip urgent branch so hopefully it'll hit rc3 | 22:23 |
shorne | cool, I thought you might know it | 22:24 |
shorne | in that case my patches might be ready to go | 22:25 |
shorne | Ill do a bit more testing, i still see some instability in places | 22:25 |
shorne | also, I think the 200 second clock jumps might be fixed | 22:25 |
zx2c4 | Im headed home from playing a show now. When im back ill adjust my CI patch to use the virt machine and try building your github branch and sew | 22:25 |
zx2c4 | See | 22:25 |
zx2c4 | Oh cool what was the 200 sec root cause? | 22:25 |
shorne | well, I am not sure, so I maybe didn't fix it, but during boot or1k tries to synchronize cpu timers between cpus, when it does that if there is a big skew during the update it will case a jump | 22:28 |
shorne | I changed how it is initialized in qemu to try to avoid big skews | 22:28 |
shorne | but it might not be the only issue | 22:28 |
shorne | the 200sec constant is not explained by that | 22:28 |
shorne | zx2c4: what do you play? | 22:29 |
zx2c4 | Guitar (jazz) | 22:29 |
zx2c4 | I thought i saw the jump with -smp 1 though | 22:29 |
shorne | cool, I play guitar, wish I knew my theory better to play jazz | 22:30 |
shorne | yeah, thats right it does happen with smp 1, but the initialization is wrong even with smp 1 | 22:30 |
shorne | i.e. the last_clk (which is system time) was always initialized to zero, so on the first clock update the time jumps from 0 to current time nanos, and then it uses that calculation to set the tick delta | 22:31 |
shorne | I updated it so last_clk initializes to the system start time nanos | 22:32 |
zx2c4 | Ahhh makes sense | 22:32 |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 23:12 | |
zx2c4 | shorne: which branch do i want to play with? | 23:16 |
zx2c4 | or1k-virt-2? | 23:16 |
zx2c4 | hm i dont see the mttcg patches here | 23:18 |
zx2c4 | nor the rng-seed thing | 23:18 |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 23:19 | |
zx2c4 | shorne: looks like reboot isnt working with your or1k-virt-2 branch | 23:28 |
zx2c4 | [ 2.532000] reboot: Restarting system | 23:28 |
zx2c4 | [63620.380000] Reboot failed -- System halted | 23:28 |
shorne | zx2c4: sorry I dont' have the latest patches submitted yet | 23:31 |
shorne | please give a day or so, I am at work and need to commit everything | 23:31 |
shorne | I removed semihosting, so we need to be sure to have the syscon driver enabled on the linux side | 23:32 |
shorne | enabling syscon should be added to the virt_defconfig, I may not have committed that yet too | 23:33 |
zx2c4 | ahh | 23:35 |
shorne | zx2c4: ok pushed the qemu changes here: https://github.com/stffrdhrn/qemu/commits/or1k-virt-2 | 23:47 |
shorne | will work on kernel patches, I found one issue with the or1k interrupt controller driver | 23:47 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!