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
speed up conversions #4437
speed up conversions #4437
Conversation
A new Pull Request was created by @VinInn (Vincenzo Innocente) for CMSSW_7_2_X. speed up conversions It involves the following packages: RecoEgamma/EgammaPhotonAlgos @nclopezo, @cmsbuild, @Degano, @StoyanStoynev, @slava77 can you please review it and eventually sign? Thanks. |
@@ -1,3 +1,5 @@ | |||
<flags CXXFLAGS="-Ofast -mrecip"/> |
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.
Isn't this option (Ofast) too aggressive to use? As I understand even debugging becomes problematic with it. This would be the first introduction of it in CMSSW, am I right?
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 was discussed in a reco meeting in April and detailed in
https://twiki.cern.ch/twiki/bin/viewauth/CMS/HighGranularityCMSSWOptimization.
On 1 Jul, 2014, at 11:09 AM, StoyanStoynev notifications@github.com wrote:
In RecoEgamma/EgammaPhotonAlgos/BuildFile.xml:
@@ -1,3 +1,5 @@
+Isn't this option (Ofast) too aggressive to use?
“too” with respect to what?
As I understand even debugging becomes problematic with it.
No. debugging is the same as O2 at the best of my knowedge.
This would be the first introduction of it in CMSSW, am I right?
No. we did many test in the past including a full set of “experimental” releases
v.
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.
On Jul 1, 2014, at 11:09 AM, StoyanStoynev notifications@github.com
wrote:
In RecoEgamma/EgammaPhotonAlgos/BuildFile.xml:
@@ -1,3 +1,5 @@
+Isn't this option (Ofast) too aggressive to use? As I understand even debugging becomes problematic with it. This would be the first introduction of it in CMSSW, am I right?
a 27% speedup someplace can be worth the loss of debugging in a production environment? [I thought we had explicitly discussed this in a reco meeting - but perhaps was a number of months ago]
—
Reply to this email directly or view it on GitHub.
OK, please add the link to the description of the PR (for better visibility and for the record). I wasn't on that April meeting, and I am not a GCC expert, good it was discussed. |
On 1 Jul, 2014, at 11:23 AM, StoyanStoynev notifications@github.com wrote:
Il est bon de suivre sa pente, pourvu que ce soit en montant. |
And for my record (one of the sources I looked at): http://wiki.gentoo.org/wiki/GCC_optimization |
looks like its in PR4414. On Jul 1, 2014, at 11:25 AM, Vincenzo Innocente notifications@github.com
|
Just this one (PR), I'll refer to it from the others. |
#4414 was closed before I looked too much in it. The description of it would fit here though. |
... working on this one too. |
@VinnInn, do you have some idea whether the speedup mostly comes from our own code, or from the underlying SMatrix code itself? |
is the underlying SMatrix code itself. |
Using wf 202 (ttbar + PU) I see in DQM : |
a brief summary from looking at outputs in Stoyan's test area
|
+1 %MSG-w BasicTrajectoryState: TrackProducerWithSCAssociation:ckfInOutTracksFromConversions 01-Jul-2014 12:55:15 CEST Run: 1 Event: 507 No differences in these messages seen in other wf. The point is that effects are minor elsewhere - chi2 type of variables (as above) are affected probably most but it is more like random (and small) fluctuations than else. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes (tests are also fine). |
ConversionProducer speeds up by 27% on run2012C jetHT.
very small regression.
https://twiki.cern.ch/twiki/bin/viewauth/CMS/HighGranularityCMSSWOptimization