Kernel Parameter Tuning Mechanisms

team bbl


There are two primary interfaces to the kernel tunable variables: the sysctl(8) command-line utility and the /proc file system. For a description of how these mechanisms are used, please see Appendix A.

This chapter principally focuses on the kernel variables that are core networking variables and that are specific to TCP/IPv4. The sysctl parameters are in the sysctl.net.core and sysctl.net.ipv4 categories, and their associated /proc entries (following the same hierarchy) are in the /proc/sys/net/core and /proc/sys/net/ipv4 subdirectories.

The following discussion lists both the sysctl parameter name as well as its entry in the /proc file system. Some parameters are present in the kernel only if the kernel is compiled with certain features included. For example, if the kernel is not compiled with TCP syncookie support, the kernel parameter tcp_syncookies is not present.

Kernel parameters should always be tuned with care, because they usually impact the system as a whole, not just individual sockets or network connections.

    team bbl



    Performance Tuning for Linux Servers
    Performance Tuning for Linux Servers
    ISBN: 0137136285
    EAN: 2147483647
    Year: 2006
    Pages: 254

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net