Configures sysfs kernel subsystem control parameters via Opscode Chef in /etc/sysfs.conf
- Ubuntu 12.04+
- Debian 7.0+
L7-sysfs
- The default no-op recipe.- Predefined parameters:
L7-sysfs::nic_tuning
- Sets tx queue length to higher value and increase rps queue.L7-sysfs::disk_tuning
- Set io scheduler and rq affinity.L7-sysfs::tsc_clocksource
- Sets clocksource to tsc.L7-sysfs::disable_thp
- Disables transparent huge pages.
- name: The sysfs parameter.
- comment: Optional string for identification.
- value: Must be set to proper value.
- immediately: Optional true/false. Sets value at runtime or at the end of chef run.
L7_sysfs 'devices/system/clocksource/clocksource0/current_clocksource' do
comment 'Set clocksource to tsc'
value 'tsc'
immediately true
end
- Rewrite to LWRP
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2015 Gabor Szelcsanyi