arkouda.comm_diagnostics¶
Functions¶
|
Return a DataFrame with the communication diagnostics statistics. |
atomic memory operations |
|
GETs that were handled by the cache. |
|
GETs that were not handled by the cache |
|
Number of readaheads issued to the remote cache at the granularity of cache pages. |
|
Number of prefetches issued to the remote cache at the granularity of cache pages. |
|
Number of cache pages that were prefetched but evicted from the cache before being accessed |
|
Number of cache pages that were prefetched but did not arrive in the cache before being accessed |
|
PUTs that were stored in cache pages that already existed. |
|
PUTs that required the cache to create a new page to store them. |
|
Number of cache pages that were read ahead but evicted from the cache before being accessed |
|
Number of cache pages that were read ahead but did not arrive in the cache before being accessed |
|
blocking remote executions, in which initiator waits for completion |
|
blocking remote executions performed by the target locale’s Active Message handler |
|
non-blocking remote executions |
|
blocking GETs, in which initiator waits for completion |
|
non-blocking GETs |
|
blocking PUTs, in which initiator waits for completion |
|
non-blocking PUTs |
|
tests for non-blocking GET/PUT completions |
|
blocking waits for non-blocking GET/PUT completions |
|
|
Print the current communication counts in a markdown table |
Reset aggregate communication counts across the whole program. |
|
Start counting communication operations across the whole program. |
|
Start on-the-fly reporting of communication initiated on any locale. |
|
Stop counting communication operations across the whole program. |
|
Stop on-the-fly reporting of communication initiated on any locale. |
Module Contents¶
- arkouda.comm_diagnostics.get_comm_diagnostics() arkouda.dataframe.DataFrame [source]¶
Return a DataFrame with the communication diagnostics statistics.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_amo()[source]¶
atomic memory operations
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_cache_get_hits()[source]¶
GETs that were handled by the cache. GETs counted here did not require the cache to communicate in order to return the result.
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_cache_get_misses()[source]¶
GETs that were not handled by the cache
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_cache_num_page_readaheads()[source]¶
Number of readaheads issued to the remote cache at the granularity of cache pages.
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_cache_num_prefetches()[source]¶
Number of prefetches issued to the remote cache at the granularity of cache pages. This counter is specifically triggered via calls to chpl_comm_remote_prefetch
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_cache_prefetch_unused()[source]¶
Number of cache pages that were prefetched but evicted from the cache before being accessed (i.e., the prefetches were too early).
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_cache_prefetch_waited()[source]¶
Number of cache pages that were prefetched but did not arrive in the cache before being accessed (i.e., the prefetches were too late).
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_cache_put_hits()[source]¶
PUTs that were stored in cache pages that already existed.
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_cache_put_misses()[source]¶
PUTs that required the cache to create a new page to store them.
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_cache_readahead_unused()[source]¶
Number of cache pages that were read ahead but evicted from the cache before being accessed (i.e., the readaheads were too early).
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_cache_readahead_waited()[source]¶
Number of cache pages that were read ahead but did not arrive in the cache before being accessed (i.e., the readaheads were too late).
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_execute_on()[source]¶
blocking remote executions, in which initiator waits for completion
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_execute_on_fast()[source]¶
blocking remote executions performed by the target locale’s Active Message handler
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_execute_on_nb()[source]¶
non-blocking remote executions
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_get()[source]¶
blocking GETs, in which initiator waits for completion
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_get_nb()[source]¶
non-blocking GETs
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_put()[source]¶
blocking PUTs, in which initiator waits for completion
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_put_nb()[source]¶
non-blocking PUTs
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_try_nb()[source]¶
tests for non-blocking GET/PUT completions
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.get_comm_diagnostics_wait_nb()[source]¶
blocking waits for non-blocking GET/PUT completions
- Returns:
A pdarray, where the size is the number of locales, populated with the statistic value from each locale.
- Return type:
- arkouda.comm_diagnostics.print_comm_diagnostics_table(print_empty_columns=False)[source]¶
Print the current communication counts in a markdown table using a row per locale and a column per operation. By default, operations for which all locales have a count of zero are not displayed in the table, though an argument can be used to reverse that behavior.
- Parameters:
print_empty_columns (bool=False)
Note
The table will only be printed to the chapel logs.
- Returns:
Completion message.
- Return type:
str
- arkouda.comm_diagnostics.reset_comm_diagnostics()[source]¶
Reset aggregate communication counts across the whole program.
- Returns:
Completion message.
- Return type:
str
- arkouda.comm_diagnostics.start_comm_diagnostics()[source]¶
Start counting communication operations across the whole program.
- Returns:
Completion message.
- Return type:
str
- arkouda.comm_diagnostics.start_verbose_comm()[source]¶
Start on-the-fly reporting of communication initiated on any locale.
Note
Reporting will only be printed to the chapel logs.
- Returns:
Completion message.
- Return type:
str