aclprofConfigType
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | typedef enum { ACL_PROF_ARGS_MIN = 0, ACL_PROF_STORAGE_LIMIT = 1, ACL_PROF_SYS_HARDWARE_MEM_FREQ = 3, ACL_PROF_LLC_MODE = 4, ACL_PROF_SYS_IO_FREQ = 5, ACL_PROF_SYS_INTERCONNECTION_FREQ = 6, ACL_PROF_DVPP_FREQ = 7, ACL_PROF_HOST_SYS = 8, ACL_PROF_HOST_SYS_USAGE = 9, ACL_PROF_HOST_SYS_USAGE_FREQ = 10, ACL_PROF_LOW_POWER_FREQ = 11, ACL_PROF_SYS_MEM_SERVICEFLOW = 12, ACL_PROF_SYS_CPU_FREQ = 13, ACL_PROF_SCALE = 14, ACL_PROF_ARGS_MAX = 15 } aclprofConfigType; |
Atlas 350 Accelerator Card: ACL_PROF_DVPP_FREQ, ACL_PROF_HOST_SYS, ACL_PROF_HOST_SYS_USAGE, and ACL_PROF_HOST_SYS_USAGE_FREQ are not supported.
The enumerations are described as follows:
- ACL_PROF_STORAGE_LIMIT: maximum size of files that can be stored in a specified disk directory. The valid value range is [200,4294967295], in MB.
- ACL_PROF_SYS_HARDWARE_MEM_FREQ: collection frequency for the on-chip memory read/write rate, QoS transmission bandwidth, LLC L3 cache bandwidth, accelerator bandwidth, SoC transmission bandwidth, component memory usage, and other related indicators. The value range is [1,100], in Hz. The collected content varies depending on the product. The actual result prevails. Collecting memory data in the environment where glibc (earlier than 2.34) is installed may trigger a known Bug 19329. This problem can be solved by upgrading the glibc version.
Atlas 350 Accelerator Card: The maximum allowed collection frequency for QoS and SoC data is 10,000 Hz. For other collection items, this limit remains 100 Hz, and any configuration higher than 100 Hz will automatically fall back to 100 Hz.
Atlas 200I/500 A2 inference product : You are advised not to increase the collection frequency after the collection task is complete. Otherwise, SoC transmission bandwidth data may be lost.Atlas A2 training product /Atlas A2 inference product : You are advised not to increase the collection frequency after the collection task is complete. Otherwise, SoC transmission bandwidth data may be lost.Atlas A3 training product /Atlas A3 inference product : You are advised not to increase the collection frequency after the collection task is complete. Otherwise, SoC transmission bandwidth data may be lost. - ACL_PROF_LLC_MODE: LLC profiling event. ACL_PROF_SYS_HARDWARE_MEM_FREQ must be set at the same time. The options are as follows:
- read: read events, that is, the L3 cache read rate.
- write: write events, that is, the L3 cache write rate. The default value is read.
- ACL_PROF_SYS_IO_FREQ: collection frequency for the NIC, RoCE, and UB bandwidth data. The value range is [1,100], in Hz. The collected content varies depending on the product. The actual result prevails.
- ACL_PROF_SYS_INTERCONNECTION_FREQ: collection frequency for the HCCS bandwidth data, PCIe data, inter-chip transmission bandwidth data, SIO data, and UB bandwidth data. The value range is [1,50], in Hz. The collected content varies depending on the product. The actual result prevails.
- ACL_PROF_DVPP_FREQ: collection frequency for DVPP data. The value range is [1,100].
- ACL_PROF_HOST_SYS: host-side process-level profile data collection option, selected from cpu and mem.
- ACL_PROF_HOST_SYS_USAGE: host-side system- and process-level profile data collection option, selected from cpu and mem.
- ACL_PROF_HOST_SYS_USAGE_FREQ: collection frequency for the CPU and memory usage. The value range is [1,50].