Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

ftp transfer rate issue..between two unix hosts

SOLVED
Go to solution
chindi
Respected Contributor

ftp transfer rate issue..between two unix hosts

Hi ,
We have two rx6600 servers with 1000base T lan cards..1000FD /auto-neg on settngs ...
the same settngs are at the switch ports too..

But even afetr that we are nt gettng the desired speed...the link is of 45 Mbps..

The speed between two windows machine in the same WAN is about 3.5 - 4 MB/s...
Whereas betwenn two unix hosts it is 1.2MB/s..

Do we need to tune any netwrok parameter at O.S end..like tcp/ip...using ndd..
o.s 11i23 , 16gb Ram...
kindly suggest...
15 REPLIES
Torsten.
Acclaimed Contributor

Re: ftp transfer rate issue..between two unix hosts

First you need to tell what OS is running.

If 11.31, use

# nwmgr -c lan0 -v

to get the current link speed (adjust lan0, please).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
chindi
Respected Contributor

Re: ftp transfer rate issue..between two unix hosts

Hi Torsten ,

Its 11i23..
chindi
Respected Contributor

Re: ftp transfer rate issue..between two unix hosts

Hi Torsten ,
Kindly suggest
Torsten.
Acclaimed Contributor

Re: ftp transfer rate issue..between two unix hosts

Try


lanadmin -x 1 (for lan1)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
chindi
Respected Contributor

Re: ftp transfer rate issue..between two unix hosts

Hi Torsten ,

At both server as well as switch end the speed set is 1000FD Auto-neg on ...

also the latency between two unix boxes is 30ms OVER THE WAN...
Still m not able to achieve the transfer speed as that of two windows boxes....on SAME WAN..
Jose Mosquera
Honored Contributor

Re: ftp transfer rate issue..between two unix hosts

Hi,

Have you reviewed if the absence, or incorrect definition of any static route are causing that your data packages are going by a long way path to reach your target server. You can verify this probability with "traceroute" command from each side of your servers.

Use "netstat -rn" command to view your current routing tables definitions.

Rgds.
chindi
Respected Contributor

Re: ftp transfer rate issue..between two unix hosts

Hi Jose ,

The hops are the same for both windows and hp boxes..

Can we look from ndd paremetrs point of view...???
Earl_Crowder
Trusted Contributor

Re: ftp transfer rate issue..between two unix hosts

I would suggest increasing the buffer space for ftpd and ftp using the "-B" argument. Start with 2048 (a 2MB buffer), and see if that improves performance.

Modify inetd.conf on the server side:
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l -B 2048

From the client side:
ftp -B 2048 server

Earl
Alzhy
Honored Contributor

Re: ftp transfer rate issue..between two unix hosts

So you have 2 sites. Each with WIndows and rx6600 servers. Both are connected Gigabit to local switches. The two sites are connected vi a WAN of 45Mbps (an OC3?).

Ad you are wondering why WIndows to WIndows xfers are 3.5 to 4MB/s (Full OC3/WAN Speed). Whilst UNIX to UNIX are a measly 1.2MB/s.

And you are testing via FTP.

Possibilities between the disparity are:

- HOW you test. (Use NULL Ftp on UNIX that does not involve disk if it helps)
- Have you ensured that during your UNIX ftp test that there are no other load on the WAN?
- Last, check with your Network Folks -- if they have somewhting set up on the WAN config that limits certain networks or hosts to be restricted not to use the entire expensive WAN pipe.
Hakuna Matata.
chindi
Respected Contributor

Re: ftp transfer rate issue..between two unix hosts

Hi Alzhy ,

Two sites are connected by Point-to-point Leased lines...

We had ensured that there is no data transfer between two hosts over d WAN ...

Hi Earl ,

M working on ur soln , will intimate u asap.
Alzhy
Honored Contributor

Re: ftp transfer rate issue..between two unix hosts

I don't think the ISSUE is on your UNIX machine configuration sir. It must be your network.

If you can do Gigabit speeds between HP-UX machines on your LANs - then there should be no reason to suspect there is a network configuration issue on your HP-UX machins sir.

This is how I usually test via FTP to test full bandiwdth vaailable on my LAN:

ftp> put "|dd if=/dev/zero bs=1024k count=1024" /dev/null

it avoids disk I/O so it discounts the effect of slow filesystems.




Hakuna Matata.
chindi
Respected Contributor

Re: ftp transfer rate issue..between two unix hosts

Hi Earl,

You were spot on :)

Wen increased buffer size to 8192 i got a transfer speed of 5 MB/sec which was desperately needed...between 2 unix hosts...
Now my 100MB file takes only 20.82 sec which was previously taking 117 sec .

But now i have another question , we are planning to use oracle dataguard to replicate our archive logs , but since dataguard uses tcp protocol for file transfer , kindly suggest a solution as to how we can achieve the same transfer rate for ORACLE DATAGUARD.
Earl_Crowder
Trusted Contributor
Solution

Re: ftp transfer rate issue..between two unix hosts

Alzhy
Honored Contributor

Re: ftp transfer rate issue..between two unix hosts

This may help your Dataguard network tuning.

http://blogs.oracle.com/AlejandroVargas/dataguard/Formula%20to%20Calculate%20TCP%20Socket%20Buffer%20Sizes.pdf

I have tried the ftpd buffers on my Linux and 11.11 systems (just out of curiosity) and it had no effect. We have an OC3 WAN.
Hakuna Matata.
chindi
Respected Contributor

Re: ftp transfer rate issue..between two unix hosts

Hi Earl ,

Thank you very much for the solution :)
Also do let me know if you can find any other references for oracle dataguard reg log transfer protocol.

Thanks again .