03-06-2013
Quote:
Originally Posted by
DGPickett
In a more perfect world, the dispatcher would get the CPU to programs that do not hog it and that do i/o on an expedited basis.
I believe many schedulers do; I've always been impressed by how well UNIX in general timeshares, compared to Windows' nonstop stuttering. (Not even quad cores helps.) But it only works when they're equal priority... High priority will be favored over low priority regardless of how polite they are. That's what priority's for.
A runaway higher-priority process can lock lower-priority ones out quite harshly; users with the ability to raise their priority can badly affect other users. Starting them at maximum relative to each other prevents them from stalling each other.
Last edited by Corona688; 03-06-2013 at 05:47 PM..
9 More Discussions You Might Find Interesting
1. Linux
Hello!
How do make the limits.conf parameters work for a normal user. Ive changed
both the hard and soft parameter for the specific user. It used to be 4096 and i changed it to 16384. But when i use the ulimit -n, all i got is permissen denied.
Witch i can understand. But my question is? how... (1 Reply)
Discussion started by: dozy
1 Replies
2. UNIX for Dummies Questions & Answers
I have line in this file that says:
username - maxlogins 1
and user can login 2 times instad of one.
does enybody know why? and how can I fix that? (2 Replies)
Discussion started by: shooroop
2 Replies
3. HP-UX
Hi folks,
Hope you can help me. I have a process that is currently running at nice 20 and need it to run faster (-10?). How do I change the process using nice? I have the process number and thought it would be along the lines of;
nice -10 process_id
but it doesn't seem to like that. (1 Reply)
Discussion started by: gshuttleworth
1 Replies
4. UNIX for Advanced & Expert Users
HI,
To restrict the number of files and number of processes used the user we use the following configuration in the file /etc/security/limits.conf.
oracle soft nofile 65572
oracle hard nofile 65572
oracle soft noproc 16384
oracle soft noproc 16384
My question is what do the 'soft' and... (1 Reply)
Discussion started by: praveen_b744
1 Replies
5. Solaris
Hi,
How can we set per user core file size, etc in solaris, i.e. I want solaris counterpart/equivalent of linux /etc/security/limits.conf.
TIA (0 Replies)
Discussion started by: slash_blog
0 Replies
6. Red Hat
Hello all,
I'm running Oracle 10.2 on RHEL5. Current value of ulimit -n is set to a low value of 1024. I need to increase it to 65536 using the following procedure.
cat >> /etc/security/limits.conf <<EOF
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard... (3 Replies)
Discussion started by: luft
3 Replies
7. Red Hat
i want to set limits in /etc/security/limits.conf.My os is rhel 5.2.
It was giving continuous messages in in /var/log/secure like :
continuously.
I have changed values of priority and nice to "0" from unlimited and messages are not comming. But i want to know what is the ideal/maximum... (3 Replies)
Discussion started by: pankajd
3 Replies
8. Shell Programming and Scripting
Hello,
I am just starting with shell scripting, as everyone will soon see from my question. What I'm trying to do is call the Nice command to set the script process priority from /bin/ksh. The difference is I'm running it not directly through the shell, but through Bigfix (very similar to... (3 Replies)
Discussion started by: solly119
3 Replies
9. UNIX for Dummies Questions & Answers
OS version : RHEL 6.5
Below is an excerpt from /etc/security/limits.conf file for OS User named appusr in our server
appusr soft nproc 2047
appusr hard nproc 16384
What will happen if appusr has already spawned 2047 processes and wants to spawn 2048th process ?
I just want to know... (3 Replies)
Discussion started by: kraljic
3 Replies
rtprio(1) General Commands Manual rtprio(1)
NAME
rtprio - execute process with real-time priority
SYNOPSIS
priority command [arguments]
priority
command [arguments]
DESCRIPTION
executes command with a real-time priority, or changes the real-time priority of currently executing process pid. Real-time priorities
range from zero (highest) to 127 (lowest). Real-time processes are not subject to priority degradation, and are all of greater (schedul-
ing) importance than non-real-time processes. See rtprio(2) for more details.
If is specified instead of a real-time priority, executes command with a timeshare (non-real-time) priority, or changes the currently exe-
cuting process pid from a possibly real-time priority to a timeshare priority. The former is useful to spawn a timeshare priority command
from a real-time priority shell.
If is not specified, command is not scheduled, or pid's real-time priority is not changed, if the user is not a member of a group having
access and is not the user with appropriate privileges. When changing the real-time priority of a currently executing process, the effec-
tive user ID of the calling process must be the user with appropriate privileges, or the real or effective user ID must match the real or
saved user ID of the process to be modified.
RETURN VALUE
returns exit status 0 if command is successfully scheduled or if pid's real-time priority is successfully changed, 1 if command is not exe-
cutable or pid does not exist, and 2 if command (pid) lacks real-time capability, or the invoker's effective user ID is not a user who has
appropriate privileges, or the real or effective user or the real or effective user ID does not match the real or saved user ID of the
process being changed.
EXAMPLES
Execute file at a real-time priority of 100:
Set the currently running process pid 24217 to a real-time priority of 40:
AUTHOR
was developed by HP.
SEE ALSO
setprivgrp(1M), getprivgrp(2), rtprio(2).
rtprio(1)