On Wed, 21 Sep 2011 14:29:28 -0700 Andy Grover <agrover@xxxxxxxxxx> wrote: > On 07/27/2011 07:03 PM, FUJITA Tomonori wrote: > > On Wed, 27 Jul 2011 13:03:52 -0700 > > "Bennett, Jeffrey" <jab@xxxxxxxx> 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 works. -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html