From: Tejun Heo <tj@kernel.org>
To: Deepawali Verma <dverma249@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Work queue questions
Date: Fri, 21 Sep 2012 12:40:35 -0700 [thread overview]
Message-ID: <20120921194035.GK7264@google.com> (raw)
In-Reply-To: <CAHCeSFrN6VketFq3vmA1S0O1GTOGNW41ZirZs5dGkiTXLbizkA@mail.gmail.com>
Hello, Deepawali.
On Fri, Sep 21, 2012 at 08:35:13PM +0100, Deepawali Verma wrote:
> These three tasks are writing the three chunks of data in parallel. I
> am not getting improvement here otherwise what is difference between
> writing these chunks one by one in single thread instead of trying to
> write the data by scheduling the work on three different workqueues
> means 3 worker threads?
Workqueue is designed to supply sufficient concurrency for such use
cases and it has been doing so for all other in-kernel users for quite
some time now. If you're not getting concurrency in the above
scenario, either you've found a bug in workqueue or you did something
wrong. If you have a scenario not working for you, please post the
code.
Thanks.
--
tejun
next prev parent reply other threads:[~2012-09-21 19:40 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-21 17:35 Work queue questions Dinky Verma
2012-09-21 17:49 ` Tejun Heo
2012-09-21 18:30 ` Deepawali Verma
2012-09-21 18:35 ` Tejun Heo
2012-09-21 19:26 ` Deepawali Verma
2012-09-21 19:27 ` Tejun Heo
2012-09-21 19:35 ` Deepawali Verma
2012-09-21 19:40 ` Tejun Heo [this message]
2012-09-22 4:24 ` anish singh
2012-09-22 5:27 ` Daniel Taylor
2012-09-22 6:05 ` anish singh
2012-09-22 6:12 ` Tejun Heo
2012-09-22 6:18 ` Daniel Taylor
2012-09-24 7:25 ` Deepawali Verma
[not found] ` <CAK-9PRB7KvPNgcsXiNG08-7OdrkkNc2ushusXh9rVm93J0xcHA@mail.gmail.com>
[not found] ` <CAHCeSFqmeOkKySxMUXgtnev+HL-NC6MdmeuDYONymYaNczb7RA@mail.gmail.com>
2012-09-24 16:56 ` Deepawali Verma
2012-09-24 18:10 ` Tejun Heo
2012-09-24 19:57 ` Deepawali Verma
2012-09-24 20:08 ` Tejun Heo
2012-09-24 20:52 ` Deepawali Verma
2012-09-24 20:54 ` Tejun Heo
2012-09-25 3:05 ` anish singh
2012-09-24 17:07 ` Chinmay V S
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120921194035.GK7264@google.com \
--to=tj@kernel.org \
--cc=dverma249@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox