If you want to have more NSD worker threads running, the recommended way to do this is increase nsdThreadsPerDisk, and also increase nsdMaxWorkerThreads. Make sure you have enough pagepool for all of the new threads though. You can also achieve a similar result by increasing nsdMinWorkerThreads, which would render threads-per-disk logic irrelevant, although that's not how this parameter is normally used. The basic idea is that you want to achieve a certain degree of IO parallelism on the block device level, and that calls for some number of worker threads per disk. The number of NSD queues is not really relevant here, multiple queues is just a technique to achieve better SMP scalability, and with the default 256 queues there should be no contention for any individual queue on typical hardware (tens of CPU cores). Controlling the number of worker threads through nsdThreadsPerDisk gives you a way to adjust the thread count dynamically as disks are added or removed, without you having to micro-manage this by adjusting nsdMinWorkerThreads every time.
It's not clear whether having more IO parallelism necessarily improves the overall throughput, vs shifting bottlenecks elsewhere. Given the basic nature of flash storage, the former intuitively seems plausible, but some hard numbers from a real performance experiment would be helpful.
yuri"Oesterlin, Robert" ---01/12/2016 11:31:44 AM---I'm experimenting with moving some of our more heavily used files (about 5% of the file system) from
From: "Oesterlin, Robert" <Robert.Oesterlin@nuance.com>
To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>,
Date: 01/12/2016 11:31 AM
Subject: [gpfsug-discuss] Advice on NSD Thread tuning, moving from Disk to Flash
Sent by: gpfsug-discuss-bounces@spectrumscale.org
Bob Oesterlin
Sr Storage Engineer, Nuance HPC Grid_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss