Python Global Interpreter Lock (GIL)

This is the cause of Python thread performance cap on only one cpu core.

  • Python's thread is a real system thread
  • GIL causing multi-core CPU to be slower (on cpu bound task)
  • new GIL is coming ? better CPU bound task, worse I/O bound task (need some improvement)

Just read : http://www.dabeaz.com/python/UnderstandingGIL.pdf

Konpat Preechakul

Read more posts by this author.