-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find potential matches faster #61
Conversation
Not perfectly aligned, but seems pretty good
…ints of S that match
4d51188
to
8cda030
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a review pass, looks good, just a few things I'd like to see changed before we merge, most "we could do this" comments could become issues if you think they're right Robin.
I must confess that whilst I did get the general idea of DRangedTree works externally, I didn't review the implementation in detail, rather how it was used.
@@ -0,0 +1,401 @@ | |||
import argparse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should replace the old find_potential_matches.py, not sit along side it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, but holding off until tmf-pipeline is updated to pick this up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've asked @patricoferris to comment on what he thinks the best plan here is in terms of commit ordering
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the thought, but just go for it, make the change, commit! I can pull arbitrary commits into arbitrary parts of the pipeline, so if I have to do SHA gymnastics to get a hold of the original potential matches codes that's ok (I already do that for other things). I'd rather the merged code have some order to it and the disorder can live in the pipeline should we need that :))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, merging once CI agrees.
Horizontal striping roughly doubled performance, so well worth it Other changes minor
@mdales I think I have fixed everything or made an issue for it, if you wouldn't mind taking another look please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Robin, LGTM. I'd still rather we replaced the old script rather than had two side by side, so I've asked Patrick to comment about how much that'd break his plans, and if necessary we can make an issue to update things as soon as we can.
@@ -0,0 +1,401 @@ | |||
import argparse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've asked @patricoferris to comment on what he thinks the best plan here is in terms of commit ordering
Run time for Gola with 18 processes:
real 2m38.122s
user 39m43.770s
sys 0m29.981s
Which is a great improvement.
CPC alignment is off, and I think the matching to k might be slightly broken; I need to test the DRangedTree with the new CPC data to check the relative widths and zero widths are handled correctly.