FTP, NFS, and general network issues with CHARON-AXP and CHARON-VAX on Linux
Problems
Network slow and/or unstable
FTP file transfers do not succeed or could eventually induce guest (emulated VAX or AXP) crash due to huge packet received
File transfers succeed with small files and hang with larger files
Solution
Switch off all offloading features on the host Ethernet adapters used by the guest. This can be done manually or on recent CHARON-AXP and CHARON-VAX versions (≥ V4.6), using the 'ncu' utility
Using the 'ncu' utility
'ncu' is a menu driven utility that will help you to dedicate the adapter to the host or to CHARON. When dedicated to CHARON, all the tcp offloading features will be automatically disabled
Access:
|
Please refer to the documentation related to your product and version, chapter "CHARON-AXP (or VAX) for Linux utilities"
Manual configuration
Manual configuration has to be used if the 'ncu' utility is not available.
To configure the host for CHARON networking do the following:
List all the available network interfaces:
Example - Displaying "eth" interfaces with "ifconfig" command
Choose some interface to be used by CHARON, for example "eth1"
Open up the file "
/etc/sysconfig/network-scripts/ifcfg-ethN" (where N is number of the interface to be used for CHARON, in our case is "1") and make sure that all the IP-setup related parameters are removed.Basically the file must look like the following example:
Switch off the offload parameters for chosen network interface using "ethtool" utility.
A first step is to find what additional paramaters are currently set to "on" on the host network adapter to be used by CHARON. To do that issue:
ethtoolwill return the offload parameters and their valuesExample:
Then use ethtool to switch off all the offload parameters:
Example:
For the example above let's create a temporary file containing the commands to be run on system startup, since the offload parameters must be switched off on each reboot
Let's suppose that the name of the file is "offload_off_eth1.txt". In this case running it on system startup can be done in the following ways:
On Red Hat Linux:
On Fedora Core:
Important note
Warning
If virtual machines are running, they will have to be restarted as well as Charon in order to take the parameters into account