Persist more in MGPropertyGraph#2805
Conversation
This should fix the quadratic scaling we're seeing when adding new data
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## branch-22.12 #2805 +/- ##
===============================================
Coverage ? 60.48%
===============================================
Files ? 111
Lines ? 6511
Branches ? 0
===============================================
Hits ? 3938
Misses ? 2573
Partials ? 0 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
VibhuJawa
left a comment
There was a problem hiding this comment.
I think it looks good . We should just add a small test to ensure they are actually persisted. Looks good other-wise.
|
This looks fine to me, I just want to verify that this actually increases performance. Have you run some sort of benchmark before/after persistence? |
|
Yeah, I found this PR to be much faster when experimenting with the MAG240 dataset. To satisfy @VibhuJawa and @alexbarghi-nv comments, I will add a benchmark as a test and will share performance results here. |
|
Benchmark "test" added. Results before this PR: Results with this PR: Results for SG PropertyGraph: Merging in the style of #2796 should increase performance of both SG and MG significantly, but MG is waiting on a fix for cudf. |
rlratzel
left a comment
There was a problem hiding this comment.
LGTM, thanks for adding the benchmarks too.
Re: benchmarks - are the GPU mem leak numbers actual leaks, or just something related to how we're testing?
|
This is good to go with the benchmarks, thanks @eriknw |
|
@gpucibot merge |
This should fix the quadratic scaling we're seeing when adding new data.
CC @VibhuJawa. I'm still trying to improve the merges for MG to be like #2796, but I'm encountering issues.