*** tpb has joined #symbiflow | 00:00 | |
duck2 | hello | 00:28 |
---|---|---|
duck2 | i made an incremental reader with libxml++ which can load rr_graph_xc7a50t_test.rr_graph.real.xml into a rrgraph-like struct | 00:30 |
duck2 | there are a few problems though | 00:32 |
duck2 | a) i saw ~800M of memory allocated for the struct, but the file itself is 990M. it also takes a long time: ~20 mins on my laptop with -O3 | 00:37 |
duck2 | b) libxml++ is awkward. i couldn't get my code to compile without using pkg-config which outputs 3 lines of include directories. there is also no dbg package for debian testing so i cannot profile it either. | 00:53 |
duck2 | for b) i think i will use plain libxml2 which is cmake friendly, uses byte arrays(not Glib::ustrings) and has a debug package. hopefully that will solve a). /update | 01:10 |
litghost | duck2: That seems like a lot of memory. Are you using packed structures? | 01:10 |
duck2 | not currently. i think the bulk of the memory comes from edges which all have a single-element vector of metadata attached to them. i wonder how flatbuffers handles this. | 01:18 |
*** OmniMancer has joined #symbiflow | 01:23 | |
*** futarisIRCcloud has joined #symbiflow | 04:24 | |
*** _whitelogger has quit IRC | 04:28 | |
*** _whitelogger has joined #symbiflow | 04:31 | |
*** Bertl is now known as Bertl_zZ | 05:43 | |
*** futarisIRCcloud has quit IRC | 06:44 | |
*** futarisIRCcloud has joined #symbiflow | 07:36 | |
*** futarisIRCcloud has quit IRC | 09:44 | |
*** i8hantanu has joined #symbiflow | 09:45 | |
*** tmichalak has quit IRC | 10:56 | |
*** futarisIRCcloud has joined #symbiflow | 11:06 | |
*** Mr has joined #symbiflow | 11:53 | |
Mr | what should i do | 11:54 |
Mr | Hello | 11:55 |
sf-slack1 | <tmichalak> Mr: Hi, there are plenty of things you can do, depends on your skills or what you want to work on. Have a look at the issues in all symbiflow repositories and for starters look for issues tagged with `help wanted` and `good first issue`. For example here: https://github.com/SymbiFlow/prjxray/labels/help%20wanted | 12:47 |
tpb | Title: Issues · SymbiFlow/prjxray · GitHub (at github.com) | 12:47 |
*** futarisIRCcloud has quit IRC | 13:25 | |
*** Mr has quit IRC | 13:31 | |
*** kraiskil has joined #symbiflow | 13:44 | |
*** OmniMancer has quit IRC | 15:09 | |
*** kraiskil has quit IRC | 15:20 | |
*** kraiskil has joined #symbiflow | 15:36 | |
*** kraiskil has quit IRC | 15:42 | |
*** kraiskil has joined #symbiflow | 15:46 | |
*** kraiskil has quit IRC | 15:54 | |
*** Bertl_zZ is now known as Bertl | 16:51 | |
*** kraiskil has joined #symbiflow | 20:02 | |
*** sorear has quit IRC | 20:27 | |
*** sorear has joined #symbiflow | 20:27 | |
duck2 | litghost: i brought it down to 500M and ~40 secs. now i think you were right about reading directly into device_ctx. if edges indeed appear after nodes and switches, they all can be read in right off(no need for intermediate struct). the other rr_graph structures are so small that it takes effectively no memory to cache them(grid, segments, block_t | 21:33 |
duck2 | ypes...) | 21:33 |
duck2 | here is the standalone reader i've been working on: https://gist.github.com/duck2/02d001727a252de4a118ae63b680a11c | 21:36 |
tpb | Title: draft for rr_graph.xml reader with SAX · GitHub (at gist.github.com) | 21:36 |
*** kraiskil has quit IRC | 21:49 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!