X264 Workload Briefs
Open-source software library and application for encoding video streams.
The Ampere® Altra® and Ampere® Altra® Max processors are complete system-on-chip (SOC) solutions built for cloud native applications. Ampere Altra Max supports up to 128 cores. In addition to incorporating a large number of high-performance cores, the innovative architecture delivers predictable high performance, linear scaling and high energy efficiency.
Online video continues to rapidly grow, driving usage of video transcoding to compress videos which greatly reduces both storage space and network bandwidth. We demonstrate why Ampere Altra Max is ideal for running video transcoding using x264 by delivering both industry leading performance and power efficiency.
Ampere Altra Max is designed to deliver exceptional performance and power efficiency for applications like video transcoding. We use libx264 which implements the H.264/MPEG-4 AVC standard that is the most widely used today. Ampere Altra Max uses an innovative architectural design, operating at consistent frequencies with single-threaded cores that make applications more resistant to noisy neighbor issues. This allows workloads to run in a predictable manner with minimal variance. Additionally, the processors are designed to be highly power efficient. Together, this gives Ampere Altra Max outstanding performance and power efficiency running x264.
Cloud Native: Cloud Native: Designed from the ground up for 'born in the cloud' workloads like x264, Ampere Altra Max delivers up to 2.09x higher performance than the best x86 servers.
Energy Efficiency: Energy Efficiency: With up to 128 energy-efficient Arm cores, Ampere Altra Max consumes up to 1.3x less power than leading x86 servers with better performance.
Lower Carbon Footprint: Industry-leading performance and high energy efficiency result in Ampere Altra Max demonstrating up to 2.8x higher Performance/watt, leading to lower TCO and a smaller carbon footprint.
Scalable: Ampere Altra Max processors delivering consistent performance at the socket level greater than the best x86 servers. This leads to much higher resistance to noisy neighbors in multitenant environments.
We evaluate x264 using “vbench: a Benchmark for Video Transcoding in the Cloud, a benchmark for the emerging video-as-a-service workload”, available here. Vbench’s 15 input videos were algorithmically selected to represent a large commercial corpus of millions of videos based on resolution, framerate, and complexity. We use the "Upload" and "Video on Demand" configurations to evaluate performance and power usage. Upload uses a single pass transcoding without degrading the input video quality which represents the initial upload encoding to a video service, requiring speed and quality. The Video on Demand (VoD) configuration uses a 2 pass transcoding that requires speed and improved compression without degrading video quality. The VoD first pass collects statistics used in the second pass to allocate more bits when encoding complex vs. simple frames.
To maximize ffmpeg throughput, we run multiple ffmpeg instances equal to the number of CPU cores available on the socket, using one ffmpeg thread per instance. All ffmpeg instances are run on one socket with a dedicated CPU core using numactl to set affinity. We report the average time to transocde the 15 vbench input files for each ffmpeg process and the socket level power usage. To minimize OS overhead, the ffmpeg binary, and all input and output files are stored on a ramdisk. We compare Ampere Altra Max M128- 30 processor to Intel® Xeon® Platinum 8380 (Ice Lake) and AMD EPYC™ 7763 (Milan) running CentOS 8.4 with 4.18 kernel. We built the latest available versions of ffmpeg version and libx264 with gcc 11 on all platforms. See Additional Benchmarking Details description below for additional details including the ffmpeg commands run.
Ampere Altra Max has the best transcode performance running ffmpeg using x264 compared to Intel Xeon 8380 and AMD EPYC 7763. In Figure 1, we plot the average transcoding time for each ffmpeg process showing Ampere Altra Max is 2.09x and 1.79x faster than Intel Xeon Platinum 8380 for the Upload and VoD configurations, respectively. Ampere Altra Max is 1.15x and 1.05x faster than AMD EPYC 7763 (Milan) for Upload and VoD.
In addition to the best transcoding performance, Ampere Altra Max is the most power efficient processor, reducing the carbon footprint of video transocding. In Figure 2, we plot the socket level power usage showing Ampere Altra Max is 1.17x more power efficient compared to Intel® Xeon® Platinum 8380 Processor (Ice Lake) and 1.24x vs. AMD EPYC™ 7763 (Milan) for the Upload configuration. For VoD, Ampere Altra Max is 1.22x more power efficient vs. Intel® Xeon® Platinum 8380 Processor (Ice Lake) and 1.29x vs. AMD EPYC™ 7763 (Milan).
Ampere Altra Max processors are a complete System On Chip (SOC) solution built for cloud native workloads, designed to deliver exceptional performance and energy efficiency for applications like video transcoding using x264. Ampere Altra Max delivers both industry leading performance and power efficiency running x264 with up to 2.09x faster performance compared to Intel Xeon 8380 and is up to 1.22x more power efficient. Compared to AMD EPYC 7763, Ampere Altra Max is up to 1.15x faster and up to 1.29x more power efficient. In additional to providing the fastest video transcoding, Ampere Altra Max innovative architecture that delivers predictable high performance with it’s highly energy efficient design and reduces the carbon footprint of video transcoding.
All data and information contained herein is for informational purposes only and Ampere reserves the right to change it without notice. This document may contain technical inaccuracies, omissions and typographical errors, and Ampere is under no obligation to update or correct this information. Ampere makes no representations or warranties of any kind, including but not limited to express or implied guarantees of noninfringement, merchantability, or fitness for a particular purpose, and assumes no liability of any kind. All information is provided “AS IS.” This document is not an offer or a binding commitment by Ampere. Use of the products contemplated herein requires the subsequent negotiation and execution of a definitive agreement or is subject to Ampere’s Terms and Conditions for the Sale of Goods.
System configurations, components, software versions, and testing environments that differ from those used in Ampere’s tests may result in different measurements than those obtained by Ampere.
©2022 Ampere Computing. All Rights Reserved. Ampere, Ampere Computing, Altra and the ‘A’ logo are all registered trademarks or trademarks of Ampere Computing. Arm is a registered trademark of Arm Limited (or its subsidiaries). All other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.
Ampere Computing® / 4655 Great America Parkway, Suite 601 / Santa Clara, CA 95054 / amperecomputing.com
4655 Great America Parkway
Suite 601 Santa Clara, CA 95054