Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40380

RLock IO bound?

Newsgroups comp.lang.python
Date 2013-03-02 17:35 -0800
Message-ID <43fc67b0-5846-4aad-8563-dbb3fad2caaa@googlegroups.com> (permalink)
Subject RLock IO bound?
From juancarlo.anez@gmail.com

Show all headers | View raw


Hello,

I have a set of processes that bring any number of cores to 100% use when unsynchronized (they take independent jobs from a queue).

As soon as I add an RLock to handle shared access to a file-system directory, the CPU utilization drops to 60%.

I'm not talking about overall speed here, but about processes that were CPU bound and suddenly become bound to something else with RLock.

Any explanations?

Cheers,

-- Juancarlo

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

RLock IO bound? juancarlo.anez@gmail.com - 2013-03-02 17:35 -0800
  Re: RLock IO bound? Cameron Simpson <cs@zip.com.au> - 2013-03-03 17:27 +1100

csiph-web