cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
David_Burnham
Super User (Alumni)

'High Performance' Slow Relative to 'Balanced'

I have a script that I've developed that takes about 50 seconds to run.  But when I move it onto another laptop it takes about 500 seconds to run (same version of JMP, different machine specs but arguably the slower machine is more powerful - faster processor, more RAM).  Strangely, if I change the battery setting from High Performance to Balanced, the execution time goes down from 500 seconds to 200 seconds.

75% of the execution time is dominated by row selections, the rest by calculations.  I've tried to create a test script that mimics some of the behaviour - attached.  I've not fully succeeded in reproducing the performance difference between the 2 machines but I still see the strange dependency on battery setting:

High Performance: 89 seconds

Balanced: 38 seconds

If you want to try the script, upon completion it produces a table with a script 'view log'.  This displays the execution time.

Any thoughts why the performance degrades with the high performance option?

-Dave
1 ACCEPTED SOLUTION

Accepted Solutions
David_Burnham
Super User (Alumni)

Re: 'High Performance' Slow Relative to 'Balanced'

Thanks for the responses. They helped me take a look at this from a different perspective - I was thinking more about my code than my hardware configuration.  It turned out that my power management settings when running on battery were somehow switched - balanaced was using full CPU power whereas High Performance had CPU usage throttled to 50%.  Having fixed that performance is now consistent across the settings.

-Dave

View solution in original post

6 REPLIES 6
David_Burnham
Super User (Alumni)

Re: 'High Performance' Slow Relative to 'Balanced'

Both machines are Dell XPS running Windows 10.

-Dave
ih
Super User (Alumni) ih
Super User (Alumni)

Re: 'High Performance' Slow Relative to 'Balanced'

Any chance the slower laptop runs hotter?  Perhaps the cooling coils cannot keep up with 100% CPU load all the time. They could be dusty or just not big enough.

ih
Super User (Alumni) ih
Super User (Alumni)

Re: 'High Performance' Slow Relative to 'Balanced'

PS: With three runs on my laptop the power setting made no difference:

 

Balanced: 42.3
High Performance: 39.7

Prob > |t| = 0.25

 

 

Craige_Hales
Super User

Re: 'High Performance' Slow Relative to 'Balanced'

txnelson
Super User

Re: 'High Performance' Slow Relative to 'Balanced'

David,

Many years ago, I had a DEC laptop, that had battery issues.  It's visible symptom was an intermitent mouse pointer.  DEC investigated and it was discovered that the DEC design had the battery and the mouse using the same Interrupt.  Something like this might be going on with your issue.  

Jim
David_Burnham
Super User (Alumni)

Re: 'High Performance' Slow Relative to 'Balanced'

Thanks for the responses. They helped me take a look at this from a different perspective - I was thinking more about my code than my hardware configuration.  It turned out that my power management settings when running on battery were somehow switched - balanaced was using full CPU power whereas High Performance had CPU usage throttled to 50%.  Having fixed that performance is now consistent across the settings.

-Dave