Sorting spitballing

Aperta
#321 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

La issue non indica file, test o punti di ingresso e si interrompe a metà della proposta. Inizia esaminando la issue completa e il lavoro già esistente nel repository sull’ordinamento distribuito e sulla distribuzione dei dati. Per considerare il lavoro completato servirebbero un approccio definito, un ambito di implementazione e test o altri criteri di validazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Some sorting ideas for consideration:

  • It is fairly reliable that communication overhead and latency are the dominant factors, so we want to minimize the total amount of communication.
  • In general, sorting requires an all-to-all communication step: every worker has to send and receive data to and from every other worker, so there is potentially a lot of communication.
  • We want to minimize the all-to-all communication as much as possible.
  • We also assume that sorting the local array is efficient and a solved problem.
  • If we can get all the right data to each worker, then sort the data locally with a local sort, then we're done. So the problem reduces to getting the right data to each worker.
  • If we allow the sorted array to have an irregular block distribution that does not match the distribution of the original array, then that gives a lot of flexibility.

Assume we have n workers that share a block-distributed distarray. Assume we have some way to choose n-1 pivots that partition the global array into n sections such that the number of elements in section i equals the number of elements on worker with rank i. Then the sort can proceed as follows:

  • Partition each worker's localarray into n sections using the `n-1
Lingua principale
Python
Stelle
5
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di enthought/distarray

Tutte le issue di enthought/distarray

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.