Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #6091
| From | John Ladasky <ladasky@my-deja.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Multiprocessing: don't push the pedal to the metal? |
| Date | 2011-05-23 12:51 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <84e77cd9-9003-4053-a231-fe7d4bdbfef2@k15g2000pri.googlegroups.com> (permalink) |
| References | <644e4768-0fee-4c40-ba59-4b777b883884@z13g2000prk.googlegroups.com> <0211797f-e130-4bfa-bcb0-f701ec33c7b9@17g2000prr.googlegroups.com> <BANLkTi=AEW6TLwqcUmbiQ+NL8m9UDqhVLA@mail.gmail.com> <mailman.1967.1306145336.9059.python-list@python.org> |
On May 23, 2:50 am, Adam Tauno Williams <awill...@whitemice.org> wrote: > I develop an app that uses multiprocessing heavily. Remember that all > these processes are processes - so you can use all the OS facilities > regarding processes on them. This includes setting nice values, > schedular options, CPU pinning, etc... That's interesting. Does code exist in the Python library which allows the adjustment of CPU pinning and nice levels? I just had another look at the multiprocessing docs, and also at os.subprocess. I didn't see anything that pertains to these issues. > > Each CPU (or core) has its own execution cache. If you can keep one > > thread running on the same core all the time, it will benefit more > > from that cache than if it has to keep flitting from one to another. > > +1
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Multiprocessing: don't push the pedal to the metal? John Ladasky <ladasky@my-deja.com> - 2011-05-21 20:58 -0700
Re: Multiprocessing: don't push the pedal to the metal? John Ladasky <ladasky@my-deja.com> - 2011-05-22 14:06 -0700
Re: Multiprocessing: don't push the pedal to the metal? Chris Angelico <rosuav@gmail.com> - 2011-05-23 10:32 +1000
Re: Multiprocessing: don't push the pedal to the metal? Adam Tauno Williams <awilliam@whitemice.org> - 2011-05-23 05:50 -0400
Re: Multiprocessing: don't push the pedal to the metal? John Ladasky <ladasky@my-deja.com> - 2011-05-23 12:51 -0700
Re: Multiprocessing: don't push the pedal to the metal? Adam Tauno Williams <awilliam@whitemice.org> - 2011-05-23 16:46 -0400
csiph-web