*** tpb <[email protected]> has joined #yosys | 00: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 #yosys | 00: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 #yosys | 00: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 #yosys | 00:55 | |
*** emeb_mac <[email protected]> has quit IRC (Ping timeout: 250 seconds) | 01:10 | |
*** emeb_mac <[email protected]> has joined #yosys | 01:10 | |
*** emeb <[email protected]> has joined #yosys | 01:10 | |
*** emeb <[email protected]> has quit IRC (Quit: Leaving.) | 01:19 | |
*** philtom <[email protected]> has joined #yosys | 05:36 | |
*** msh <[email protected]> has joined #yosys | 06:33 | |
msh | is 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 runs | 06:37 |
---|---|---|
killjoy | This is like the perpetual question. | 06:58 |
killjoy | In 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 |
killjoy | And especially with pnr software. | 07:00 |
killjoy | Since 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 | |
tnt | I thought it was about trying to improve runtime, not the QoR. | 07:05 |
tnt | The only way is to average ... a lot ... like do 100s runs over 100s designs. | 07:06 |
killjoy | That's how I've done it before too. | 07:06 |
killjoy | But 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 |
killjoy | Which is why it takes so long. | 07:09 |
tnt | well "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 |
tnt | I know there was a beginning of this with running a picosoc design a bunch of times ... not sure where that repo is. | 07:13 |
tnt | but 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 |
jix | one 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 for | 07:46 |
jix | for 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 runtime | 07:48 |
msh | ok yep. benchmarking inner loops sounds like it would help | 09:39 |
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Ping timeout: 250 seconds) | 09:40 | |
msh | is a couple of hours in the normal range of runtimes for nextpnr? | 09:43 |
gatecat | it shouldn't be, but things aren't perfect as far as congestion is concerned | 09:49 |
gatecat | you can try with router2 (`--router router2`) but tbh it's a WIP and more likely to make things worse atm | 09:49 |
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys | 09: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 #yosys | 09:56 | |
msh | gatecat ok will give it a try tomorrow | 09:59 |
gatecat | thanks, if you can link your design somewhere I can also take a look and keep it in mind when I work on optimisations | 10: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 #yosys | 10: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 #yosys | 10: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 #yosys | 10:29 | |
*** vidbina <[email protected]> has joined #yosys | 12:52 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 248 seconds) | 13:41 | |
*** vidbina <[email protected]> has joined #yosys | 14:06 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 15:03 | |
*** emeb_mac <[email protected]> has joined #yosys | 15: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 #yosys | 16:17 | |
*** vidbina <[email protected]> has joined #yosys | 16:47 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 248 seconds) | 19:10 | |
*** vidbina <[email protected]> has joined #yosys | 19: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 #yosys | 20: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 #yosys | 21:57 | |
*** TFKyle <[email protected]> has joined #yosys | 22:50 | |
*** V <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 23:28 | |
*** mikolajw <mikolajw!~mwielgus@user/mwielgus> has joined #yosys | 23:36 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!