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


Groups > comp.lang.python > #40380

RLock IO bound?

X-Received by 10.180.98.102 with SMTP id eh6mr708819wib.7.1362274524460; Sat, 02 Mar 2013 17:35:24 -0800 (PST)
X-Received by 10.49.24.13 with SMTP id q13mr1680887qef.33.1362274524000; Sat, 02 Mar 2013 17:35:24 -0800 (PST)
Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!feeder1.cambriumusenet.nl!feed.tweaknews.nl!209.85.212.216.MISMATCH!19no14947996wij.1!news-out.google.com!bp2ni66631wib.1!nntp.google.com!19no14947991wij.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Sat, 2 Mar 2013 17:35:23 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=190.79.232.226; posting-account=fIKFFQoAAACDYSljffUqB8_RJA8BZxR8
NNTP-Posting-Host 190.79.232.226
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <43fc67b0-5846-4aad-8563-dbb3fad2caaa@googlegroups.com> (permalink)
Subject RLock IO bound?
From juancarlo.anez@gmail.com
Injection-Date Sun, 03 Mar 2013 01:35:24 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:40380

Show key headers only | 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