Speed benefit of upcoming sparse graph importer
See original GitHub issue * JGraphT version: 1.3
* Java version (java -version)/platform: 13
**Issue**
The bottleneck in JGraphT 1.3 when constructing graphs with hundreds of millions of edges is the single threaded nature of the edge construction process. It can take an hour on a large cluster to build a billion edge graph.
**Solution**
The new sparse graph format and edge list importer (#829) has the potential to resolve this issue as follows:
(1) Java parallel streams (outside JGraphT) can be used to create integer pairs as edges, collected into a raw edge list using methods of the Java Collectors class.
(2) The new importer should be able to import the entire edge list at once, instead of the "one edge at a time" approach in JGraphT 1.3.
(3) The RAM needed in JGraphT for a billion edge graph is about 300Gb. This should come down by an order of magnitude with the sparse graph class, making such graphs constructible on ordinary workstations.
**Other information**
This "issue" is not a complaint, but rather a boost to D. Michail and others who are bringing this vision to fruition.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Finding Maximum Independent Sets in Sparse and General ...
Given a graph G find a maximum-size subset of G's vertices that have no edges ... New Results (all Pspace). 2 0.114e [great...
Read more >Washi1337/Rivers: A fast graphing library that allows ... - GitHub
This has the following advantages: Optimised for quick insertion of nodes and edges. Minimal memory footprint. Efficient for sparse graphs. Support for directed ......
Read more >Accelerating Inference with Sparsity Using the NVIDIA Ampere ...
The benefits of sparsity only seem straightforward. ... For inference, use TensorRT 8.0 to import the trained model's sparse checkpoint.
Read more >Understanding and Improving Graph Algorithm Performance ...
To improve graph algorithm performance, this dissertation characterizes graph process- ing workloads on shared memory multiprocessors in order to understand ...
Read more >Fast Graph Construction Using Auction Algorithm - arXiv
a sparse graph without losing the global structure of ... A new graph construc- ... buyer and each column j as an object;...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is on my agenda for January 2020, Dimitrios. I aim to build some large graphs using SparseIntDirectedGraph i nthe 1.3.2 snapshot on a multicore workstation, and report the results.
P.S. When I say “always wins”, I mean it supplies the best vertex cover for my application, according to a machine learning criterion.
On Fri, Apr 17, 2020 at 12:13 PM R W R Darling probabilist.us@gmail.com wrote: