- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
What does mean AverageThreadTokens in impala's query profile
- Labels:
-
Apache Impala
Created on 07-15-2015 06:29 PM - edited 09-16-2022 02:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi dear experts!
does anybodu know what does mean AverageThreadTokens in Impala's query profile?
thanks!
Created 07-15-2015 08:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found in source code:
https://github.com/boorad/impala/blob/master/be/src/runtime/plan-fragment-executor.h
// Average number of thread tokens for the duration of the plan fragment execution.
// Fragments that do a lot of cpu work (non-coordinator fragment) will have at
// least 1 token. Fragments that contain a hdfs scan node will have 1+ tokens
// depending on system load. Other nodes (e.g. hash join node) can also reserve
// additional tokens.
// This is a measure of how much CPU resources this fragment used during the course
// of the execution.
RuntimeProfile::Counter* average_thread_tokens_;
Created 07-15-2015 08:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found in source code:
https://github.com/boorad/impala/blob/master/be/src/runtime/plan-fragment-executor.h
// Average number of thread tokens for the duration of the plan fragment execution.
// Fragments that do a lot of cpu work (non-coordinator fragment) will have at
// least 1 token. Fragments that contain a hdfs scan node will have 1+ tokens
// depending on system load. Other nodes (e.g. hash join node) can also reserve
// additional tokens.
// This is a measure of how much CPU resources this fragment used during the course
// of the execution.
RuntimeProfile::Counter* average_thread_tokens_;
Created 07-16-2015 05:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am happy to see that you found your answer. Thanks for sharing it. 🙂
Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
