From the course: Exploring Linux Internals: Advanced Insights and Practical Applications

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Analyzing and optimizing networking

Analyzing and optimizing networking

- So, Linux offers different options to optimize and analyze what's going on on the network. You should realize that because networking is organized in different layers, network traffic optimizing and analyzing is layer bound also. The network address layer can be monitored through ethtool and managed through /proc/sys/net/core. There we are at the ethernet layer. And ethtool relates to the network driver, and /proc/sys/net/core refers to Linux kernel settings related to how packages are set on this driver. Internet and transport layer networking is optimized through /proc/sys/net/ipv4 or v6. And application-level networking is optimized in the application. So if you want to analyze and optimize, well, applications is really a bit out of scope here because that's not Linux, that's the application layer. Fortunately, most recent Linux distributions don't need network tuning at all. That is also because in current networking, there is at least megabit and even on the internet there's…

Contents