Understanding Elemental's Performance
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- julia
- Ambito
- distributed-systems, performance
Direzione di ricerca
Inizia da README.md e dallo script di benchmark nell’issue, includendo il flusso manuale di MPIClusterManagers start_main_loop e stop_main_loop. Esamina i tempi SVD riportati per 4000x4000, 8000x8000 e 16000x16000 e il grafico allegato, quindi determina quali indicazioni o documentazione esistenti potrebbero spiegare la selezione dei rank e le aspettative di scalabilità.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi,
I am trying to understand the performance of this program at NERSC-- it is basically the same as the example in the README.md, except that I addprocs currently doesn't work, so I am using this (manual) approach of running the MPIClusterManager using start_main_loop, and stop_main_loop
N = parse(Int64, ARGS[1])
# to import MPIManager
using MPIClusterManagers
# need to also import Distributed to use addprocs()
using Distributed
# Manage MPIManager manually -- all MPI ranks do the same work
# Start MPIManager
manager = MPIClusterManagers.start_main_loop(MPI_TRANSPORT_ALL)
@mpi_do manager begin
using MPI
comm = MPI.COMM_WORLD
println(
"Hello world,"
* " I am $(MPI.Comm_rank(comm)) of $(MPI.Comm_size(comm))"
* " on node $(gethostname())"
)
println("[rank $(MPI.Comm_rank(comm))]: Importing Elemental")
using LinearAlgebra, Elemental
println("[rank $(MPI.Comm_rank(comm))]: Done importing Elemental")
println("[rank $(MPI.Comm_rank(comm))]: Solving SVD for $(N)x$(N)")
end
@mpi_do manager A = Elemental.DistMatrix(Float64);
@mpi_do manager Elemental.gaussian!(A, N, N);
@mpi_do manager @time U, s, V = svd(A);
@mpi_do manager println(s[1])
# Manage MPIManager manually:
# Elemental needs to be finalized before shutting down MPIManager
@mpi_do manager begin
println("[rank $(MPI.Comm_rank(comm))]: Finalizing Elemental")
Elemental.Finalize()
println("[rank $(MPI.Comm_rank(comm))]: Done finalizing Elemental")
end
# Shut down MPIManager
MPIClusterManagers.stop_main_loop(manager)
I ran some strong scaling tests on 4 Intel Haswell nodes (https://docs.nersc.gov/systems/cori/#haswell-compute-nodes) using a 4000x4000, 8000x8000, and 16000x16000 random matrix.

I am measuring only the svd(A) time. I am attaching my measured times, and wanted to check if this is what you would expect. I am not an expert in how Elemental computes SVDs in a distributed fashion, and so would would be grateful for any advise you have for optimizing this benchmark's performance. In particular, I am interested in understanding what the optimal number of ranks are as a function of problem size (I am hoping that this is such an obvious questions, that you can point me to some existing documentation).
Cheers!
- Lingua principale
- Julia
- Stelle
- 85
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di JuliaParallel/Elemental.jl
-
Broken link in READMEAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Segfault on PkgEvalAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Can not copy DistMatrixAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
JuliaParallel/Elemental.jl#76 · 9 commenti ·
Tutte le issue di JuliaParallel/Elemental.jl
Issue simili
-
path: splitext treats directory references and leading dots as extensionsForse già presa @Hiten0305l l’ha presa oggi. Aperta
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
JuliaParallel/Hwloc.jl#93 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Pleiades page: embedded solution at 7 sweeps reaches the order-7 collocation cap, not order 6Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
SciML/SciMLBenchmarks.jl#1996 ·
I maintainer di solito rispondono entro 1 giorno
-
Affine transformations of `JohnsonSU` could return a `JohnsonSU`Forse già presa @devmotion l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
JuliaStats/Distributions.jl#2117 ·
I maintainer di solito rispondono entro 2 giorni