Added new tuned-adm functionality 'profile_info'. It has optional parameter 'profile_name'. If called without parameter, active profile is used. It outputs name of the profile it is querying, profile summary, and profile description. If there is no profile summary or description available it outputs empty string(s). Extended tuned-adm 'list' functionality. It now displays profile summary in the list (if available). Added summary to profiles. Extended D-Bus API to support the new feature and for better Cockpit support: - Added 'profile_info' method. It gets profile_name argument and it queries the requested profile for information. If profile_name is empty string it queries the active/selected profile. It returns tuple of the following format (status, profile_name, summary, description), where status is boolean. If it is False, the query mechanism failed and the other fields don't contain valid data - Added 'profiles2' method. It's extension of 'profiles' method. It returns list of tuples. Tuples have following format: (profile_name, profile_summary) Related: rhbz#1228356 Fixes: #46 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
16 lines
544 B
Text
16 lines
544 B
Text
#
|
|
# tuned configuration
|
|
#
|
|
|
|
[main]
|
|
summary=Optimize for streaming network throughput. Generally only necessary on older CPUs or 40G+ networks.
|
|
include=throughput-performance
|
|
|
|
[sysctl]
|
|
# Increase kernel buffer size maximums. Currently this seems only necessary at 40Gb speeds.
|
|
#
|
|
# The buffer tuning values below do not account for any potential hugepage allocation.
|
|
# Ensure that you do not oversubscribe system memory.
|
|
net.ipv4.tcp_rmem="4096 87380 16777216"
|
|
net.ipv4.tcp_wmem="4096 16384 16777216"
|
|
net.ipv4.udp_mem="3145728 4194304 16777216"
|