Creating and customizing n heterogeneous clusters (or workers)

オープン
#389 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
r

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。この issue では、並列ループ内で異種の worker グループを作成して使用できるかどうかが問われているため、完了基準を定義する前に、関連する実装のエントリーポイントを特定する必要があります。

索引モデルが issue の本文から書いたものです。

説明

pkg/parallelly

Hello,
I am new to "future" terminology so please forgive me, I may be confusing when I use process/core/thread/workers etc...
Basically, I am interested in parallel processing on a single multi-core CPU.
Like to know if it is possible to create, let say, n clusters but each with a different number of threads/cores.
For example, create 4 clusters in parallel in this way:

cl1 with 8 cores
cl2 with 5 cores
cl3 with 4 cores
cl4 with 7 cores

Can "cl" be vector or list, like cl[i] or cl[[i]]?
The number of cores/threads will be in an array/list/vector. So I will need to give
it to the process/worker creation as a parameter or set the related option for it.

I would be nice to run them in a parallel loop like foreach .. %dopar% {}

So a total of 24 cores in parallel will work but grouped for 4 different tasks.
Do you know a way to do it?
Please examples.

Thanks...

主要言語
R
スター
1k
フォーク
93
平均マージ
2日 4時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

futureverse/future のほかの issue

futureverse/future の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。