⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configurable

📁 《嵌入式系统设计与实例开发实验教材二源码》Linux内核移植与编译实验
💻
字号:
There are a few network parameters that can be tuned to better matchthe kernel to your system hardware and intended usage. The defaultsare usually a good choice for 99% of the people 99% of the time, butyou should be aware they do exist and can be changed.The current list of parameters can be found in the files:	linux/net/TUNABLE	linux/Documentation/networking/ip-sysctl.txtSome of these are accessible via the sysctl interface, and many more arescheduled to be added in this way. For example, some parameters related to Address Resolution Protocol (ARP) are very easily viewed and altered.	# cat /proc/sys/net/ipv4/arp_timeout	6000	# echo 7000 > /proc/sys/net/ipv4/arp_timeout	# cat /proc/sys/net/ipv4/arp_timeout	7000Others are already accessible via the related user space programs.For example, MAX_WINDOW has a default of 32 k which is a good choice formodern hardware, but if you have a slow (8 bit) Ethernet card and/or a slowmachine, then this will be far too big for the card to keep up with fast machines transmitting on the same net, resulting in overruns and receive errors.A value of about 4 k would be more appropriate, which can be set via:	# route add -net 192.168.3.0 window 4096The remainder of these can only be presently changed by altering a #definein the related header file. This means an edit and recompile cycle.						Paul Gortmaker 06/96

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -