[U2] Priorities for Unix udt processes

2004-08-03 Thread Jonathan Leckie
Does anyone have any experience of what the nice and priority values
should be and how they can be changed?



-- 


* This message has been scanned for viruses and dangerous content by  
* Blairs of Scotland MailScanner, and is believed to be clean.
*   
* This email and any files transmitted with it are confidential and 
* intended solely for the use of the individual or entity to which they
* are addressed.
*
* If you have received this email in error please notify us at Blairs
* of Scotland via email at [EMAIL PROTECTED]

---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Priorities for Unix udt processes

2004-08-03 Thread Charlie Rubeor
I don't know if anyone replied yet, but I will try and answer this.
Depending on your unix flavor, the nice values will be different.  Linux
nice values are between -20 (highest priority) and 19 (lowest priority),
with a default of 0.  For hpux, the values are from 0 to 39, with a default
of 20.  I don't know what the aix values are.  The syntax for the nice and
renice commands will be slightly different for each platform.

The priority value that shows in the ps -l under the PRI column is not the
same as the nice value, which shows under the NI column.  The priority value
(I think) is the order in which the process will get timeslices from the
cpu(s).

On a U2 system, there are many things that I would check before messing with
nice values.  In theory, even if you lowered the priority of a phantom
process, you could clog up regular processes that are waiting on that
phantom process to release a lock.  And since you just lowered the priority,
it's going to take longer than usual to release.  The only occasion where I
had to adjust the nice values was for some overnight reports.  No locking,
no writes, etc,

Hope that helps.

-Original Message-
From: Jonathan Leckie [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 03, 2004 7:13 AM
To: [EMAIL PROTECTED]
Subject: [U2] Priorities for Unix udt processes

Does anyone have any experience of what the nice and priority values
should be and how they can be changed?



-- 


* This message has been scanned for viruses and dangerous content by  
* Blairs of Scotland MailScanner, and is believed to be clean.
*   
* This email and any files transmitted with it are confidential and
* intended solely for the use of the individual or entity to which they
* are addressed.
*
* If you have received this email in error please notify us at Blairs
* of Scotland via email at [EMAIL PROTECTED]

---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Priorities for Unix udt processes

2004-08-03 Thread kafsat taiyus
I have used nice for Unidata on HPUX many times and never had any problem.
Renice is the command to change nice level. Use man renice to get help on
the command.  While using renice command just make sure to use correct pid
for the process.  

Another command you may want to have a look is kill with correct parameter
you can practically stop a low priority process to stop processing and give
high priority process more resources, and start the process again when high
priority process is done.  Use man kill for details.   


Regards
Kafsat


-Original Message-
From: Jonathan Leckie [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 3 August 2004 9:13 PM
To: [EMAIL PROTECTED]
Subject: [U2] Priorities for Unix udt processes

Does anyone have any experience of what the nice and priority values
should be and how they can be changed?



-- 


* This message has been scanned for viruses and dangerous content by  
* Blairs of Scotland MailScanner, and is believed to be clean.
*   
* This email and any files transmitted with it are confidential and 
* intended solely for the use of the individual or entity to which they
* are addressed.
*
* If you have received this email in error please notify us at Blairs
* of Scotland via email at [EMAIL PROTECTED]

---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

This email and any attachments are confidential and intended solely for the
use of the person or entity to whom they are addressed. If you are not the
intended recipient, please do not disclose, store, copy or take any action
in reliance on it or them. If you have received this message in error,
please tell us by reply email (or telephone + 61 (0) 3 9274 9100) and delete
all copies on your system. Any opinion, advice or information in this email
is not necessarily that of the owners or officers of this company. Please
advise us immediately if you or your employer do not consent to email for
messages of this type. 

Retail Decisions has taken reasonable precautions to ensure that any
attachment to this email has been swept for viruses. However, we cannot
accept any liability for any damage sustained as a result of software
viruses, and would advise that you carry out your own virus checks before
opening any attachment. Please note that communications sent by or to any
person through our computer system may be viewed by other Retail Decisions
employees or officers strictly in accordance with law.
---
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/