uarch-bench latency test

By: Travis (travis.downs.delete@this.gmail.com),
Room: Moderated Discussions
Foo_ (foo.delete@this.nomail.com) on May 18, 2018 4:05 am wrote:
> Doesn't work on Ryzen:
>
> $ sudo ./uarch-bench.sh --test-name=memory/load-serial/*
> Driver: acpi-cpufreq, governor: performance
> Vendor ID:
> Model name: AMD Ryzen 7 1700 Eight-Core Processor
> Does not support intel_pstate
> setting turbo state for cores 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
> Original no_turbo state:
> wrmsr: CPU 0 cannot set MSR 0x000001a0 to 0x0000004000850089
>

Can you run it as ./uarch-bench rather than ./uarch-bench.sh ? The latter is a wrapper script that tries to disable turbo mode, among other things, but this doesn't work on AMD (if anyone knows how to disable turbo on AMD I'd like to add this functionality).
< Previous Post in ThreadNext Post in Thread >
Thread (71 posts)
TopicPosted ByPosted
measuring cache latency is hard :-/hobold
  measuring cache latency is hard :-/Michael_S
    measuring cache latency is hard :-/hobold
      measuring cache latency is hard :-/Michael S
        measuring cache latency is hard :-/hobold
  measuring cache latency is hard :-/Linus Torvalds
    measuring cache latency is hard :-/anon
      measuring cache latency is hard :-/Travis
        Misread it, thank you (NT)anon
  measuring cache latency is hard :-/juanrga
    measuring cache latency is hard :-/hobold
      measuring cache latency is hard :-/juanrga
        measuring cache latency is hard :-/hobold
  measuring cache latency is hard :-/Travis
    note that this effect does not persist across reboot (NT)Travis
  measuring cache latency is hard :-/Travis
  uarch-bench latency testTravis
    uarch-bench latency testAdrian
      uarch-bench latency testTravis
        uarch-bench latency testAdrian
          uarch-bench latency testAdrian
            uarch-bench latency testTravis
              uarch-bench latency testAdrian
    uarch-bench latency testFoo_
      uarch-bench latency testTravis
        uarch-bench latency testFoo_
          uarch-bench latency testTravis
            uarch-bench latency testbakaneko
              uarch-bench latency testbakaneko
                uarch-bench latency testTravis
                  thanks for the link to the code converterbakaneko
              uarch-bench latency testTravis
                uarch-bench latency testbakaneko
                  uarch-bench latency testTravis
                  Zen+ compared to SkylakeTravis
                    Zen+ compared to SkylakeLinus Torvalds
                      Zen+ compared to SkylakeTravis
                      L0 scratchpad archBrett
                        L0 scratchpad archanon
                        Loads cost 10 times the power of floating point math?Michael_S
                          Loads cost 10 times the power of floating point math?Maynard Handley
                            Another random internet contribution ...Mark Roulo
                              Another random internet contribution ...Brett
                                Another random internet contribution ...Jacob Marley
                                  Another random internet contribution ...Brett
                                    Small allocations do not dictate 16 byte is bestBrett
                                      Small allocations do not dictate 16 byte is bestGabriele Svelto
                                    Another random internet contribution ...Jacob Marley
                                Another random internet contribution ...wumpus
                            Loads cost 10 times the power of floating point math?Michael_S
                              Loads cost 10 times the power of floating point math?dmcq
                                Loads cost 10 times the power of floating point math?Travis
                                  Loads cost 10 times the power of floating point math?dmcq
                                    Loads cost 10 times the power of floating point math?Travis
                        L0 scratchpad archwumpus
                          L0 scratchpad archBrett
                      Zen+ compared to SkylakeVoxilla
                    Zen+ compared to Skylakeitsmydamnation
                      Zen+ compared to SkylakeBigos
                    Zen+ compared to Skylakebakaneko
                      Zen+ compared to SkylakeTravis
                        Zen+ compared to Skylakeanon
                        Zen+ compared to SkylakeHeikki Kultala
                          Zen+ compared to SkylakeTravis
                            Zen+ compared to SkylakeJeff S.
                              *typo*Jeff S.
          uarch-bench latency testTravis
        Disabling p-states on RyzenFoo_
          Disabling p-states on RyzenTravis
            Disabling p-states on RyzenFoo_
              Disabling p-states on RyzenTravis