Skip to content

svd/svdvals slow on Mac #501

Closed
Closed
@simonbyrne

Description

@simonbyrne

Not sure what is going on here, but

B = randn(100,100)
@time svdvals(B)

takes about 20ms on a Mac, vs about 1.5ms inside a Linux VM on the same machine.

Mac versioninfo:

Julia Version 0.6.2
Commit d386e40c17 (2017-12-13 18:08 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)

(from https://discourse.julialang.org/t/svdvals-is-alarmingly-slow/9259)

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceMust go fastersystem:macAffects only macOSupstreamThe issue is with an upstream dependency, e.g. LLVM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions