Model Optimisation

Post Reply
User avatar
Eric
MVP
Posts: 373
Joined: Wed May 14, 2008 1:21 pm
OLAP Product: TM1
Version: 9.4
Excel Version: 2003
Location: Chicago, IL USA

Model Optimisation

Post by Eric »

I was reading something online and it went right over my head. Anyone know what this means and more importantly how to change and check it?
Finally two start-up parameters, VMM and VMT control how TM1 cache’s views. Caching provides performance benefit but absorbs RAM. Tuning these parameters can provide additional available RAM. Again the trade-off for performance needs to be considered and is site-specific.
Srouce:http://www.spfplus.com/newsletter03.html#tm1
Regards,
Eric
Blog: http://tm1-tipz.blogspot.com
Articles: http://www.google.com/reader/shared/use ... /label/TM1


Production: 32 bit 9.0 SP2, Windows 2000 Advanced Server. Web: 32 bit 9.0 SP2, Windows 2000 Server. Excel 2003
User avatar
Olivier
Community Contributor
Posts: 159
Joined: Thu Jun 26, 2008 5:46 am
OLAP Product: TM1
Version: Tm1 10.2.2fp4 -> 2.09
Excel Version: Excel 2013 - 2019
Location: Sydney

Re: Model Optimisation

Post by Olivier »

Hello Eric,

Try to have a look in this Cube : prod:}CubeProperties
(you have to tick "display control object" in your server explorer view menu)

There are several items for cube settings including the two Items VMT and for VMM.

I tryed to tweak the settings for VMM and VMT but never really successfully sized the impact of changing this setting.
If you check the manual about stargate views, you will find out the default value for VMM and VMT is left blank.


Hope this helps,


Olivier
HTH
Olivier
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: Model Optimisation

Post by Steve Vincent »

It's in the PDF Administrators Guide, which should have been installed with TM1, probably in the directory C:\Program Files\Applix\Manuals\eng or something similar.

I can't copy / paste from the PDF (scrambling characters...) but the basics are VMM is the amount of RAM per cube RESERVED for stargate views, and VMT is the amount of time a cube view is allowed to calculate before it starts to commit the data to a stargate. Default VMM is 65,536 bytes, default VMT is 5 seconds. I'm guessing that if you increase the VMM on certain high useage, high RAM cubes you should see a performance increase as long as the data is not changing. You'd need to ensure the server has enough RAM to deal with it tho - if you tell it to reserve 3GB for a cube but don't have 3GB available, it's gonna kill your server and it won't even start up.

Might have a play about with those on the dev server and see if i can get some better recalculation on one of our bigger cubes, thanks for bringing it up tho - never knew it existed!
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: Model Optimisation

Post by Steve Vincent »

Did some testing on this yesterday and didn't see any difference what so ever. Set 2 cubes to 50MB and their sizes on server startup were identical, and after calculating their default views they were also identical both with and without the parameters. Either i've misunderstood what they are trying to achieve, or they aren't doign what they are supposed to be. Hmmm.. :|
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
User avatar
Olivier
Community Contributor
Posts: 159
Joined: Thu Jun 26, 2008 5:46 am
OLAP Product: TM1
Version: Tm1 10.2.2fp4 -> 2.09
Excel Version: Excel 2013 - 2019
Location: Sydney

Re: Model Optimisation

Post by Olivier »

I am happy with your comment because now i am not alone to see no effect throught those settings VMM and VMT configuration...

If anyone already notice any impact please post a short comment on how to test it ?

regards,
HTH
Olivier
User avatar
jim wood
Site Admin
Posts: 3951
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Model Optimisation

Post by jim wood »

I was taking about with Cognos Support. We could possibly see some benfit as we have some very large cubes. I think your cubes have to be a decent size to feel any benefit. If you set it 50MB and your average view is smaller than this then you will see no difference. Also bare in mind that once you calculate the vuiew it is cached. The only way to track real benefit is to calculte a view, timwe it, then change the setting, restart the server and then track if the new view takes any longer,

Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
User avatar
Olivier
Community Contributor
Posts: 159
Joined: Thu Jun 26, 2008 5:46 am
OLAP Product: TM1
Version: Tm1 10.2.2fp4 -> 2.09
Excel Version: Excel 2013 - 2019
Location: Sydney

Re: Model Optimisation

Post by Olivier »

Thanks for the comment Jim !

I will try to test it on a large cube with this procedure and see if i can track any changes...

Olivier
HTH
Olivier
User avatar
bihints.com
Posts: 52
Joined: Tue May 20, 2008 8:56 am
OLAP Product: TM1
Version: 9.0.3
Excel Version: 2003
Contact:

Re: Model Optimisation

Post by bihints.com »

jim wood wrote:Also bare in mind that once you calculate the vuiew it is cached. The only way to track real benefit is to calculte a view, timwe it, then change the setting, restart the server and then track if the new view takes any longer,
Isn't unloading just that cube enough to free up the memory of its cached views?
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: Model Optimisation

Post by Steve Vincent »

Yes. I tried both and saw no difference anyway...
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Post Reply