cookbook 'jemalloc', '= 0.1.0', :supermarket
jemalloc (7) Versions 0.1.0 Follow1
Installs and configures the jemalloc library
cookbook 'jemalloc', '= 0.1.0'
knife supermarket install jemalloc
knife supermarket download jemalloc
This simple recipe configures, compiles and installs the memory allocation
jemalloc via source. jemalloc shines on high-request manycore
threaded applications and is a cheap upgrade if your workloads happen to fall
into this category.
The following platforms are supported and tested under test kitchen:
- Ubuntu 12.04, 12.10
- CentOS 6
Other Debian and RHEL family distributions are assumed to work.
The cookbook converges best on Chef installations >= 10.16.2
The following attributes are available on this cookbook:
node['jemalloc']['version']- The version and URL that the library will be downloaded from
node['jemalloc']['checksum']- The SHA-256 checksum of the above file
In addition, the following configuration flags are available as switches
node['jemalloc']['configure']['munmap']- Enables the
munmapfeature of jemalloc
node['jemalloc']['configure']['lazy_lock']- Enables lazy locking (locking on multi-threaded applications only)
node['jemalloc']['configure']['xmalloc']- Enables the
xmallocfeature of jemalloc
mmapfor memory allocations
node['jemalloc']['configure']['mremap']- Enables the
mremapfeature of jemalloc
node['jemalloc']['configure']['stats']- Enables the statistics gathering features of jemalloc
node['jemalloc']['configure']['profiling']- Enables the code profiling features of jemalloc
node['jemalloc']['configure']['valgrind']- Enables valgrind support in jemalloc
The default recipe downloads, compiles and installs the selected version of jemalloc.
Include the recipe on your node or role. Modify the attributes as required in your role to change how various configuration is applied per the attributes section above. In general, override attributes in the role should be used when changing attributes.
License and Author
- Author:: Panagiotis Papadomitsos (email@example.com)
Copyright 2013, Panagiotis Papadomitsos
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This cookbook has no specified dependencies.