1832592 Members
2876 Online
110043 Solutions
New Discussion

Re: another ftp problem

 
Rob Daniels
Advisor

another ftp problem

Hi all,
I have a ftp problem with 'large' files. See below for some examples:

41820 bytes sent in 0.06 seconds (638.12 Kbytes/sec)
71914 bytes sent in 16.43 seconds (4.27 Kbytes/sec)
70356 bytes sent in 24.25 seconds (2.83 Kbytes/sec)
41820 bytes sent in 0.03 seconds (1458.57 Kbytes/sec)

First and last file are the same!

This transfer is between a HP3000/A400 and a HPUX RP2470/11.i

Ftp between HP3000/A400 and HPUX A180/10.10 never gave any performance problems.

Hopefully anyone can help me with this.

Thanks in advance
Rob Dani??ls
12 REPLIES 12
Ken Hubnik_2
Honored Contributor

Re: another ftp problem

Are they on the same subnet??
Need to check speed and duplex settings for the lan cards.
lanadmin -x ppa#
Leif Halvarsson_2
Honored Contributor

Re: another ftp problem

Hi,
I am not sure performance with very small files is reliable. I think your problem depends on some network mismatch (lan card or switch) for example Full/Half duplex or 10/100MBit.
Stefan Farrelly
Honored Contributor

Re: another ftp problem

I agree with Leif - doing ftp transfer stats using such small files are meaningless - youre only going to get a large variation on each run. To test it use something large - around 20Mb at least.

Im from Palmerston North, New Zealand, but somehow ended up in London...
Rob Daniels
Advisor

Re: another ftp problem

Hi again,

thank you for your fast reply. First of all I don't have much experience with HP9000 and networking but I'm still learning.

Where can I check speed and duplex setting? (lanadmin doesn't give me any information).

Below the netconf of HP9000/A180 (works fine) and HP9000/rp2470. As you can see the subnetmasks are the same.

Main differences are broadcast_address, lanconfig_args (not in 11i), interface_state and route_gateway.

HP9000/A180 netconf
HOSTNAME="hp9000-2"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.0.0.201
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
LANCONFIG_ARGS[0]="ether"
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=hp9000-2
ROUTE_COUNT[0]=0
ROUTE_ARGS[0]=""
GATED=0
GATED_ARGS=""
RDPD=0
RARPD=0

HP9000/rp2470 netconf
HOSTNAME="hp9000"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.0.0.200
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=192.0.0.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
GATED=0
GATED_ARGS=""
RDPD=0
RARP=0


Again thank you in advance
Rob
Tom Jackson
Valued Contributor

Re: another ftp problem

Hi Rob:

Try this:

lanadmin -x 0

To display the speed and protocol settings on lan0.

You can also use the -X -s and -S options to display and set your lan config.

Tom
Rob Daniels
Advisor

Re: another ftp problem

Hi Tom,

on the hp9000/a180 lanadmin doesn't display anything at all.

On the hp9000/rp2470:
Current Config = 100 Full-Duplex MANUAL

I guess it's importatnt to know what the config on the hp9000/a180 is because on this machine everything works fine. Is there another way to get the information?

By the way:
hp9000/a180: 10.20
hp9000/rp2460: 11i

Hope you can help me out.

Regards
Rob
Tom Jackson
Valued Contributor

Re: another ftp problem

Hi Rob:

Try this on your 10.20 system:

lanadmin

Then select:

display

It should give you what you're looking for.

Tom
Rob Daniels
Advisor

Re: another ftp problem

Thanks.

here it is:

Network Management ID = 4
Description = lan0 Hewlett-Packard 10/100 TX Half-Duplex Hw
Rev 0. TT = 1500
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 100
Station Address = 0x1083030010
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 1473425982
Inbound Octets = 162386014
Inbound Unicast Packets = 368294
Inbound Non-Unicast Packets = 1051098
Inbound Discards = 0
Inbound Errors = 1
Inbound Unknown Protocols = 80914
Outbound Octets = 972574101
Outbound Unicast Packets = 3164489
Outbound Non-Unicast Packets = 228215
Outbound Discards = 20
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367

Now the big difference is 10/100 and half-duplex. I think I should change this on the hp9000/rp2470. Can I do this with lanadmin too?

Regards
Rob
Tom Jackson
Valued Contributor

Re: another ftp problem

Hi Rob:

lanadmin -X

Will "set driver specific options of the interface corresponding to PPA." But I've never done it.

On another note. I think your port settings (duplex/speed/negotiation) on your HP RP2470 need to be the same on the hub it is connected to.

Tom
Tom Jackson
Valued Contributor

Re: another ftp problem

Rob:

You will need to specify the PPA on the lanadmin command:

lanadmin -X 0

Tom :-j
rick jones
Honored Contributor

Re: another ftp problem

By default HP-UX FTP uses a 56KB socket buffer, so the 41820 byte file will fit in the buffer and the sending FTP can close() before any of the data is actually transfered.

If you are going to measure with small files, measure only "get" not "put."

As for duplex settings, they only have to match between the two "things" on either end of each wire. So, if there is a switch, there must be a match between the switch port and the NIC for each switchport/NIC pair.

If you include the full lanadmin display stats, FCS errors on a NIC in full duplex, or "late collisions" (late being _key_) for a NIC in half-duplex is a decent indication of a duplex mismatch. Otherwise, there is likely not a duplex mismatch.

NICs in HP-UX default to autoneg, which in _my_ experience works fine with other switches in autoneg. However, if you start hardcoding, you should set everything, everywhere to the same values, or life will be unpleasant.
there is no rest for the wicked yet the virtuous have no pillows
Rob Daniels
Advisor

Re: another ftp problem

Hi all,

thank you very much for your help !!!

Regards
Rob