Skip to content

Instantly share code, notes, and snippets.

@KayEss
Last active May 22, 2021 09:14
Show Gist options
  • Save KayEss/39042e365b9a839b2d46b82b34dd97c2 to your computer and use it in GitHub Desktop.
Save KayEss/39042e365b9a839b2d46b82b34dd97c2 to your computer and use it in GitHub Desktop.

Throughput comparison

R9 5950X using AnimRay commit 729370df6ba0220fe55a506c462acfd19d0b942a

General purpose kernel

$ uname -a
Linux vangogh 5.11.0-17-generic #18-Ubuntu SMP Thu May 6 20:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
"spheres-white.tga" 1920x1080 225/225 (128x72)
"spheres-white.tga" 1920x1080 225/225 (128x72)
"spheres-white.tga" 1920x1080 225/225 (128x72)
"spheres-white.tga" 1920x1080 225/225 (128x72)
"spheres-white.tga" 1920x1080 225/225 (128x72)

 Performance counter stats for './build.tmp/clang-release/scenes/early/spheres-white -w 1920 -h 1080 -c 100 -s 20' (5 runs):

        275,643.48 msec task-clock                #   29.665 CPUs utilized            ( +-  0.37% )
            24,969      context-switches          #    0.091 K/sec                    ( +-  3.07% )
               370      cpu-migrations            #    0.001 K/sec                    ( +- 19.00% )
             3,628      page-faults               #    0.013 K/sec                    ( +-  0.04% )
 1,107,935,631,441      cycles                    #    4.019 GHz                      ( +-  0.05% )  (83.32%)
       694,826,326      stalled-cycles-frontend   #    0.06% frontend cycles idle     ( +-  0.33% )  (83.33%)
    20,866,370,249      stalled-cycles-backend    #    1.88% backend cycles idle      ( +-  0.44% )  (83.33%)
 1,604,827,374,675      instructions              #    1.45  insn per cycle         
                                                  #    0.01  stalled cycles per insn  ( +-  0.00% )  (83.34%)
    97,252,769,954      branches                  #  352.821 M/sec                    ( +-  0.00% )  (83.34%)
       207,663,833      branch-misses             #    0.21% of all branches          ( +-  0.08% )  (83.35%)

            9.2920 +- 0.0460 seconds time elapsed  ( +-  0.50% )


real    0m46.501s
user    22m57.632s
sys     0m0.534s

Low latency kernel

$ uname -a
Linux vangogh 5.11.0-17-lowlatency #18-Ubuntu SMP PREEMPT Thu May 6 21:25:31 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
"spheres-white.tga" 1920x1080 225/225 (128x72)
"spheres-white.tga" 1920x1080 225/225 (128x72)
"spheres-white.tga" 1920x1080 225/225 (128x72)
"spheres-white.tga" 1920x1080 225/225 (128x72)
"spheres-white.tga" 1920x1080 225/225 (128x72)

 Performance counter stats for './build.tmp/clang-release/scenes/early/spheres-white -w 1920 -h 1080 -c 100 -s 20' (5 runs):

        280,113.90 msec task-clock                #   29.811 CPUs utilized            ( +-  0.20% )
            41,659      context-switches          #    0.149 K/sec                    ( +-  3.08% )
                94      cpu-migrations            #    0.000 K/sec                    ( +-  7.86% )
             3,627      page-faults               #    0.013 K/sec                    ( +-  0.04% )
 1,111,918,412,485      cycles                    #    3.970 GHz                      ( +-  0.04% )  (83.34%)
     1,120,829,542      stalled-cycles-frontend   #    0.10% frontend cycles idle     ( +-  0.21% )  (83.33%)
    21,479,519,731      stalled-cycles-backend    #    1.93% backend cycles idle      ( +-  0.08% )  (83.33%)
 1,605,802,813,133      instructions              #    1.44  insn per cycle         
                                                  #    0.01  stalled cycles per insn  ( +-  0.00% )  (83.33%)
    97,463,479,573      branches                  #  347.942 M/sec                    ( +-  0.00% )  (83.33%)
       209,336,145      branch-misses             #    0.21% of all branches          ( +-  0.22% )  (83.33%)

            9.3962 +- 0.0259 seconds time elapsed  ( +-  0.28% )


real    0m47.011s
user    23m20.082s
sys     0m0.340s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment