Performance issue


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Performance issue
# 1  
Old 12-12-2002
Performance issue

Hello all,

I just stuck up in an uncertain situation related to network performance...

I am trying to access one of my remote client unix machine from a distant location..

The client machine is Ultra-5_10 , with SunOS 5.5.1

The ndd result ( hme1 )shows that the machine is hooked to a 100Mbps network connection.. but the response is very poor. I mean, when I start working with a rlogin/rsh connection, the feedback is really slow.. it just hangs sometime and comes alive again...

Is there any way to measure/identify the connection in terms of bandwidth.. ?

Or anyother points to check out for a better performance...

I had glance on some of the tcp/ip stack tuning stuff.. but this machine dont have many remote connections, which force me to believe something else is wrong...

And big question is ..Am I going in the right direction ??

Here is the output of ndd check...

transceiver_inuse -- 0
link_status -- 1
link_speed -- 1
link_mode -- 1
ipg1 -- 8
ipg2 -- 4
use_int_xcvr -- 0
pace_size -- 1
adv_autoneg_cap -- 1
adv_100T4_cap -- 0
adv_100fdx_cap -- 1
adv_100hdx_cap -- 1
adv_10fdx_cap -- 1
adv_10hdx_cap -- 1
autoneg_cap -- 1
100T4_cap -- 0
100fdx_cap -- 1
100hdx_cap -- 1
10fdx_cap -- 1
10hdx_cap -- 1
lp_autoneg_cap -- 1
lp_100T4_cap -- 0
lp_100fdx_cap -- 1
lp_100hdx_cap -- 1
lp_10fdx_cap -- 1
lp_10hdx_cap -- 1
instance -- 1
lance_mode -- 1
ipg0 -- 16


Thanks in advance..
# 2  
Old 12-12-2002
You have to look at the entire network, not just the local network. We have systems in India and when I open a telnet connection to one of them it is very slow. But my connection goes across a trans-atlantic cable to Europe, then it bounces off a satellite to a ground station in India, then it uses packet radio to get to our lan. Our lan in India is only 10 Mb, but upgrading it to 100 Mb would not help my telnet session.

Somewhere in that chain is a bandwidth bottleneck. And it's the bottleneck that determines my overall speed.

Also round-trip time is an issue, especially with that satellite bounce. Geosyncronous and geostationary satellites are in deep orbit and a human will easily notice the time it takes to bounce off of them. When I type a character, it must go to the remote system which will echo it back to me. That takes time and more bandwidth won't help that.
# 3  
Old 12-12-2002
Re: Performance issue

Quote:
Originally posted by shibz

The ndd result ( hme1 )shows that the machine is hooked to a 100Mbps network connection.. but the response is very poor. I mean, when I start working with a rlogin/rsh connection, the feedback is really slow.. it just hangs sometime and comes alive again...
Perderabo is correct about the network topology situation. However, you might be able to check network throughput while copying a file or some other large bandwidth intensive task and get a quick idea of your actual throughput with netstat. I have never tried it under Solaris, but it works like a champ under FreeBSD.

Code:
netstat -I <interface> <seconds>

Where <interface> is the interface and <seconds> is the delay between updates.

Example:

Code:
FreeBSD:auswipe:/home/auswipe $ netstat -I rl0 1
            input          (rl0)           output
   packets  errs      bytes    packets  errs      bytes colls
         2     0        132          0     0          0     0
         1     0         66          1     0        178     0
         1     0         66          1     0        178     0
         1     0         66          1     0        178     0
^C
FreeBSD:auswipe:/home/auswipe $

Obviously I'm not pushing much on my local network when I ran this.
# 4  
Old 12-13-2002
Along with Perderabo's and Auswipe's suggestion, I think you may just want to start with simple concepts to see if those pan out. Try pinging the remote system, how long does it take? If it is something like 400 ms, it's probably the WAN that is the problem and not the system itself. Do other systems at the same site have a slow response or is it just the one system? If you use traceroute, it may show you where the bottleneck in the WAN is.
# 5  
Old 12-17-2002
Thanks a lot,

Infact, I am getting the ping echoes in an average of 30ms.

I will also look into the other possibilities suggested.

Thank you.
# 6  
Old 12-17-2002
Just to provide another datapoint, when I ping one of our systems in India, I am getting times between 641 ms and 694 ms. I'm reasonably sure that a very large chunk of that is the satellite bounce. Your ping times pretty much eliminates the round trip time as a component of your problem.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Performance issue in Linux

IN solaris, for network high-availability we are using IPMP concept, can u tell me in REDHAT LINUX what we are using... also pls share good step to read & understand the that concept... Also performance issue in linux what are step & cmd can u tell me??? (2 Replies)
Discussion started by: tiger09
2 Replies

2. AIX

Performance issue

Hi We have an AIX5.3 server with application which is written in C. We are facing server (lpar) hangs intermediately. If we open new telnet window prompts for user and takes hell of a time to authenticate, not only that if we run ps -aef then also it takes lot of time. surprisingly there is no... (2 Replies)
Discussion started by: powerAIX
2 Replies

3. AIX

Performance issue

Hi, We have 2 lpars on p6 blade. One of the lpar is having 3 core cpu with 5gb memory running sybase as database. An EOD process takes 25 min. to complete. Now we have an lpar on P7 server with entitled cpu capacity of 2 with 16 Gb memory and sybase as database. The EOD process which takes... (17 Replies)
Discussion started by: vjm
17 Replies

4. UNIX for Dummies Questions & Answers

Performance issue

hi I am having a performance issue with the following requirement i have to create a permutation and combination on a set of three files such that each record in each file is picked and the output is redirected in a specific format but it is taking around 70 odd hours to prepare a combination... (7 Replies)
Discussion started by: mad_man12
7 Replies

5. Shell Programming and Scripting

Performance issue or something else?

Hi All, I have the following script which I use in Nagios to check the health of the applications, the problem with it is that the curl part ($TOTAL) does not return anything after running for 2-3 hrs, even though from command line the script runs fine but not from Nagios. There are 17... (1 Reply)
Discussion started by: jacki
1 Replies

6. Solaris

Performance issue

Hi Gurus, I am beginner in solaris and want to know what are the things we need to check for performance monitoring on our solairs OS. for DISK,CPU and MEMORY. Also how we do ipforwarding in slaris Many thanks for your help Pradeep P (4 Replies)
Discussion started by: ppandey21
4 Replies

7. UNIX for Advanced & Expert Users

Performance issue!

In my C program i am using very large file(approx 400MB) to read parts of it frequently. But due to large file the performance of the program goes down very badly. It shows very high I/O usage and I/O wait time. My question is, What are the ways to optimize or tune I/O on linux or how i can get... (10 Replies)
Discussion started by: mavens
10 Replies

8. Shell Programming and Scripting

performance issue

I want to read a file. is it good to use File I/O or shell script?? which one is the best option? (1 Reply)
Discussion started by: vishwaraj
1 Replies

9. UNIX for Advanced & Expert Users

performance issue

Hi, on a linux server I have the following : vmstat 2 10 procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id 0 4 0 675236 39836 206060 1617660 3 3 3 6 8 7 1 1 ... (1 Reply)
Discussion started by: big123456
1 Replies

10. AIX

performance issue

We have a AIX v5.3 on a p5 system with a poor performing Ingres database. We added one CPU to the system to see if this would help. Now there are two CPU's. with sar and topas -P I see good results: CPU usage around 30% with topas I only see good results in the process output screen, the... (1 Reply)
Discussion started by: rein
1 Replies
Login or Register to Ask a Question