나의 배움터

  • 분류 전체보기 (386)
    • 일기장 (237)
      • 매일매일성장하기 (78)
      • 매일매일온전히집중하기 (147)
      • 감사일기 (7)
      • 자기동기부여 (5)
    • 이제는 사용하지 않는 공부방 (143)
      • Artificial intelligence (57)
      • Algorithm (20)
      • App building (1)
      • Java (28)
      • Python (5)
      • Database (1)
      • Operating system (5)
      • Computer architecture (1)
      • Concept of programming lang.. (3)
      • 영어 (5)
      • 수학 (1)
      • 컴퓨터공학 필수정보 (16)
  • 홈
  • 태그
  • 방명록

파이썬 multiprocessing, pool, cpu_count()

2021. 10. 21. 14:07

1. multiprocessing과 pool에 대한 설명

https://niceman.tistory.com/145

 

파이썬(Python) - multiprocessing(멀티프로세싱) 설명 및 예제(1) - Pool

파이썬(Python) Multiprocessing - Pool 오늘은 파이썬 멀티프로세싱을 활용하는 첫 번째 예제를 설명하겠습니다. 멀티 프로세싱을 활용하면 복잡하고 시간이 걸리는 작업을 별도의 프로세스를 생성 후

niceman.tistory.com

 

2. cpu_count() 시 실제 cpu갯수와 다르게 나오는 이유

https://frhyme.github.io/python-libs/multiprocessing_cpu_background/

 

python에서도 multiprocessing을 사용해야 하는 이유

Intro - multiprocessing.cpu_count 값이 이상한데?

frhyme.github.io

아주 잘 정리가 되어있으니 참고하자.

'이제는 사용하지 않는 공부방 > Python' 카테고리의 다른 글

visual studio code, python, 가상환경  (0) 2021.10.22
파이썬의 가상환경 conda, virtualenv, pipenv  (0) 2021.10.20
맥북 파이참에서 아나콘다 가상환경 연동하는 방법  (0) 2021.06.17
python 파이썬 전화번호부 만들기 (과제)  (1) 2019.04.26

+ Recent posts

Powered by Tistory, Designed by wallel
Rss Feed and Twitter, Facebook, Youtube, Google+

티스토리툴바