The nice tag has no wiki summary.
1
vote
1answer
43 views
Why are my “nice” levels not reflected in CPU usage? [duplicate]
Given a VM with 1 CPU. I run two similar CPU intensive tasks in two terminals:
/usr/bin/nice -n -20 perl -e 'while(1){$a=1+1;}'
/usr/bin/nice -n 19 perl -e 'while(1){$a=1+1;}'
I would expect that ...
1
vote
1answer
72 views
Is it possible to assign a nice and ionice priority to all scripts executed by cron daemon?
To be a bit more concrete:
I have a Debian Squeeze Linux machine with a web application that should become available all over the planet. Until now I had a bunch of resource consuming cronjobs each ...
0
votes
0answers
37 views
Is it a good idea to run mysqld under real time ionice priority?
When running backup scripts etc. I'm generally tuning them using nice & ionice to tune down the priority of my backup scripts to avoid affecting the mysqld performance.
However, I've been ...
0
votes
0answers
36 views
postgres process priority
We've noticed on our CentOS PostgreSQL database servers that every postgres process is no longer running at the default nice priority of '0'. They are running at a lower priority (2). Is Linux ...
2
votes
1answer
182 views
Changing priorities of background vs foreground processes?
The commends nice/renice have no effect between processes started as foreground process and processes started as background processes. Even with maximum niceness on the foreground processes they get ...
1
vote
1answer
161 views
Change nice level of currently running script
I would like to change the nice level of the currently running script:
#!/bin/bash
nice_it ( ) {
nice
ps -o "%p %r %y %x %n %c %a"
}
nice_it
That does not work, since nice tries to change ...
1
vote
4answers
245 views
Nice level not working on linux
I have some highly floating point intensive processes doing very little I/O. One is called "xspec", which calculates a numerical model and returns a floating point result back to a master process ...
2
votes
1answer
137 views
slow down processes (cpu usage)
I found out that an imagemagick/convert application on my VPS is causing troubles due to high load on my box. Now i added renice with priority 10 to all of these convert-processes for throttling each ...
5
votes
1answer
370 views
Use cases for having different process priority for CPU and IO?
Linux processes can have different CPU and IO priority (nice and ionice).
Why is there a need to have different CPU and IO priority?
Is there any real world usage for having them different?
What ...
1
vote
1answer
60 views
Guideline for `nice` priority number?
I'd like a more systematic way for prioritizing my tasks with nice(1).
Obviously 0 is "normal", 19 is "lowest priority" and -19 is "highest priority", but what about all the other numbers?
If I have ...
1
vote
0answers
294 views
Running Hudson builds with a higher nice level
I want to run build jobs in Jenkins with minimal cpu usage. I've tried this:
Created the directory "jenkinsJdk".Jenkins is configured to use this dir as JDK "testJdk". A sample job uses "testJdk" ...
2
votes
2answers
376 views
Prioritise ssh logins (nice)
Is there a preferred way to set "nice" for sshd?
I need priority given to sshd such that I can login and easily fix stuff when something has gone wrong (eg DoS, badly behaved processes, etc)
0
votes
1answer
300 views
“nice” for memory management
Before the question I give you a bit of background : I am running a website on a VPS. The VPS itselmf runs the apache web server, the PHP code that produce the pages with acvces to a SQLite DB, and ...
2
votes
1answer
63 views
nice cpu usage showing, but process wasn't explicitly run with nice
About 25% of my CPU usage is attributed to "nice" which is all coming from one process.
The process in question was not started with nice(1) nor was it adjusted with renice(1) -- at least not ...
1
vote
1answer
279 views
Running Hudson builds with a lower process priority
At my office we have an older server running Hudson (1.395) and a collection of other things (JIRA and SVN being the important two). When Husdon is running builds, the slowdown on the server is very ...
4
votes
2answers
549 views
What is the impact of increasing the httpd process priority (negative nice)?
Renicing a process to a negative nice level increases the process's scheduling priority. High priority processes are run before low-priority processes. They are also allowed to run longer before being ...
1
vote
1answer
107 views
Process niceness value
I was just looking for some clarification about the niceness value of a process, or perhaps some advice if I'm going about this all wrong.
Say I have a couple dozen web server processes on a single ...
2
votes
2answers
330 views
ionice process group?
Is there an easy way to change the I/O priority of a whole group of processes the way renice -g does? It seems like only changing the I/O priority of a single process is supported by ionice. If this ...
4
votes
2answers
576 views
Renice: How to change all threads?
When I renice a multithreaded process in Ubuntu 10.04, then view the results in top, it seems that only the main thread actually gets reniced. All the other threads retain their old nice value. ...
0
votes
2answers
141 views
Linux Host: Background Jobs + VM + Prioritization?
I'm running a setup consisting of a Linux host OS and a Windows 7 guest (VMware Workstation). I'm trying to run 16 CPU-bound background jobs on the Linux host at nice values of 19 (the lowest ...
6
votes
2answers
576 views
How to set i/o priority for nfs client processes?
The configuration is: A linux server and a nas box (netgear) acting as nfs server.
It is easy for a single process on the linux server to use all i/o bandwidth by simply copying a file from the nfs ...
3
votes
1answer
91 views
How “nice” determines amount of cpu resource to give
Is there a particular formula to calculate the amount of cpu resources that is allocated for a process when you "nice" it?
2
votes
2answers
651 views
nice renice and ionice
I've read about nice renice and ionice to control the scheduling priority of running processes. However, I still don't understand when and how are they useful for. For instance doing something like:
...
1
vote
3answers
439 views
Limiting maximum cpu time for user-launched programs
We have a cluster running CentOS with Sun Grid Engine for research simulations. However, some users who aren't too familiar with the system end up running jobs on the head node, which of of course ...
2
votes
2answers
259 views
How do I run Postgres under “nice”?
I usually start Postgres with pg_ctl -D /db start
How can I make it start under "nice", so it runs at a lower priority?
0
votes
1answer
279 views
What's the effect of the nice param in the mysqld_safe settings
We have a server that only runs MySQL. I'm trying to increase its performance to the maximum, and I was wondering whether changing the nice setting in my.cnf would have any favorable effect. Anyone?
0
votes
2answers
602 views
Webalizer causing high CPU load
We use webalizer to generate reports on our Apache access logs - it is useful in conjunction with Google Analytics.
The problem is that webalizer uses ALOT of CPU when running. If I run top I can see ...
1
vote
3answers
237 views
VLC video encoding produces high 'nice' load
There is a server with vlc process for real-time video encoding.
Here is output of top with 1(show processors) and H(show threads)
top - 15:50:26 up 42 min, 1 user, load average: 2.64, 2.60, 2.45
...
4
votes
2answers
973 views
Equivalent of `nice` for filesystem IO?
When I'm running an rsync backup job which involves copying over large files, the machine running the backup (both Mac desktops and Linux servers) grinds to a halt and the load average goes through ...