[stgt] Worker Threads
fujita.tomonori at lab.ntt.co.jp
Mon Sep 26 02:12:14 CEST 2011
On Wed, 21 Sep 2011 14:29:28 -0700
Andy Grover <agrover at redhat.com> wrote:
> On 07/27/2011 07:03 PM, FUJITA Tomonori wrote:
> > On Wed, 27 Jul 2011 13:03:52 -0700
> > "Bennett, Jeffrey" <jab at sdsc.edu> wrote:
> >> Is there any "side effect" by doing this change?
> > NR_WORKER_THREADS is the number of threads that perform I/Os. So you
> > run more threads. You consume more memory.
> >> Is there any plan
> >> to make this a configuration option that can be changed with the
> >> tgt-adm command by the user?
> > tgtd should adjust NR_WORKER_THREADS dynamically since the optimal
> > value depends on your workload, hardware, etc. Well, until we
> > implement that feature, I think that we can support the boot option to
> > specify the number of I/O threads.
> > The following patch works for you? You can specify the number in the
> > following way:
> Hello Tomo-san,
> I haven't tried it but this looks pretty handy to me! Will you be
> applying it?
Ok, let's merge this if someone actually tests it and confirm that it
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt