Sunday, 2021-08-22

*** tpb <[email protected]> has joined #yosys00:00
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Ping timeout: 240 seconds)00:04
*** philtor <[email protected]> has quit IRC (Remote host closed the connection)00:10
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys00:16
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Excess Flood)00:19
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys00:20
*** emeb <[email protected]> has quit IRC (Ping timeout: 250 seconds)00:53
*** emeb_mac <[email protected]> has quit IRC (Ping timeout: 268 seconds)00:54
*** emeb_mac <[email protected]> has joined #yosys00:55
*** emeb_mac <[email protected]> has quit IRC (Ping timeout: 250 seconds)01:10
*** emeb_mac <[email protected]> has joined #yosys01:10
*** emeb <[email protected]> has joined #yosys01:10
*** emeb <[email protected]> has quit IRC (Quit: Leaving.)01:19
*** philtom <[email protected]> has joined #yosys05:36
*** msh <[email protected]> has joined #yosys06:33
mshis there a good benchmark for nextpnr speed anywhere? I'm trying to improve routing1 speed which takes a couple of hours for a ecp5 85k, but it's hard to know if I'm improving things (think it does though) since runtimes jump around so much between runs06:37
killjoyThis is like the perpetual question.06:58
killjoyIn my experience, you find something that seems to run consistently, and you work on improving that, but with many of these algorithms it's next to impossible to tell sometimes.06:59
killjoyAnd especially with pnr software.07:00
killjoySince it usually is just "place randomly, route, see if you meet timing."07:00
*** emeb_mac <[email protected]> has quit IRC (Quit: Leaving.)07:05
tntI thought it was about trying to improve runtime, not the QoR.07:05
tntThe only way is to average ... a lot ... like do 100s runs over 100s designs.07:06
killjoyThat's how I've done it before too.07:06
killjoyBut msh asked about "a good benchmark," which implies 1 benchmark, and most of the tools I've used keep churning if the QoR isn't high enough.07:08
killjoyWhich is why it takes so long.07:09
tntwell "1 benchmark" can be a script running 100s of design with 100s of seeds ... that's often what benchmarks are actually, aggregates of a lot of smaller problems.07:11
tntI know there was a beginning of this with running a picosoc design a bunch of times ... not sure where that repo is.07:13
tntbut I haven't seen anything "pre-made" / "ready-to-use" with a lot of diversity or anything like that. That's yet TBD.07:13
jixone trick for optimizing algorithms with such runtime behaviour that works sometimes is to find some quantity X (e.g. iterations of something) that you can measure and that correlates with runtime but is (mostly) invariant wrt the optimization you're doing... then you use time per X as target to optimize for07:46
jixfor example in a SAT solver you have similar problems, the smallest changes cascade to chaotic runtime differences, but if you want to tune the unit propagation (inner loop of a solver) you can use propagations / sec and get something that's more stable than the overall runtime07:48
mshok yep. benchmarking inner loops sounds like it would help09:39
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Ping timeout: 250 seconds)09:40
mshis a couple of hours in the normal range of runtimes for nextpnr?09:43
gatecatit shouldn't be, but things aren't perfect as far as congestion is concerned09:49
gatecatyou can try with router2 (`--router router2`) but tbh it's a WIP and more likely to make things worse atm09:49
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys09:54
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Excess Flood)09:55
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys09:56
mshgatecat ok will give it a try tomorrow09:59
gatecatthanks, if you can link your design somewhere I can also take a look and keep it in mind when I work on optimisations10:04
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Ping timeout: 240 seconds)10:15
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys10:17
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Excess Flood)10:19
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys10:20
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Ping timeout: 250 seconds)10:26
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys10:29
*** vidbina <[email protected]> has joined #yosys12:52
*** vidbina <[email protected]> has quit IRC (Ping timeout: 248 seconds)13:41
*** vidbina <[email protected]> has joined #yosys14:06
*** vidbina <[email protected]> has quit IRC (Ping timeout: 252 seconds)15:03
*** emeb_mac <[email protected]> has joined #yosys15:51
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Ping timeout: 250 seconds)16:16
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys16:17
*** vidbina <[email protected]> has joined #yosys16:47
*** vidbina <[email protected]> has quit IRC (Ping timeout: 248 seconds)19:10
*** vidbina <[email protected]> has joined #yosys19:21
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Ping timeout: 240 seconds)20:36
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys20:36
*** vidbina <[email protected]> has quit IRC (Ping timeout: 252 seconds)21:19
*** emeb_mac <[email protected]> has quit IRC (Ping timeout: 252 seconds)21:56
*** emeb_mac <[email protected]> has joined #yosys21:57
*** TFKyle <[email protected]> has joined #yosys22:50
*** V <[email protected]> has quit IRC (Ping timeout: 256 seconds)23:28
*** mikolajw <mikolajw!~mwielgus@user/mwielgus> has joined #yosys23:36

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