Operating System - HP-UX
1823230 Members
3596 Online
109648 Solutions
New Discussion юеВ

Re: FTP implementation in hp-ux 10.20

 
Alberto Delgado_1
New Member

FTP implementation in hp-ux 10.20

I am developing an application with ftp for a hp machine (K380 with OS hp-ux 10.20) and I have found that the communication is slow. It seems to be that this machine can sent only 5 files (1648 bytes/file) per second, while a common PC i586 with linux installed can send about 30 files (1648 bytes/file). In both tests, the machines worked as senders and receivers.

My question is this, does somebody know the reason for it? why the ftp is so slow in the hp mahine? could it be the way in what ftp was implemented in hp-ux 10.20?

Thank you!
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: FTP implementation in hp-ux 10.20

Hi:

Take a look at the thread below. If your HP server is configured with autonegotiation enabled, then poor(er) performance has sometimes been noted:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x7409a24d9abcd4118fef0090279cd0f9,00.html

...JRF...
Alberto Delgado_1
New Member

Re: FTP implementation in hp-ux 10.20

Hi again, thank you for your help but I am afraid my hp machine has hp-ux 10.20 installed instead of hp-ux 11. I tried to follow the steps mentioned in that thread but they do not work for the OS I have...
Patrick Wallek
Honored Contributor

Re: FTP implementation in hp-ux 10.20

The lanadmin -x # command does work on HP-UX 10.20. When looking at the lanscan output, look for the column labeled NMID. This is the number you want to put in the lanadmin command.

For example:

# lanscan
Hardware Station Crd Hardware Net-Interface NM MAC HP DLPI Mjr
Path Address In# State NameUnit State ID Type Support Num
10/16/8 0x080009D8A091 1 UP lan1 UP 4 ETHER Yes 115


In this case the NMID is 4 so I do the following:

# lanadmin -x 4
Current Speed = 100 Full-Duplex Auto-Negotiation-OFF


Once you have this information you can continue on with the thread that James gave you.
Alberto Delgado_1
New Member

Re: FTP implementation in hp-ux 10.20

Hi:
I know that lanadmin -x does not work in hp ux 10.20, and it does not change if I use lanadmin -x 4 (the -x option is not allowed).
Thank you.
Patrick Wallek
Honored Contributor

Re: FTP implementation in hp-ux 10.20

Yes, lanadmin -x does work in HP-UX 10.20. I have tried it this morning and it is working fine. What you may need to do is install the latest networking patch that includes a new lanadmin.

Here is the output of a 'what /usr/sbin/lanadmin'.

# what /usr/sbin/lanadmin
/usr/sbin/lanadmin:
lanadmin.c: $Revision: 1.3.116.10 $ B.10.20 PHNE_14633(700)/PHNE_14634(800)
LAN: Version: B.10.10 $Date: 96/05/09 11:26:21 $