OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [Documentation/] [networking/] [Configurable] - Diff between revs 1765 and 1782

Only display areas with differences | Details | Blame | View Log

Rev 1765 Rev 1782
There are a few network parameters that can be tuned to better match
There are a few network parameters that can be tuned to better match
the kernel to your system hardware and intended usage. The defaults
the kernel to your system hardware and intended usage. The defaults
are usually a good choice for 99% of the people 99% of the time, but
are usually a good choice for 99% of the people 99% of the time, but
you should be aware they do exist and can be changed.
you should be aware they do exist and can be changed.
The current list of parameters can be found in the file:
The current list of parameters can be found in the file:
        ./linux/net/TUNABLE
        ./linux/net/TUNABLE
Some of these are accessible via the sysctl interface, and many more are
Some of these are accessible via the sysctl interface, and many more are
scheduled to be added in this way. For example, some parameters related
scheduled to be added in this way. For example, some parameters related
to Address Resolution Protocol (ARP) are very easily viewed and altered.
to Address Resolution Protocol (ARP) are very easily viewed and altered.
        # cat /proc/sys/net/ipv4/arp_timeout
        # cat /proc/sys/net/ipv4/arp_timeout
        6000
        6000
        # echo 7000 > /proc/sys/net/ipv4/arp_timeout
        # echo 7000 > /proc/sys/net/ipv4/arp_timeout
        # cat /proc/sys/net/ipv4/arp_timeout
        # cat /proc/sys/net/ipv4/arp_timeout
        7000
        7000
Others are already accessible via the related user space programs.
Others are already accessible via the related user space programs.
For example, MAX_WINDOW has a default of 32k which is a good choice for
For example, MAX_WINDOW has a default of 32k which is a good choice for
modern hardware, but if you have a slow (8 bit) ethercard and/or a slow
modern hardware, but if you have a slow (8 bit) ethercard and/or a slow
machine, then this will be far too big for the card to keep up with fast
machine, then this will be far too big for the card to keep up with fast
Tx'ing machines on the same net, resulting in overruns and receive errors.
Tx'ing machines on the same net, resulting in overruns and receive errors.
A value of about 4k would be more appropriate, which can be set via:
A value of about 4k would be more appropriate, which can be set via:
        # route add -net 192.168.3.0 window 4096
        # route add -net 192.168.3.0 window 4096
The remainder of these can only be presently changed by altering a #define
The remainder of these can only be presently changed by altering a #define
in the related header file. This means an edit and recompile cycle.
in the related header file. This means an edit and recompile cycle.
                                                Paul Gortmaker 06/96
                                                Paul Gortmaker 06/96
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.