[stgt] [PATCH] use pthread per target

Or Gerlitz ogerlitz at Voltaire.com
Tue Jun 1 07:06:05 CEST 2010


FUJITA Tomonori wrote:
> Not session (nexus) dedicated thread. The patch creates one pthread per target. 

understood

> I set up four targets. Each target has one logical unit (one SSD drive).
> I think that the patch would not improve the performance of one target
> having four logical units. Can't we tell people to use multiple
> targets if they want performance?

yes, people can follow this model of multiple targets. As I wrote before, as it can help  
to outsmart per session bottlenecks / take advantage of parallelism in both sides.

> I thought about pthread per nexus, pthread per connection, etc. Any
> plan to improve the performance without adding hug lock complexity works for me.

indeed such an approach would add locking when going to the backing store in case a target 
has multiple sessions, e.g multiple readers of the same lun.

Or.
--
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 mailing list