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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS lookup issue? Help!!! 1

Status
Not open for further replies.
Jan 10, 2001
2,873
US
I have a AIX system setup as a domain controller. Running 4.3 AIX with maintenance level 6. My issue is that when I copy a 100 meg folder over from the AIX system it can take several hours to complete. I know this is not correct even on a 10 base T network. Is there an issue with DNS lookup? I have not set it up and do not know how to. I am unsure of the issue. Can anyone help? James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
butchrecon:

Congrats on being voted best-of-the-week...

The DNS issue will only come into play on initiation of the connection. Once the connection is established, DNS basically goes away.

So, if the problem is initiating the connection, then DNS might be the cause. If the problem comes after the connection is established, I'd look elsewhere.

Bill.
 
I have thought of that. What if the AIX system is doing a DNS lookup on EVERY file that is transfered in this 100 meg folder? Would this be plausable? I am familiar with AIX but still a novice. We are selling AIX systems as domain controllers. Problem is no one here knows enough about them to troubleshoot them.What is happening is the system can take several hours to transfer 100meg folder to a PC. PC to PC transfer is fine. This is a 10 meg network. Any thoughts? James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
It is possible that DNS could be sending out broadcasts. But I doubt that would cause this.

At maximum throughput, a 10Mb network will do 1310720 bytes per second. You'll never see that though, as 10Mb Ethernet has a 20% saturation rate, so you'll see 262144 bytes per second. I've seen 100Mb Ethernet sustain over 5-7 MB/second.

You say "folder". Is the destination/source a Windows machine ? If so, how are you connecting ? Samba ? ftp ?

Thanks, Bill.
 
This is a Samba connect yes. Using a Windows 98 PC to connect to an AIX server to Deploy a 100meg folder using a logon script. Its a simply deply using xcopy32 to move the 100 meg folder over a samba connectio. Works fine on other AIX servers. This one it does not. I cannot find any differences but again I am do not know a whole lot about it. James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Run these scripts:

for adapter in `lsdev -Cc adapter|grep "ent"|awk {'print $1'}`
do
lscfg -vpl $adapter
lsattr -El $adapter
done

for i in `netstat -in|grep en0|awk {'print $1'}|sort|uniq`
do
entstat -d $i
done

Post the results.

Bill.
 
Oops - this instead..

Run these scripts:

for adapter in `lsdev -Cc adapter|grep "ent"|awk {'print $1'}`
do
lscfg -vpl $adapter
lsattr -El $adapter
done

for i in `netstat -in|grep en|awk {'print $1'}|sort|uniq`
do
entstat -d $i
done

Post the results.

Bill.
 
I have the results> do not type fast so what is it you are looking for? James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Can you copy/paste them ? Or send me a text file to WVerzal@komint.com ?

Thanks, Bill.
 
-------------------------------------------------------------
ETHERNET STATISTICS (en0) :
Device Type: IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
Hardware Address: 00:06:29:b9:1f:a6
Elapsed Time: 6 days 23 hours 30 minutes 21 seconds

Transmit Statistics: Receive Statistics:
-------------------- -------------------
Packets: 1393854 Packets: 1679311
Bytes: 836681841 Bytes: 362152048
Interrupts: 6204 Interrupts: 1702137
Transmit Errors: 0 Receive Errors: 0
Packets Dropped: 1 Packets Dropped: 23144
Bad Packets: 0
Max Packets on S/W Transmit Queue: 18
S/W Transmit Queue Overflow: 0
Current S/W+H/W Transmit Queue Length: 0

Broadcast Packets: 13411 Broadcast Packets: 323460
Multicast Packets: 2 Multicast Packets: 0
No Carrier Sense: 0 CRC Errors: 23144
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: 0
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: 0

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: 100 Mbps Full Duplex
Media Speed Running: 100 Mbps Full Duplex
Receive Pool Buffer Size: 384
Free Receive Pool Buffers: 128
No Receive Pool Buffer Errors: 0
Inter Packet Gap: 96
Adapter Restarts due to IOCTL commands: 1
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


DEVICE LOCATION DESCRIPTION

ent0 21-08 IBM 10/100 Mbps Ethernet PCI Adapter
(23100020)

Network Address.............000629B91FA6
Displayable Message.........PCI Ethernet Adapter (23100020)
Device Specific.(YL)........P1/E1


PLATFORM SPECIFIC

Name: ethernet
Model: AMD,am79C971
Node: ethernet@1
Device Type: network
Physical Location: P1/E1


busio 0xec00 Bus I/O address False
busintr 35 Bus interrupt level False
intr_priority 3 Interrupt priority False
tx_que_size 8192 TRANSMIT queue size True
rx_que_size 256 RECEIVE queue size True
rxbuf_pool_size 384 RECEIVE buffer pool size True
media_speed 100_Full_Duplex Media Speed True
use_alt_addr no Enable ALTERNATE ETHERNET address True
alt_addr 0x000000000000 ALTERNATE ETHERNET address True
ip_gap 96 Inter-Packet Gap True
poll_link yes Enable Link Polling True
poll_link_timer 500 Time interval for Link Polling True
James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
This field concerns me:

Packets Dropped: 23144

On one of my servers, it says:

Packets Dropped: 1

I see your server uptime is around 7-days. Mine is:

Device Type: IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
Elapsed Time: 145 days 23 hours 28 minutes 54 seconds

I also see that we are running the same physical adapter (23100020 fileset).

Look at the port on the switch that this server is plugged in to. Is the switch configured for 100MB/Full Duplex ? That is what your card is configured for. If they don't match, you'll get network hits and take a hit on throughput. Under AIX 4.2.1, the "auto_negotiate" feature didn't work that well, but it is pretty good under AIX 4.3.

Just for grins and giggles, can you ftp a large (couple of MB) file (.avi, .mov, .dll or .vxd) to the AIX host ? Stuff it into /tmp and see what the throughput is. By testing this with ftp, you'll bypass Samba and go straight over native IP.

Try this.

Bill.
 
Yea I can tonight. I cannot do that during the day. The system is on customer site. I can PPP into a Win98 machine tonight then ftp from there a 20 meg folder. How do I test the throughput? James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
At then end of the ftp session, it will report amount of data transferred and speed in (KB or MB) per second.

Bill.
 
Ok. I will post it tonight. James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
James,

I would bet £1000 that the problem is with the speed the switch port is running at. Dropped packets to that extent are nearly always caused by duplex and speed mismatches between the card and the port. Log onto the switch and check the port speed I think it will be 100_Half duplex.

To prove this if fo not you have access to the switch you could take the adapter down and bring it backup in auto_negotitation mode, the dropped packets should then disappear as it negotiates with the switch.

Cheers

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
No lost packets with FTP and files transfer normal speed. James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Normal being "fast", or normal being "what we see now" ?

Bill.
 
Normal being fast compaired to using the Samba connection. Using Samba a 2meg file took 6 minutes. Using ftp it took 2 seconds. James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
I don't know much about Samba, but I'd look there. If native IP runs well, that eliminates the network and connections.

Bill.
 
Ok its with the Duplex issue. How do I change the duplex in AIX? The Switch is Auto negotiate. James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top