﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30383	Performance issue with ThreadPoolExecutor/Multiprocessing.	shonejin	nobody	"When starting a background task that directly/indirectly use Python's ThreadPoolExecutor or Multiprocessing, I notice each pool worker can only utilize a small portion of CPU, leaving  major of the CPU free. However, if I execute the same code outside of Django, the CPU utilization goes up by 5 times and thus performance improves a lot. I also tried ""subprocess.call()"" in Django to call 'python EXTERNAL_CODE.py' to run the computing but the CPU utilization issue is still there.

No documentations available explaining why this happens, any supplement info is helpful! Thanks!"	Cleanup/optimization	closed	Core (Other)	dev	Normal	worksforme	performance, multiprocessing, pool		Unreviewed	0	0	0	0	0	0
