Geekbench 4

By: Linus Torvalds (, July 29, 2016 1:01 pm
Room: Moderated Discussions
John Poole ( on July 29, 2016 11:57 am wrote:
> Sure thing. Here's some preliminary documentation on the CPU workloads included
> in Geekbench 4:

Looks much better.

The two sub-tests that worry me are:

- camera:

How much of that is "integer", and how much of that is crypto engine and GPU?

(the jpeg test could be in this situation too: you say you use "libjpeg", but there are various variations of that with various vector versions, and I could also imagine that people could use GPU jpeg capabilities for it)

And I don't think having "system" tests that use combinations of GPU and crypto engines etc is wrong at all, I just think it's potentially very misleading to make it be a "integer" test and mix it up with other tests that are clearly just CPU.

Part of the problems with GB3 is the confusion about "crypto" and real integer loads. GB4 split out crypto (good), but "camera" (and maybe "jpeg")seems to have potential for introducing another form of confusion.

I think it would be lovely if you had a new category that was called "system" that uses mroe of the SoC and memory/flash, so this is really not saying that your camera test is necessarily bad in itself, but just a "that may not actually be an 'integer' load".

- memory latency:

It's very easy to get this wrong, and have the test be invalidated by CPU prefetching effects. The fact that you say that you've worked to lessn TLB misses makes me nervous. That tends to mean that the accesses are much more predictable, which in turn tends to mean that they are also much more likely to be affected by the prefetcher.

Lots and lots of people have gotten memory latency testing wrong over the years. Even things like "build up a simple linear list from independent allocations" ends up then having really subtle patterns that depend on the allocation patterns of the system, so it may tell less about the CPU memory subsystem than about just random luck in what the linked list access pattern happens to be due to allocator implementation details.

So doing a good job of getting somewhat real memory latency is really quite hard. It's just so easy to be captured by caches and prefetching. And trying to avoid TLB misses makes it much more likely that that will happen.

< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
Geekbench 4John Poole2016/07/28 08:12 PM
  Geekbench 4anon2016/07/28 10:58 PM
    Geekbench 4Doug S2016/07/29 09:08 AM
      Geekbench 4John Poole2016/07/29 11:57 AM
        Geekbench 4someone2016/07/29 12:58 PM
        Geekbench 4Linus Torvalds2016/07/29 01:01 PM
          Geekbench 4John Poole2016/07/29 01:51 PM
            Geekbench 4Linus Torvalds2016/07/29 02:28 PM
        Geekbench 4Doug S2016/07/29 07:59 PM
          Geekbench 4Yoav2016/07/29 11:22 PM
            Geekbench 4Yoav2016/07/29 11:22 PM
        Geekbench 4anon2016/07/29 11:03 PM
          Geekbench 4Doug S2016/07/30 10:06 AM
            Geekbench 4Gabriele Svelto2016/07/30 12:49 PM
            Geekbench 4Maynard Handley2016/07/30 05:45 PM
        libjpeg, LLVM and sqliteGabriele Svelto2016/07/29 11:26 PM
        Geekbench 4none2016/07/31 10:48 AM
        Xcode7( llvm3.7?) vs Clang 3.8 xx2016/08/11 11:18 PM
Reply to this Topic
Body: No Text
How do you spell green?