Simple advanced question


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Simple advanced question
# 8  
Old 01-10-2002
Neil,

Does your system have System Activity Reporting (SAR) in place?
That may provide some indicators to usage and when.

Humble suggestion Smilie
# 9  
Old 01-10-2002
"Page faults" is a number that includes too many things to be very useful. I'm surprised that your vmstat bothers to display the number, although I see here that it does. Look instead at the page out rate (label=pout). If this number is high, that's your problem. Note that it is zero on the man page. Any non-zero number is not real good. And the higher the number, the worse it is.

Most versions of unix these days allocate just enough stack to store the environment and the arguments and then let the process page fault its way into memory. Does NT load the entire process into memory at start-up time?
# 10  
Old 01-10-2002
We still did not address the swap issue....... but now it seems we are talking NT..... I have no idea if NT uses swap space.... .does it?
# 11  
Old 01-10-2002
Quote:
Originally posted by Neo
We still did not address the swap issue....... but now it seems we are talking NT..... I have no idea if NT uses swap space.... .does it?
Actually, in this post and in again in this post he said that his 35 GB of swap is about 35% used.

Also, in this post he says:
Quote:
One thing I've experienced in the past is that when NT systems are paging heavily and performance suffers, the numbers of page faults is high.
Since he is trying to leverage his NT experience to understand the behavior of his unix system, the difference between the two is important. I think that his NT experience is misleading him into thinking that that high page faults are problematic.
# 12  
Old 01-10-2002
Got it... thanks. I was confused reading UNIX in one post and NT in others....not really paying close attention .... sorry for the confusion.....


Perhaps more RAM would help.........
# 13  
Old 01-11-2002
Thanks for your replies everyone - much appreciated.

Cameron - unforunately, Tru64 only has the old subset of system tools - vmstat, iostat, etc. Unfortunately SAR isn't one of them. I've used SAR in the past and really don't like not having it!

Neo - yes, I'd love to order more RAM, but before we do so, it unfortunately needs to be justified! The only way that I can do that is to show that the statistics that we are getting are over a particular threshold.

Perderabo - thanks for the information about pages out (pout). Yes we do have entries in this column (around 5000 per minute using vmstat), however the same question still applies - is this too high and what should it be?!!

I do appreciate that if everything was in RAM then so much the better, but surely this is not essential. For instance, if we have, say, 1000 processes and around 250 of them are idle. If those 250 were in swap it wouldn't matter - paging would occur but it shouldn't be a problem. Obviously if only 600 processes could fit in RAM and the other 150 active transactions were also in swap, it may well be the cause of problems.

Hope this may be of assistance!!

Kind regards,

Neil
# 14  
Old 01-11-2002
Actually sar is older than vmstat, iostat, etc.

5000 page outs per minute is 83 page out per seconds. Yes that seems high, especially if it's sustained. I would strive for zero. Unix does not load entire processes into core. By the time stuff is in core, it's there because it needs to be. No it's not essential to add more core, you can live with the slowness instead. It's not like anything is breaking. But you were looking for the source of the slowness and I think you have found it.

Talk to your memory salesman and explain the situation. He or she may be able to allow you to borrow a gig of memory for a week or so. I'll bet that you will see the slowness disappear. Then your management can decide whether or not to buy the memory.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Syslog.conf: looking for a simple answer on a simple question

Cheers! In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not? To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies

2. Shell Programming and Scripting

Very simple question

Hi, guys, I'm a new comer here. I'm studying Unix Shell and I met a problem confusing me a lot. Here it is : script 1: #!/bin/sh # scriptname : do_increment increment(){ sum=`expr $1 + 1` return $sum # Return the value of sum to the script. } echo -n "The sum is " increment $1 # Call... (2 Replies)
Discussion started by: franksunnn
2 Replies

3. UNIX for Dummies Questions & Answers

simple(?) if/else question

Hello, I have a quick question that is not related to homework in any way shape or form (in case anyone wanted to know). My question is thus: I have a file "temp" that has the two values say "5" and "3" (separated by a white space). Now, I want to simply write an if-else statement that reads... (10 Replies)
Discussion started by: astropi
10 Replies

4. UNIX for Dummies Questions & Answers

Help with awk (making simple/advanced ini parser)

Hello I'm searching some kind of example (or ready-made solution, but I don't really want it, because I want to learn awk more), to make something like a parser in awk for something like this (I put example, because I don't really know how to explain this): line1=1 line2=0 line3=1... (23 Replies)
Discussion started by: jormung
23 Replies

5. Shell Programming and Scripting

Simple if then else question

I am having trouble making this statement work. I am passing in a number value for the number of days to keep archive logs for and wanted to make sure that it is a number. I have a script that will return 1 for is a number and 0 for is not a number. I also want to make sure that the number is not... (2 Replies)
Discussion started by: gandolf989
2 Replies

6. Shell Programming and Scripting

Simple Question

Hi, Please don't berate me over the simplicity of these questions. I have recently gotten into bash shell scripting and enjoy it quite a bit. One thing I have not found the answer to though is when naming a shell script, what extension is normally used (ie myscript.?)? Also where is the standard... (5 Replies)
Discussion started by: msb65
5 Replies

7. Programming

Simple C question... Hopefully it's simple

Hello. I'm a complete newbie to C programming. I have a C program that wasn't written by me where I need to write some wrappers around it to automate and make it easier for a client to use. The problem is that the program accepts standard input to control the program... I'm hoping to find a simple... (6 Replies)
Discussion started by: Xeed
6 Replies

8. UNIX for Dummies Questions & Answers

simple if then fi question

i'm trying to make a script that prints the name of the script for any command line parameter, here is what i have, and get `]]' unexpected: what am i doing wrong? (3 Replies)
Discussion started by: tefflox
3 Replies

9. UNIX for Dummies Questions & Answers

Ok simple question for simple knowledge...

Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies

10. UNIX for Dummies Questions & Answers

Simple question?

I've been a Linux user for quite some time, started out with Red Hat and Mandrake, and just recently moved to Slackware linux.... my question is this: Is there a big difference between Linux and Unix? If so, what? I was just looking at Sun's Solaris 8 thats free for download on Intel... (5 Replies)
Discussion started by: Cuthbert
5 Replies
Login or Register to Ask a Question