ASTC Encoder

ASTC Encoder (astcenc) is for the Adaptive Scalable Texture Compression (ASTC) format commonly used with OpenGL, OpenGL ES, and Vulkan graphics APIs. This test profile does a coding test of both compression/decompression.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark astcenc.

Project Site

github.com

Source Repository

github.com

Test Created

18 August 2020

Last Updated

22 July 2022

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

14 Seconds

Average Run Time

2 Minutes, 11 Seconds

Test Dependencies

C/C++ Compiler Toolchain + CMake

Accolades

60k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsASTC Encoder Popularity Statisticspts/astcenc2020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.122024.024K8K12K16K20K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 26 March 2024.
Thorough29.0%Exhaustive29.0%Fast13.9%Medium28.1%Preset Option PopularityOpenBenchmarking.org

Revision History

pts/astcenc-1.4.0   [View Source]   Fri, 22 Jul 2022 05:30:06 GMT
Update against ASTC Encoder 4.0 upstream.

pts/astcenc-1.3.1   [View Source]   Sun, 12 Dec 2021 19:17:35 GMT
Copy paste fix for Windows install script.

pts/astcenc-1.3.0   [View Source]   Sun, 10 Oct 2021 19:29:37 GMT
Update against astcenc 3.2 upstream.

pts/astcenc-1.2.0   [View Source]   Thu, 03 Jun 2021 07:27:28 GMT
Update against ASTC Encoder 3.0.

pts/astcenc-1.1.0   [View Source]   Fri, 12 Mar 2021 06:43:29 GMT
Update against upstream ASTCENC 2.4.

pts/astcenc-1.0.2   [View Source]   Thu, 19 Nov 2020 13:05:12 GMT
Fix for building on AArch64.

pts/astcenc-1.0.1   [View Source]   Wed, 11 Nov 2020 20:49:44 GMT
Fix for macOS build.

pts/astcenc-1.0.0   [View Source]   Tue, 18 Aug 2020 10:43:45 GMT
Initial commit of Arm ASTC Encoder (astcenc) benchmark.

Suites Using This Test

Creator Workloads

Texture Compression

Game Development


Performance Metrics

Analyze Test Configuration:

ASTC Encoder 2.0

Preset: Exhaustive

OpenBenchmarking.org metrics for this test profile configuration based on 1,077 public results since 18 August 2020 with the latest data as of 27 April 2021.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Seconds (Average)
88th
13
45 +/- 1
Mid-Tier
75th
> 80
64th
13
110 +/- 1
60th
12
129 +/- 1
59th
10
138 +/- 1
53rd
10
169 +/- 1
53rd
20
170 +/- 1
51st
3
173 +/- 1
Median
50th
176
50th
8
177 +/- 1
46th
14
215 +/- 1
44th
6
227 +/- 2
44th
11
227 +/- 1
41st
12
261 +/- 2
37th
17
272 +/- 3
34th
13
305 +/- 3
29th
5
387 +/- 2
27th
9
415 +/- 15
26th
4
434 +/- 2
Low-Tier
25th
> 436
25th
4
449 +/- 1
23rd
3
463 +/- 2
22nd
11
480 +/- 26
22nd
19
485 +/- 24
20th
3
517 +/- 6
19th
4
524 +/- 1
19th
6
540 +/- 1
18th
6
547 +/- 1
17th
6
565 +/- 2
16th
3
580 +/- 33
16th
6
580 +/- 2
15th
7
590 +/- 3
15th
4
628 +/- 7
14th
8
665 +/- 42
12th
6
678 +/- 1
10th
27
733 +/- 17
10th
9
736 +/- 4
7th
6
798 +/- 1
6th
7
866 +/- 63
6th
6
877 +/- 69
6th
9
901 +/- 45
4th
9
1099 +/- 21
3rd
3
1398 +/- 8
3rd
6
1475 +/- 2
2nd
3
1543 +/- 1
2nd
8
1568 +/- 32
2nd
3
1601 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Preset: Exhaustive1077 Results Range From 19 To 2605 Seconds19711231752272793313834354875395916436957477998519039551007105911111163121512671319137114231475152715791631168317351787183918911943199520472099215122032255230723592411246325152567261950100150200250

Based on OpenBenchmarking.org data, the selected test / test configuration (ASTC Encoder 2.0 - Preset: Exhaustive) has an average run-time of 15 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkPreset: ExhaustiveRun-Time1326395265Min: 1 / Avg: 14.03 / Max: 67

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseASTC Encoder CPU Core ScalingPreset: Exhaustive246812161824324864128816243240

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE 4.2 (SSE4_2)
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
POPCNT
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VPERMILPS VEXTRACTF128 VBROADCASTSS VINSERTF128 VPERM2F128
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPERMQ VEXTRACTI128 VPERM2I128 VPBROADCASTQ VPBROADCASTB VPBROADCASTD VPSLLVD VINSERTI128 VGATHERDPS VPMASKMOVD VPSRAVD VPBROADCASTW VPERMD
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFNMADD132SD VFMADD132SS VFMADD132PS VFMADD213SS VFMADD132SD VFMADD231SS VFNMADD231SS VFNMADD132SS VFNMADD213SS VFMADD231PS VFMSUB132PS VFNMADD231PS VFMADD213PS VFNMADD132PS VFMSUB231PS VFMSUB231SS VFMSUB132SS VFNMADD213PS
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 26 July 2022

This test profile binary relies on the shared libraries libm.so.6, libc.so.6.

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1 160-Core, ARMv8 Neoverse-N1 64-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 64-Core, Ampere Altra ARMv8 Neoverse-N1 80-Core