Python Forum
CPU recommendation for Python (11900K or 5950X)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CPU recommendation for Python (11900K or 5950X)
#1
Dear friends.

In Python, i have 10 different Python projects and my PC is running 7/24 only for 10 Python projects continuously.
But my PC is slow and i want to buy new PC.
I heard, there is some limitations for multicore processors in Python, like global interpreter lock (GIL).

I am thinking to buy Intel i9-11900K or Ryzen 5950X but i am note sure for which one is suitable for me.
Please give me your advise for to select fast and suitable CPU processor for my new PC.

Many thanks for your helps.
Adrian.
Reply
#2
The GIL does make it difficult to use more than 1 core per python interpreter. My suggestion would by a fast processor, tons of RAM, and run multiple virtual machines running python and your apps. The VM software should allow you to distribute the processor cores and you can distribute the apps according to which ones are used more commonly, clustering apps that are less used to share a core.
Reply
#3
You can avoid the GIL limitation by using the multiprocessing module. There is a caveat though, having to do with startup time.
There are many blogs available on the subject, google 'python avoiding the gil'.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [ library recommendation ] search & highlight target texts in PDF? smallabc 1 1,607 Nov-27-2019, 10:40 AM
Last Post: Larz60+
  intermediate book recommendation please? jameson984 1 1,418 Jul-15-2019, 03:21 AM
Last Post: metulburr
  Recommendation after running regression (approach) danishzmalik 0 1,270 Jul-17-2018, 09:31 AM
Last Post: danishzmalik
  Need Recommendation for Training - Python for WebDev and Dashboards Cory 3 2,659 Apr-24-2018, 09:20 PM
Last Post: nilamo
  Need Recommendation Please. jarrod0987 1 2,453 Nov-04-2017, 09:50 PM
Last Post: snippsat
  Recommendation for data structure muteboy 3 2,820 Oct-30-2017, 08:04 PM
Last Post: muteboy
  Recommendation for Python IDE (with debugger, Windows platform) vadim_datascience 6 5,083 May-21-2017, 06:42 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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