Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slow FTP coming in to AIX 5.1 box

Status
Not open for further replies.

txolson

IS-IT--Management
Nov 7, 2001
14
0
0
US
Outgoing FTP flies, copying files around local disks flies, but when using FTP to get or put a file onto the server, it crawls... Approx. 1/2 speed

iostat shows the Kbps at about 4100 versus another AIX box that shows about 8500

I have eliminated everything outside of the box (cables, switches, ports, etc..)

Any ideas?
 
Run entstat -d ent? and check what speed it is running.

Sounds like you are running at 100 half.
 
Hey Bob,
Already checked that:
RJ45 Port Link Status : up
Media Speed Selected: Auto negotiation
Media Speed Running: 100 Mbps Full Duplex

I have tried all the different combinations of auto, forced, full, half, etc to no effect (well, actually anything but auto goes slower)

Thanks fo rteh thougt though....
 
No CRC errors, here's the full output:

entstat -d ent1
-------------------------------------------------------------
ETHERNET STATISTICS (ent1) :
Device Type: IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
Hardware Address: 00:06:29:dc:55:ff
Elapsed Time: 1 days 1 hours 1 minutes 17 seconds

Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 7256658 Packets: 11896984
Bytes: 6582818006 Bytes: 7092777328
Interrupts: 40289 Interrupts: 11679669
Transmit Errors: 0 Receive Errors: 0
Packets Dropped: 90 Packets Dropped: 9
Bad Packets: 0
Max Packets on S/W Transmit Queue: 81
S/W Transmit Queue Overflow: 0
Current S/W+H/W Transmit Queue Length: 21

Broadcast Packets: 99 Broadcast Packets: 189497
Multicast Packets: 2 Multicast Packets: 644
No Carrier Sense: 0 CRC Errors: 0
DMA Underrun: 0 DMA Overrun: 0
Lost CTS Errors: 0 Alignment Errors: 0
Max Collision Errors: 0 No Resource Errors: 0
Late Collision Errors: 0 Receive Collision Errors: 0
Deferred: 0 Packet Too Short Errors: 9
SQE Test: 0 Packet Too Long Errors: 0
Timeout Errors: 0 Packets Discarded by Adapter: 0
Single Collision Count: 0 Receiver Start Count: 0
Multiple Collision Count: 0
Current HW Transmit Queue Length: 21

General Statistics:
-------------------
No mbuf Errors: 0
Adapter Reset Count: 0
Adapter Data Rate: 200
Driver Flags: Up Broadcast Running
Simplex AlternateAddress 64BitSupport
PrivateSegment DataRateSet

IBM 10/100 Mbps Ethernet PCI Adapter Specific Statistics:
------------------------------------------------
Chip Version: 26
RJ45 Port Link Status : up
Media Speed Selected: Auto negotiation
Media Speed Running: 100 Mbps Full Duplex
Receive Pool Buffer Size: 384
Free Receive Pool Buffers: 128
No Receive Pool Buffer Errors: 661
Inter Packet Gap: 96
Adapter Restarts due to IOCTL commands: 99
Packets with Transmit collisions:
1 collisions: 0 6 collisions: 0 11 collisions: 0
2 collisions: 0 7 collisions: 0 12 collisions: 0
3 collisions: 0 8 collisions: 0 13 collisions: 0
4 collisions: 0 9 collisions: 0 14 collisions: 0
5 collisions: 0 10 collisions: 0 15 collisions: 0
Excessive deferral errors: 0x0
 
but when using FTP to get or put a file onto the server,"

from another host? on the same LAN?
 
Bob - ifconfig -a shows tcp_sendspace 65536 tcp_recvspace 65536

Bres - from another host/server, same LAN
 
Are those settings the same as the other servers you tested with?
 
run the no -a command and grep for tcp. look at the sendspace and rcvspace and see what they are set to
 
no -a shows
tcp_sendspace = 16384
tcp_recvspace = 16384

on servers being tested
 
if you have a decent amount of RAM in this box, you might want to raise those values. but i'd check the network card settings on the other boxes first.
 
bumped up "Receive Pool Buffer Size" to 2048, now have zero "No Receive Pool Buffer Errors"

doubled tcp to:
tcp_sendspace = 32768
tcp_recvspace = 32768

still no effect
 
Run a traceroute from the good server to the destination and from the bad server to destination
 
traceroute shows both doing one hop to the default gateway then to the destination. Times are within 1ms
 
Sounds more like a DNS lookup type problem to me. Can the host your using to connect to the AIX box resolve the hostname? Also may be a routing problem.

Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top