Benchmarking Performance: CPU Encoding Tests

One of the interesting elements on modern processors is encoding performance. This includes encryption/decryption, as well as video transcoding from one video format to another. In the encrypt/decrypt scenario, this remains pertinent to on-the-fly encryption of sensitive data - a process by which more modern devices are leaning to for software security. Video transcoding as a tool to adjust the quality, file size and resolution of a video file has boomed in recent years, such as providing the optimum video for devices before consumption, or for game streamers who are wanting to upload the output from their video camera in real-time. As we move into live 3D video, this task will only get more strenuous, and it turns out that the performance of certain algorithms is a function of the input/output of the content.

All of our benchmark results can also be found in our benchmark engine, Bench.

7-Zip 9.2: link

One of the freeware compression tools that offers good scaling performance between processors is 7-Zip. It runs under an open-source licence, is fast, and easy to use tool for power users. We run the benchmark mode via the command line for four loops and take the output score.

Encoding: 7-Zip

WinRAR 5.40: link

For the 2017 test suite, we move to the latest version of WinRAR in our compression test. WinRAR in some quarters is more user-friendly that 7-Zip, hence its inclusion. Rather than use a benchmark mode as we did with 7-Zip, here we take a set of files representative of a generic stack (33 video files in 1.37 GB, 2834 smaller website files in 370 folders in 150 MB) of compressible and incompressible formats. The results shown are the time taken to encode the file. Due to DRAM caching, we run the test 10 times and take the average of the last five runs when the benchmark is in a steady state.

Encoding: WinRAR 5.40

AES Encoding

Algorithms using AES coding have spread far and wide as a ubiquitous tool for encryption. Again, this is another CPU limited test, and modern CPUs have special AES pathways to accelerate their performance. We often see scaling in both frequency and cores with this benchmark. We use the latest version of TrueCrypt and run its benchmark mode over 1GB of in-DRAM data. Results shown are the GB/s average of encryption and decryption.

Encoding: AES

HandBrake v1.0.2 H264 and HEVC: link

As mentioned above, video transcoding (both encode and decode) is a hot topic in performance metrics as more and more content is being created. First consideration is the standard in which the video is encoded, which can be lossless or lossy, trade performance for file-size, trade quality for file-size, or all of the above can increase encoding rates to help accelerate decoding rates. Alongside Google's favorite codec, VP9, there are two others that are taking hold: H264, the older codec, is practically everywhere and is designed to be optimized for 1080p video, and HEVC (or H265) that is aimed to provide the same quality as H264 but at a lower file-size (or better quality for the same size). HEVC is important as 4K is streamed over the air, meaning less bits need to be transferred for the same quality content.

Handbrake is a favored tool for transcoding, and so our test regime takes care of three areas.

Low Quality/Resolution H264: He we transcode a 640x266 H264 rip of a 2 hour film, and change the encoding from Main profile to High profile, using the very-fast preset.

Encoding: Handbrake H264 (LQ)

High Quality/Resolution H264: A similar test, but this time we take a ten-minute double 4K (3840x4320) file running at 60 Hz and transcode from Main to High, using the very-fast preset.

Encoding: Handbrake H264 (HQ)

HEVC Test: Using the same video in HQ, we change the resolution and codec of the original video from 4K60 in H264 into 4K60 HEVC.

Encoding: Handbrake HEVC (4K)

Benchmarking Performance: CPU Web Tests Benchmarking Performance: CPU Office Tests
Comments Locked

140 Comments

View All Comments

  • Ian Cutress - Thursday, July 27, 2017 - link

    AMD doesn't use the R3 / R5 / R7 nomenclature - that's for graphics.
  • Gothmoth - Thursday, July 27, 2017 - link

    i don´t care about gaming or heating my house with a cpu..... so ryzen makes more sense for me. :)

    x299 was such a disappointment.
  • MrCommunistGen - Thursday, July 27, 2017 - link

    Ian, first off, thanks for the benchmark numbers! I look forward to seeing the rest once they are completed.

    As far as data is concerned, is there a chance that the DigiCortex results have the wrong numbers next to a couple CPUs?

    I'm specifically looking at the i3 7100 being the fastest Intel CPU at 0.63, compared to the rest of the offerings clustering together at 0.37-0.38. To me it looks like the 0.63 should be the i5 7400 and the 7100 should be with the other dual cores.

    On another note, it looks like the RoTR Geothermal Valley scene really HATES AMD's HyperThreading - at least on Nvidia hardware/drivers. At first I thought there might be another set of numbers transposed somewhere since the Ryzen 3 CPUs perform SO MUCH better than the 1500X. But I looked back at the 1600X review and the numbers seem consistent -- bad performance on HyperThreaded AMD on a GTX 1080. Prophet's Tomb seems to behave better. Just shows how much architecture and software optimizations for said architecture can either oppose or compliment each other.

    As for small typos, there's also a couple spots where the 1200 is referred to as "1200X". There was another one I found during my initial read that I can't find now that I'm commenting.
  • MrCommunistGen - Thursday, July 27, 2017 - link

    Not the typo I was looking for, but I just noticed that the intro/description for Civ6 looks like it has a typo I've missed in previous articles:
    "...but every edition from the second to the sixth, including the fifth as voiced by the late Leonard Nimoy, it a game that is easy to pick up, but hard to master."

    "it a game" should probably be "is a game"

    Not a criticism, just trying to help out where I can. :)
  • MrCommunistGen - Thursday, July 27, 2017 - link

    Gah... brain fart this morning. Please read my references to AMD "HyperThreading" as "SMT"... smh
  • Ian Cutress - Thursday, July 27, 2017 - link

    i3 7100 should be 0.363x on DigiCortex. I've corrected three 7100 results today in our database from my personal master copy. I think I'll have to go through them all and double check.

    RoTR Geothermal on 1080p with a GTX 1080 really loves quad cores without hyperthreading, AMD or Intel. I'm not sure what it is with that test on that benchmark - in our KBL-X review, all the i5s got top results by a good margin. I think it's been optimized specifically for quad-core, or there's something iffy in the game code/drivers.

    Appreciate the typo point outs for sure. These things are always last minute and you can never have too many eyes on it. :)
  • DanGer1 - Thursday, July 27, 2017 - link

    The review is lacking, especially the value charts. Ryzens come with a cooler, their motherboards cost less and they are overclock-able. Adjusting the cost for the motherboard and the cooler changes the value charts significantly in R3's favor. Overclocking on stock air makes makes performance and value a no contest in favor of the R3s.
  • MajGenRelativity - Thursday, July 27, 2017 - link

    Intel's processors also come with a cooler.
  • wallysb01 - Thursday, July 27, 2017 - link

    Basic 1511 boards that would go into i3/Pentium builds are really not much more, if at all, than the lower end AM4 boards. Plus, the Intel stuff has an iGPU and if you're buying a low end desktop, you probably don't care a lot about heavily multithreaded workloads. So, I'd actually argue the i3/Pentiums are getting under sold in the value charts.

    Its kinda funny how the landscape has switched, in that Intel might actually be the better low-end, value winner, while AMD is the best mid/mid-high end value winner.
  • Gothmoth - Thursday, July 27, 2017 - link

    +1 for overclocking.
    the tested intel cpus are sure not k models.

    as for intel having internal GPU.. i never used them not even on my cheapest system builds.

Log in

Don't have an account? Sign up now