summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/string.cpp
diff options
context:
space:
mode:
authorsmh <smh@FreeBSD.org>2013-04-26 15:43:24 +0000
committersmh <smh@FreeBSD.org>2013-04-26 15:43:24 +0000
commit5e3cfe527c9f5a7d6255ead694356de608509bf7 (patch)
tree1b4f63d9287ea91f7b3891c2aa1f82efdf51792a /contrib/libc++/src/string.cpp
parentbb465a0ea2adda799d70e444a0c74c76d2aa2aa7 (diff)
downloadFreeBSD-src-5e3cfe527c9f5a7d6255ead694356de608509bf7.zip
FreeBSD-src-5e3cfe527c9f5a7d6255ead694356de608509bf7.tar.gz
Added a sysctl (kern.geom.dev.delete_max_sectors) to control the maximum
size of a delete request sent to the providing device performed by g_dev_ioctl. This allows the kernel and apps via ioctl e.g. newfs -E to request large LBA deletes which siginificantly improves performance. Previously this was hard coded to 65536 sectors, the new default is 262144 which doubles the throughput of deletes on commonly available SSD's. In tests on a Intel 520 120GB FW: 400i disk it improved the delete throughput from 1.6GB/s to over 2.6GB/s on a full disk delete such as that done via newfs -E For some SSD's where delete time is pretty much constant, no matter what the request, setting this to 0 will provide significantly better throughput e.g. Samsung 840 240GB FW DXT07B0Q @ 262144 = 79G/s, @ 0 = 2259G/s Reviewed by: mav Approved by: pjd (mentor) MFC after: 2 weeks
Diffstat (limited to 'contrib/libc++/src/string.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud