python / python/cpython

use os.memfd_create in multiprocessing.shared_memory?

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

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

3.13 performance topic-multiprocessing type-feature
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

BPO 37185
Nosy @pitrou, @tiran, @applio, @pierreglaser, @vinay0410

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2019-06-06.22:20:10.478>
labels = ['3.9', 'performance']
title = 'use  os.memfd_create in multiprocessing.shared_memory?'
updated_at = <Date 2019-09-09.15:26:07.601>
user = 'https://github.com/pierreglaser'

bugs.python.org fields:

activity = <Date 2019-09-09.15:26:07.601>
actor = 'christian.heimes'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2019-06-06.22:20:10.478>
creator = 'pierreglaser'
dependencies = []
files = []
hgrepos = []
issue_num = 37185
keywords = []
message_count = 4.0
messages = ['344881', '348974', '351443', '351500']
nosy_count = 5.0
nosy_names = ['pitrou', 'christian.heimes', 'davin', 'pierreglaser', 'vinay0410']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'resource usage'
url = 'https://bugs.python.org/issue37185'
versions = ['Python 3.9']

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

まず multiprocessing.shared_memory の実装と os.memfd_create のドキュメントを読み、次にサポート対象プラットフォームで共有メモリオブジェクトが現在どのように作成されているかを追跡します。プラットフォームとリソース管理への影響を比較します。提案された使用方法が適切なカバレッジを伴って実装されるか、適していない理由が issue に明確に記録されれば完了です。

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

評価

技術スタック
python
領域
operating-systems
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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