CRCP Performance Analysis Report
Cyclic Redundancy Check Polynomial (CRCP) Performance Study
Test Platform: ARM Cortex-M33 SDK Version: 26.01.00
Key Findings
Consistent Performance: Both CRC16 and CRC32 polynomials demonstrate consistent performance across all data sizes
Throughput: Approximately 14.28 MB/s for larger data sizes (≥ 1024 bytes)
Cycles per Byte: Stabilizes at ~14.00 cycles/byte for larger data sizes
Scalability: Linear latency scaling with data size, indicating predictable performance characteristics
Polynomial Independence: CRC16 and CRC32 show nearly identical performance metrics
Polling Mode: All tests use polling mode (non-blocking, CPU-driven)
Test Configuration
Data Sizes Tested
Small: 32B, 64B, 128B, 256B, 512B
Medium: 1KB, 2KB, 4KB
Large: 8KB, 16KB, 32KB, 64KB
Polynomial Types
CRC16 - 16-bit CRC with CCIT-ZERO polynomial
CRC32 - 32-bit CRC with MPEG2 polynomial
Transfer Mode
Polling: CPU-driven byte-by-byte processing
Performance Metrics Explained
Throughput (MB/s): Data processing rate in megabytes per second
Cycles/Byte: Average CPU cycles required to process one byte of data
Latency (μs): Total time to complete the CRC calculation in microseconds
AM13E230X Cortex-M33
CRC16 Polling Performance
Polynomial |
Data Size (bytes) |
Throughput (MB/s) |
Cycles/Byte |
Latency (µs) |
|---|---|---|---|---|
CRC16 |
32 |
13.91 |
14.38 |
2.30 |
CRC16 |
64 |
14.10 |
14.19 |
4.54 |
CRC16 |
128 |
14.19 |
14.09 |
9.02 |
CRC16 |
256 |
14.24 |
14.05 |
17.98 |
CRC16 |
512 |
14.26 |
14.02 |
35.90 |
CRC16 |
1024 |
14.27 |
14.01 |
71.74 |
CRC16 |
2048 |
14.28 |
14.01 |
143.43 |
CRC16 |
4096 |
14.28 |
14.00 |
286.79 |
CRC16 |
8192 |
14.28 |
14.00 |
573.52 |
CRC16 |
16384 |
14.28 |
14.00 |
1146.97 |
CRC16 |
32768 |
14.28 |
14.00 |
2293.89 |
CRC16 |
65536 |
14.29 |
14.00 |
4587.73 |
CRC32 Polling Performance
Polynomial |
Data Size (bytes) |
Throughput (MB/s) |
Cycles/Byte |
Latency (µs) |
|---|---|---|---|---|
CRC32 |
32 |
13.88 |
14.41 |
2.31 |
CRC32 |
64 |
14.08 |
14.20 |
4.55 |
CRC32 |
128 |
14.18 |
14.10 |
9.02 |
CRC32 |
256 |
14.23 |
14.05 |
17.99 |
CRC32 |
512 |
14.26 |
14.03 |
35.90 |
CRC32 |
1024 |
14.27 |
14.01 |
71.75 |
CRC32 |
2048 |
14.28 |
14.01 |
143.43 |
CRC32 |
4096 |
14.28 |
14.00 |
286.79 |
CRC32 |
8192 |
14.28 |
14.00 |
573.52 |
CRC32 |
16384 |
14.28 |
14.00 |
1146.97 |
CRC32 |
32768 |
14.28 |
14.00 |
2293.90 |
CRC32 |
65536 |
14.29 |
14.00 |
4587.72 |
Notes
Performance metrics were measured using the cycle counter (Arch_Counter_Read32)
Throughput is calculated as: (bytes × CPU_freq_MHz) / cycles
Latency is calculated as: cycles / CPU_freq_MHz
Results represent typical performance under standard conditions
All tests use polling mode without DMA acceleration
CRC16 and CRC32 show nearly identical performance characteristics