Python Forum
CPU load at approx. 30% when multiprocessing
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CPU load at approx. 30% when multiprocessing
#3
Thank you for the quick response.
Is it possible to set the priority of my processes higher or is it an internal os mechanism which I can not control?
If I set the chunksize lower to like 1 or 10 then the run takes much longer compared to a higher chunksize.
I am asking myself if going through a list and matching its content to specific rules and assigning each matching process to a boolean value is a task that is worth multiprocessing. If my list gets longer the run also takes longer which doesn't seem to make sense. I thought the more you have to compute the better does multiprocessing perform.

Edit: run times: sequential: approx. 12 seconds
Parallel : approx. 14 seconds
Reply


Messages In This Thread
RE: CPU load at approx. 30% when multiprocessing - by freak14 - Jun-19-2019, 01:47 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020