The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NFS performance piooooter Filesystems, Disks and Memory 2 03-23-2008 02:25 AM
sed performance f3k UNIX for Advanced & Expert Users 7 03-12-2008 04:38 AM
Announcing collectl - new performance linux performance monitor MarkSeger News, Links, Events and Announcements 0 10-26-2007 03:14 PM
I/O performance gfhgfnhhn UNIX for Advanced & Expert Users 2 09-10-2006 10:10 AM
Performance of rsh jhansrod Shell Programming and Scripting 1 06-13-2005 11:29 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-01-2002
Registered User
 

Join Date: Feb 2002
Location: Germany - Heilbronn
Posts: 4
Unhappy Performance

Hello,

i have changed a slow server with Solaris 7 to a bigger one with
Solaris 8 (Sun Ultra 2). Now i have a real bad performance
problem (only CPU).

Solaris 7 ran with standard FTP and Samba 2.0.7.
The new machine is running ProFTP and Samba 2.0.9.
There are a lot of NFS Shares and about 70 Samba
connections at the same moment.

Does anybody know problems with any of these software
components?

Thanks,
Oli
Forum Sponsor
  #2  
Old 03-01-2002
Registered User
 

Join Date: Feb 2002
Location: Germany - Heilbronn
Posts: 4
The machine has 2 GB RAM and 2 x 168 Mhz CPU.
The one before was smaller and worked better.

Top shows 99% Kernel CPU state. Average 24h is about 80%!
  #3  
Old 03-01-2002
Cameron's Avatar
Registered User
 

Join Date: Nov 2001
Location: Brisbane, Australia
Posts: 490
Suggestion ...

You might want to get some stats on what is happening on your system.
I don't know if Solaris has these utilities, but you could run a number of cpusar, cpusar -P 1, cpusar -P 2, mpsar -b, mpsar -d.

The cpusar will provide stats averaging both cpu's.
The cpusar -P ? will provide stats on separate cpu's.
I've noticed on a report that I created recently that our CPU #2 was hardly being utilised !!

Might be the same case for youself? Always worth a look.

Hope that helps.
  #4  
Old 03-04-2002
Registered User
 

Join Date: Feb 2002
Location: Germany - Heilbronn
Posts: 4
Thanks for answering!

The problem is, that no tool shows the real CPU
Usage. Top shows the top 20 processes. But together
they cost about 5 % CPU Usage. If I sum all
processes, I get about 10%. Who uses the
rest?

prstat and other tools show the same.
  #5  
Old 03-05-2002
Registered User
 

Join Date: Feb 2002
Location: Bloomington, IN
Posts: 11
You might try increasing ncsize in /etc/system try 5000 as well as doubling that for ufs_ninode (10000).

It sounds like you have a larger problem though. Solaris out of the box is tuned for workstation use, and it sounds like you have a server here. I'd look at increasing maxpgio and slowscan. Your hardware is definitly capable of handling the loads youre subjecting it to....what you have is a kernel tuning problem.
  #6  
Old 03-06-2002
Registered User
 

Join Date: Mar 2002
Location: Hamburg
Posts: 10
Quote:
Originally posted by olso
Thanks for answering!

The problem is, that no tool shows the real CPU
Usage. Top shows the top 20 processes. But together
they cost about 5 % CPU Usage. If I sum all
processes, I get about 10%. Who uses the
rest?

prstat and other tools show the same.
Have you checked the process table? Perhaps you have many small processes caused by an endless loop like:

A user has /bin/sh as a login shell and wants start another after login and writes in his .profile the following line which can cause such as situation:
/bin/zsh --login

Check for similar things and small problems on your system
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0