Skip to content
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

unsortedOfflinePrimaryVertices4D speedup for 2023 timing workflows #17826

Closed
slava77 opened this issue Mar 8, 2017 · 9 comments
Closed

unsortedOfflinePrimaryVertices4D speedup for 2023 timing workflows #17826

slava77 opened this issue Mar 8, 2017 · 9 comments

Comments

@slava77
Copy link
Contributor

slava77 commented Mar 8, 2017

related to discussion in #17610 leading to
#17610 (comment)

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2017

A new Issue was created by @slava77 Slava Krutelyov.

@davidlange6, @Dr15Jones, @smuzaffar can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@slava77
Copy link
Contributor Author

slava77 commented Mar 8, 2017

assign upgrade,reconstruction

@lgray

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2017

New categories assigned: upgrade,reconstruction

@kpedro88,@slava77,@perrotta you have been requested to review this Pull request/Issue and eventually sign? Thanks

@lgray
Copy link
Contributor

lgray commented Mar 8, 2017

Thanks. I'll try to get to it soon.

@Dr15Jones
Copy link
Contributor

I do not believe vectorization will help this algorithm that much. vectorization could, at most, speed the algorithm up by a factor of 8, but from the measurements we were doing on the KNL the algorithm can be a 100x to 1000x slower than all other modules in the job. If you start with an event with very many primary vertices we saw it can takes 4 hours for the algorithm to converge.

@lgray
Copy link
Contributor

lgray commented Mar 8, 2017 via email

@slava77
Copy link
Contributor Author

slava77 commented Mar 9, 2017

@lgray
please check if you also need this fix
https://github.com/cms-sw/cmssw/pull/16764/files#diff-433c2174a94e2712d80a0b75bba3a49cL196
around https://github.com/lgray/cmssw/blob/8929924570c2ad59f9d21762df80786ed141e4d5/RecoVertex/PrimaryVertexProducer/src/DAClusterizerInZT.cc#L110

    // normalization
-    if (tks[i].zi>0){
+    if (tks[i].zi>epsilon){//e.g. constexpr double epsilon = 1.e-100

@slava77
Copy link
Contributor Author

slava77 commented Jun 28, 2017

@lgray
what is the status of this issue?
Please "@" others who may be working on this.
Thank you.

@kpedro88
Copy link
Contributor

+1
(fully) resolved by #20709

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants