summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcscasecmp.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-06-25 17:02:01 +0000
committermav <mav@FreeBSD.org>2014-06-25 17:02:01 +0000
commitd4f8a83dc389f588133be15ddc87f99bb4c0c448 (patch)
tree3d74f14baa560b0d418f34f5238fa4a17b88af16 /lib/libc/string/wcscasecmp.c
parentf8bcf3a1564575105b45d62d63ab0edcc33596a7 (diff)
downloadFreeBSD-src-d4f8a83dc389f588133be15ddc87f99bb4c0c448.zip
FreeBSD-src-d4f8a83dc389f588133be15ddc87f99bb4c0c448.tar.gz
Introduce fine-grained CTL locking to improve SMP scalability.
Split global ctl_lock, historically protecting most of CTL context: - remaining ctl_lock now protects lists of fronends and backends; - per-LUN lun_lock(s) protect LUN-specific information; - per-thread queue_lock(s) protect request queues. This allows to radically reduce congestion on ctl_lock. Create multiple worker threads, depending on number of CPUs, and assign each LUN to one of them. This allows to spread load between multiple CPUs, still avoiging congestion on queues and LUNs locks. On 40-core server, exporting 5 LUNs, each backed by gstripe of SATA SSDs, accessed via 6 iSCSI connections, this change improves peak request rate from 250K to 680K IOPS. MFC after: 2 weeks Sponsored by: iXsystems, Inc.
Diffstat (limited to 'lib/libc/string/wcscasecmp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud