Linux Tuning

From ElphelWiki
Revision as of 09:40, 2 January 2006 by Khlut (talk | contribs)
Jump to: navigation, search

Data about kernel tuning will be collected here.

Network tuning

To allow receive of multicast packets it is necessary to set route rules for multicast:

# route add -net netmask dev eth0

To avoid packet lossing it is necessary to increase a size of socket receive buffer to 1500000 bytes (tested with ElphelOgm on Intel(R) Pentium(R) 4 CPU 3.20GHz with 100Mbit ethernet card and multicast flow from the camera about 6MB/s).

# echo 1500000 > /proc/sys/net/core/rmem_max
# echo 1500000 > /proc/sys/net/core/rmem_default


Old discussions on SourceForge

Linux Tuning Guide (for 2.4 kernels)

Red Hat Enterprise Linux 4: Reference Guide: Directories within /proc/