Hyperthreading...
-
- Posts: 125
- Joined: Tue Jun 02, 2009 7:05 pm
- OLAP Product: TM1, PAX, PAW, SPSS
- Version: 2.0.916.10 on RHEL
- Excel Version: 2016
- Location: Minneapolis, MN
Hyperthreading...
So is there a general consensus on whether hyperthreading is good or bad for TM1?
Seems like you may gain some concurrency advantages on read-only queries with HT but slow overall performance with rule based data and TI processes.
The servers in question here are dual quad-core X5570's with 128GB ram.
Thx. -- John
Seems like you may gain some concurrency advantages on read-only queries with HT but slow overall performance with rule based data and TI processes.
The servers in question here are dual quad-core X5570's with 128GB ram.
Thx. -- John
- mattgoff
- MVP
- Posts: 516
- Joined: Fri May 16, 2008 1:37 pm
- OLAP Product: TM1
- Version: 10.2.2.6
- Excel Version: O365
- Location: Florida, USA
Re: Hyperthreading...
There's no "bad" -- there's just less good than you might expect. Depending on the stability of your server version and model architecture, multithreaded startup can be a lifesaver. Good cube design can minimize the impact of writers, too.
Matt
Matt
Please read and follow the Request for Assistance Guidelines. It helps us answer your question and saves everyone a lot of time.
- 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: Hyperthreading...
A coule of points:
1) Multi-thread start-up does use a lot more memory.
2) The way that TM1 hyper-threads queries is one thread per user query. (This may be changing in later version but in the version I use this still is the case)
1) Multi-thread start-up does use a lot more memory.
2) The way that TM1 hyper-threads queries is one thread per user query. (This may be changing in later version but in the version I use this still is the case)
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
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- Site Admin
- Posts: 1454
- Joined: Wed May 28, 2008 9:09 am
Re: Hyperthreading...
And all versions of TM1 that I have worked with push calculations through a single thread. Makes me quite sceptical about the vaunted enhancements in 9.1/9.4, which only relate to locking of input and require the poor developer to fragment his capture cubes into microcubes. Shame the 'last known good' version of TM1 - 9.0 SP3 U9 - is coming off 'active' support in 3 weeks' time.
-
- Posts: 125
- Joined: Tue Jun 02, 2009 7:05 pm
- OLAP Product: TM1, PAX, PAW, SPSS
- Version: 2.0.916.10 on RHEL
- Excel Version: 2016
- Location: Minneapolis, MN
Re: Hyperthreading...
Actually, I'm talking hardware hyperthreading here and not TM1 multithreading...
The X5570's are quad-core processsors but, with hyperthreading enabled in the bios, they appear as 8-core processors in the task manager.
The X5570's are quad-core processsors but, with hyperthreading enabled in the bios, they appear as 8-core processors in the task manager.
- 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: Hyperthreading...
Ah now I get your point. Our development server is 4-cpu box with all being dual core so we end up with 8 virtual cores. TM1 just uses one of the threads but when multiple queries are running it does use all 8 threads,
Jim.
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
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- Posts: 125
- Joined: Tue Jun 02, 2009 7:05 pm
- OLAP Product: TM1, PAX, PAW, SPSS
- Version: 2.0.916.10 on RHEL
- Excel Version: 2016
- Location: Minneapolis, MN
Re: Hyperthreading...
So it begs the question, if your multiple quieres didn't exceed 3 concurrently (leaving one cpu for the box), would they finish faster without hyperthreading than with 3 on a 8 threaded machine? Likewise, would your TI processes and other system chores be faster without the hyperthreading?jim wood wrote:Ah now I get your point. Our development server is 4-cpu box with all being dual core so we end up with 8 virtual cores. TM1 just uses one of the threads but when multiple queries are running it does use all 8 threads,
Jim.
If I ever get my head above water with this project, I'll try to do some benchmarking between two identically configured servers but disable hyperthreading on one.
- 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: Hyperthreading...
With it being our development box we haven't tried benchmarking. I can tell you this however our 4 hyperthreading processors run a lot faster than our 8 unix processors,
Jim.
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
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- Posts: 125
- Joined: Tue Jun 02, 2009 7:05 pm
- OLAP Product: TM1, PAX, PAW, SPSS
- Version: 2.0.916.10 on RHEL
- Excel Version: 2016
- Location: Minneapolis, MN
Re: Hyperthreading...
Okay, did some testing today, and here are the disappointing results (depending on how you look at them):
TM1 instance startup time with 16 virtual threads: 36 minutes (7% static CPU utilization)
TM1 instance startup time with 8 cores (HT disabled): 36 minutes (13% static CPU utilization)
So not a damn bit of difference. It's disappointing to me as I was hoping to cut our start-up time (as well as security refresh times). I guess the good news is that HT doesn't appear to hurt you and most TM1 activity appears to get delegated to all threads (simultaneous blips across all 16 threads on websheet activity for instance).
I should mention this instance is configured with MaximumCubeLoadThreads=0.
-- John
TM1 instance startup time with 16 virtual threads: 36 minutes (7% static CPU utilization)
TM1 instance startup time with 8 cores (HT disabled): 36 minutes (13% static CPU utilization)
So not a damn bit of difference. It's disappointing to me as I was hoping to cut our start-up time (as well as security refresh times). I guess the good news is that HT doesn't appear to hurt you and most TM1 activity appears to get delegated to all threads (simultaneous blips across all 16 threads on websheet activity for instance).
I should mention this instance is configured with MaximumCubeLoadThreads=0.
-- John
-
- MVP
- Posts: 3654
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Hyperthreading...
John, I'm baffled as to why you would expect any other result.
The hardware hyperthreading just turns your 8 CPU box into a 16 CPU box. To use any more than one of these CPUs during server load you would need to set MaximumCubeLoadThreads to a value greater than 1. Your observations are not disappointing, they are exactly what one would expect.
The hardware hyperthreading just turns your 8 CPU box into a 16 CPU box. To use any more than one of these CPUs during server load you would need to set MaximumCubeLoadThreads to a value greater than 1. Your observations are not disappointing, they are exactly what one would expect.
-
- Posts: 125
- Joined: Tue Jun 02, 2009 7:05 pm
- OLAP Product: TM1, PAX, PAW, SPSS
- Version: 2.0.916.10 on RHEL
- Excel Version: 2016
- Location: Minneapolis, MN
Re: Hyperthreading...
Umm, would have thought that was pretty apparent... I wasn't up to speed (so to speak) on hyperthreading which is why I asked the question in the first place.lotsaram wrote:John, I'm baffled as to why you would expect any other result.
So, going back to my original question, in your experience, is there any reason to disable to HT's in TM1 implementations?
-
- Posts: 5
- Joined: Mon Jan 11, 2010 4:00 pm
- OLAP Product: TM1
- Version: FP2 hotfix 32
- Excel Version: 2007
Re: Hyperthreading...
Funny thing is, I have noticed to utilize no more than 4 threads at a time. Anything above that and tm1 can't handle the memory usage that goes along with starting up that many threads. Try setting it to 4 in the config file and see what that brings. I am curious to see if you guys see the same thing.
-
- Posts: 6
- Joined: Thu May 27, 2010 1:17 am
- OLAP Product: TM1, Infor PM Olap
- Version: TM1 9.4 + Infor PM Olap 3-10.x
- Excel Version: all
- Location: Singapore
Re: Hyperthreading...
Hi
I just read this thread because I am also wondering if TM1 9.4 FP3 would show increased write-back performance if I disabled hyperthreading on our quad core TM1 server. Cube-load and read performance is not the problem in our model, our bottleneck is write-back of values from excel and TI processes. We are collecting offline data in Excel Workbooks and load them in one go into TM1 (using DBS) per Country/Client combination, after loading from Excel we then run TI processes to generate further values based on the budgets we just captures (like allocations). Bottleneck in this scenario is write-back performance for the DBS from Excel while other users run TI processes. Would switching-off Hyperthreading improve write-back performance?
With regards to Cube Load, I was told (but never tested it) that TM1 (9.4?) is able to utilize Hyperthreading for cube loading if you do not use conditional feeders.
cheers
Marc
I just read this thread because I am also wondering if TM1 9.4 FP3 would show increased write-back performance if I disabled hyperthreading on our quad core TM1 server. Cube-load and read performance is not the problem in our model, our bottleneck is write-back of values from excel and TI processes. We are collecting offline data in Excel Workbooks and load them in one go into TM1 (using DBS) per Country/Client combination, after loading from Excel we then run TI processes to generate further values based on the budgets we just captures (like allocations). Bottleneck in this scenario is write-back performance for the DBS from Excel while other users run TI processes. Would switching-off Hyperthreading improve write-back performance?
With regards to Cube Load, I was told (but never tested it) that TM1 (9.4?) is able to utilize Hyperthreading for cube loading if you do not use conditional feeders.
cheers
Marc
- Michel Zijlema
- Site Admin
- Posts: 712
- Joined: Wed May 14, 2008 5:22 am
- OLAP Product: TM1, PALO
- Version: both 2.5 and higher
- Excel Version: 2003-2007-2010
- Location: Netherlands
- Contact:
Re: Hyperthreading...
There often is some misunderstanding about this. The tm1s.cfg multithread setting relates to database loading on server startup and not to cube-loading using TI or DBSend. A single loading process is single-threaded. TM1 only uses more cores when multiple users are inputting or requesting data simultaneously and/or when multiple TI-processes run simultaneously (if locking permits).With regards to Cube Load, I was told (but never tested it) that TM1 (9.4?) is able to utilize Hyperthreading for cube loading if you do not use conditional feeders.
Michel