Parallelization on multi-CPU hardware?

Discussion in 'Python' started by P.M., Oct 5, 2004.

  1. P.M.

    P.M. Guest

    Hi,

    I'm working on an C++/embedded-Python application that will run on
    multi-CPU hardware and I need to efficiently distribute the execution
    of multiple scripts across the CPUs. I'm embedding Python using the
    Boost Python library.

    My question is, how can I best parallelize the running of separate
    autonomous Python scripts within this app? Can I run multiple
    interpreters in separate threads within a single process? In past
    newsgroup messages I've seen advice that the only way to get
    scalability, due to the GIL, is to use an IPC mechanism between
    multiple distinct processes running seperate interpreters. Is this
    still true or are there better ways to accomplish this?

    Thanks
    Peter
     
    P.M., Oct 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. P.M.
    Replies:
    60
    Views:
    1,264
    Alex Martelli
    Oct 26, 2004
  2. Guest
    Replies:
    1
    Views:
    370
    Nicolas Lehuen
    Oct 12, 2004
  3. Mathias
    Replies:
    5
    Views:
    575
    Albert Hofkamp
    Jan 4, 2005
  4. Mike M?ller
    Replies:
    0
    Views:
    356
    Mike M?ller
    Dec 21, 2004
  5. Jp Calderone
    Replies:
    1
    Views:
    440
    Irmen de Jong
    Dec 21, 2004
Loading...

Share This Page