from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

90666

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tips&Tricks

nice and PORTAGE_NICENESS

Very simply put, the Linux kernel has a (process) scheduler that selects which process to run next in your system. One factor influencing the scheduler's decision about which process to assign CPU time to, is the priority of a process. Processes with a high priority will run before those with a lower priority, and processes with the same priority will take turns in running, one after the other and over again.

Better have a look at it for yourself: Run top from a terminal on your host and pay special attention to the PR and NI columns:

Sample top output

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 
 8005 root      20   0 85188  33m  57m R  3.3  6.7   8:43.77 X 
 8148 tobias    20  10 25624 2376  24m S  0.3  0.5   0:00.60 xscreensaver 
    1 root      20   0  2476  552 2304 S  0.0  0.1   0:00.31 init 
    2 root      39  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0 
    3 root      15  -5     0    0    0 S  0.0  0.0   0:00.09 events/0

The PR column indicates the priority level of a process, the value in the NI column displays the so-called nice value of process, which allows you to adjust the priority of a running process. Possible values range from -20 (very high priority), via 0 (standard priority) to 20 (very low priority). In our little example the xscreensaver process has a higher nice value than X, which indicates that X has a higher priority than xscreensaver.

Now, how do we make this work to our advantage when using Portage?

If you keep using your computer while compiling packages you will notice that your box is much less responsive as usal. This is caused by having two "groups" of processes with the same nice priority: your usual running tasks on one side, and emerge (and its child processes) on the other. Now, if you could renice emerge and its children to a higher nice (i.e. lower priority!) value (default is 0), compiling would inevitably take somewhat longer, but you could use your workstation without noticing much difference to its usual performance. That's what the PORTAGE_NICENESS parameter in /etc/make.conf is for:

Code Listing 1: Put this in /etc/make.conf

PORTAGE_NICENESS="15"

You can generally "renice" individual processes from the commandline, (e.g. renice 0 -p 8148 to prioritize xscreensaver in the above example), but this will not work with emerge, as Portage reads the PORTAGE_NICENESS setting from /etc/make.conf once and executes all child processes with the specified nice value.

From http://www.gentoo.org/news/en/gwn/20041101-newsletter.xml

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-11-25
aioquic - 1.9.2
Ebuild name:

dev-python/aioquic-1.9.2

Description

An implementation of QUIC and HTTP/3

Added to portage

2026-11-25

aseprite - 1.3.18.6
Ebuild name:

dev-games/aseprite-1.3.18.6

Description

Animated sprite editor & pixel art tool

Added to portage

2026-11-25

aws-crt-cpp - 0.44.6
Ebuild name:

dev-cpp/aws-crt-cpp-0.44.6

Description

C++ wrapper around the aws-c-* libraries

Added to portage

2026-11-25

babel - 2.19.0
Ebuild name:

dev-python/babel-2.19.0

Description

Collection of tools for internationalizing Python applications

Added to portage

2026-11-25

dulwich - 1.2.22
Ebuild name:

dev-python/dulwich-1.2.22

Description

Pure-Python implementation of the Git file formats and protocols

Added to portage

2026-11-25

grafana-bin - 12.4.16
Ebuild name:

www-apps/grafana-bin-12.4.16

Description

Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB &

Added to portage

2026-11-25

grafana-bin - 13.1.11
Ebuild name:

www-apps/grafana-bin-13.1.11

Description

Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB &

Added to portage

2026-11-25

grafana-bin - 13.2.7
Ebuild name:

www-apps/grafana-bin-13.2.7

Description

Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB &a

Added to portage

2026-11-25

grafana-bin - 13.3.2
Ebuild name:

www-apps/grafana-bin-13.3.2

Description

Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB &a

Added to portage

2026-11-25

grpcio - 1.85.4
Ebuild name:

dev-python/grpcio-1.85.4

Description

HTTP/2-based RPC framework

Added to portage

2026-11-25

grpcio-status - 1.85.4
Ebuild name:

dev-python/grpcio-status-1.85.4

Description

Reference package for GRPC Python status proto mapping

Added to portage

2026-11-25

huawei-lte-api - 3.0.0
Ebuild name:

dev-python/huawei-lte-api-3.0.0

Description

API For huawei LAN/WAN LTE Modems

Added to portage

2026-11-25

kbfs - 9999
Ebuild name:

app-crypt/kbfs-9999

Description

Keybase Filesystem (KBFS)

Added to portage

2026-11-25

keepsecret - 26.08.3
Ebuild name:

app-crypt/keepsecret-26.08.3

Description

Password manager GUI for SecretService providers

Added to portage

2026-11-25

keybase - 6.0.2
Ebuild name:

app-crypt/keybase-6.0.2

Description

Keybase client

Added to portage

2026-11-25

keybase - 6.2.4
Ebuild name:

app-crypt/keybase-6.2.4

Description

Keybase client

Added to portage

2026-11-25

keybase - 9999
Ebuild name:

app-crypt/keybase-9999

Description

Keybase client

Added to portage

2026-11-25

krita - 6.0.5
Ebuild name:

media-gfx/krita-6.0.5

Description

Free digital painting application. Digital Painting, Creative Freedom

Added to portage

2026-11-25

libetonyek - 0.1.15
Ebuild name:

app-text/libetonyek-0.1.15

Description

Library parsing Apple Keynote presentations

Added to portage

2026-11-25

libetonyek - 9999
Ebuild name:

app-text/libetonyek-9999

Description

Library parsing Apple Keynote presentations

Added to portage

2026-11-25

libmspub - 0.1.6
Ebuild name:

app-text/libmspub-0.1.6

Description

Library parsing Microsoft Publisher documents

Added to portage

2026-11-25

libtmux - 0.68.0
Ebuild name:

dev-python/libtmux-0.68.0

Description

Typed library that provides an ORM wrapper for tmux, a terminal multiplex

Added to portage

2026-11-25

libvisio - 0.1.12
Ebuild name:

media-libs/libvisio-0.1.12

Description

Library parsing the file format of MS Visio documents

Added to portage

2026-11-25

linux-firmware - 20261124
Ebuild name:

sys-kernel/linux-firmware-20261124

Description

Linux firmware files

Added to portage

2026-11-25

ollama - 0.40.18
Ebuild name:

sci-ml/ollama-0.40.18

Description

Get up and running with Llama 3, Mistral, Gemma, and other language models

Added to portage

2026-11-25

openstacksdk - 4.25.0
Ebuild name:

dev-python/openstacksdk-4.25.0

Description

A collection of libraries for building applications to work with Ope

Added to portage

2026-11-25

pbs-installer - 2026.11.24
Ebuild name:

dev-python/pbs-installer-2026.11.24

Description

Installer for Python Build Standalone

Added to portage

2026-11-25

plotly - 7.2.0
Ebuild name:

dev-python/plotly-7.2.0

Description

Browser-based graphing library for Python

Added to portage

2026-11-25

pylsqpack - 1.1.3
Ebuild name:

dev-python/pylsqpack-1.1.3

Description

Python wrapper for the ls-qpack QPACK library

Added to portage

2026-11-25

pysnmp - 7.1.34
Ebuild name:

dev-python/pysnmp-7.1.34

Description

Python SNMP library

Added to portage

2026-11-25

python-glanceclient - 4.14.0
Ebuild name:

dev-python/python-glanceclient-4.14.0

Description

A client for the OpenStack Glance API

Added to portage

2026-11-25

quazip - 1.7.2
Ebuild name:

dev-libs/quazip-1.7.2

Description

Simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package

Added to portage

2026-11-25

rr - 5.10.0
Ebuild name:

dev-debug/rr-5.10.0

Description

Record and Replay Framework

Added to portage

2026-11-25

simdjson - 5.3.0
Ebuild name:

dev-libs/simdjson-5.3.0

Description

SIMD accelerated C++ JSON library

Added to portage

2026-11-25

sqlglot - 30.35.0
Ebuild name:

dev-python/sqlglot-30.35.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2026-11-25

tomlkit - 0.15.3
Ebuild name:

dev-python/tomlkit-0.15.3

Description

Style preserving TOML library

Added to portage

2026-11-25

trakit - 0.6.0
Ebuild name:

dev-python/trakit-0.6.0

Description

Identify a track from its title

Added to portage

2026-11-25

urwid - 5.2.0
Ebuild name:

dev-python/urwid-5.2.0

Description

Curses-based user interface library for Python

Added to portage

2026-11-25

uv - 0.13.10
Ebuild name:

dev-python/uv-0.13.10

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-11-25

uv-build - 0.13.10
Ebuild name:

dev-python/uv-build-0.13.10

Description

PEP517 uv build backend

Added to portage

2026-11-25

wand - 0.7.3
Ebuild name:

dev-python/wand-0.7.3

Description

Ctypes-based simple ImageMagick binding for Python

Added to portage

2026-11-25

wine-proton - 11.0.3-r1
Ebuild name:

app-emulation/wine-proton-11.0.3-r1

Description

Valve Software's fork of Wine

Added to portage

2026-11-25

zellij - 0.46.1
Ebuild name:

app-misc/zellij-0.46.1

Description

A terminal workspace with batteries included

Added to portage

2026-11-25

2026-11-24
aws-c-mqtt - 1.1.4
Ebuild name:

dev-libs/aws-c-mqtt-1.1.4

Description

AWS C MQTT C99 implementation

Added to portage

2026-11-24

c-blosc2 - 3.8.0
Ebuild name:

dev-libs/c-blosc2-3.8.0

Description

Blocking, shuffling and lossless compression library

Added to portage

2026-11-24

chrome-binary-plugins - 158.0.8127.88
Ebuild name:

www-plugins/chrome-binary-plugins-158.0.8127.88

Description

Binary plugins from Google Chrome for use in Chromi

Added to portage

2026-11-24

chrome-binary-plugins - 159.0.8154.13_beta
Ebuild name:

www-plugins/chrome-binary-plugins-159.0.8154.13_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-11-24

chrome-binary-plugins - 160.0.8171.0_alpha
Ebuild name:

www-plugins/chrome-binary-plugins-160.0.8171.0_alpha

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-11-24

chromedriver-bin - 158.0.8127.88
Ebuild name:

www-apps/chromedriver-bin-158.0.8127.88

Description

WebDriver for Chrome

Added to portage

2026-11-24

cli-helpers - 2.15.4
Ebuild name:

dev-python/cli-helpers-2.15.4

Description

Python helpers for common CLI tasks

Added to portage

2026-11-24

clojure - 1.12.7
Ebuild name:

dev-lang/clojure-1.12.7

Description

General-purpose programming language with an emphasis on functional program

Added to portage

2026-11-24

coverage - 7.17.5
Ebuild name:

dev-python/coverage-7.17.5

Description

Code coverage measurement for Python

Added to portage

2026-11-24

debtcollector - 3.2.0
Ebuild name:

dev-python/debtcollector-3.2.0

Description

Python deprecation patterns and strategies that collect technical de

Added to portage

2026-11-24

distrobox - 1.8.2.6
Ebuild name:

app-containers/distrobox-1.8.2.6

Description

Use any Linux distribution inside your terminal (powered by docker

Added to portage

2026-11-24

expat - 2.11.0
Ebuild name:

dev-libs/expat-2.11.0

Description

Stream-oriented XML parser library

Added to portage

2026-11-24

fakeredis - 2.41.0
Ebuild name:

dev-python/fakeredis-2.41.0

Description

Fake implementation of redis API for testing purposes

Added to portage

2026-11-24

ffmpeg-chromium - 160.0.8157.0
Ebuild name:

media-video/ffmpeg-chromium-160.0.8157.0

Description

FFmpeg built specifically for codec support in Chromium-ba

Added to portage

2026-11-24

firefox - 153.8.0
Ebuild name:

www-client/firefox-153.8.0

Description

Firefox Web Browser

Added to portage

2026-11-24

firefox - 161.0
Ebuild name:

www-client/firefox-161.0

Description

Firefox Web Browser

Added to portage

2026-11-24

firefox-bin - 153.8.0
Ebuild name:

www-client/firefox-bin-153.8.0

Description

Firefox Web Browser

Added to portage

2026-11-24

firefox-l10n - 153.8.0
Ebuild name:

www-client/firefox-l10n-153.8.0

Description

Firefox Web Browser's translation files

Added to portage

2026-11-24

firefox-l10n - 161.0
Ebuild name:

www-client/firefox-l10n-161.0

Description

Firefox Web Browser's translation files

Added to portage

2026-11-24

flann - 1.9.2_p20221027-r2
Ebuild name:

sci-libs/flann-1.9.2_p20221027-r2

Description

Fast approximate nearest neighbor searches in high dimensional sp

Added to portage

2026-11-24

gallery-dl - 1.32.21
Ebuild name:

net-misc/gallery-dl-1.32.21

Description

Download image galleries and collections from several image hosting sit

Added to portage

2026-11-24

gaul-devel - 0.1850
Ebuild name:

sci-libs/gaul-devel-0.1850

Description

Genetic Algorithm Utility Library

Added to portage

2026-11-24

google-chrome - 158.0.8127.88
Ebuild name:

www-client/google-chrome-158.0.8127.88

Description

The web browser from Google

Added to portage

2026-11-24

google-chrome-beta - 159.0.8154.13
Ebuild name:

www-client/google-chrome-beta-159.0.8154.13

Description

The web browser from Google

Added to portage

2026-11-24

google-chrome-unstable - 160.0.8171.0
Ebuild name:

www-client/google-chrome-unstable-160.0.8171.0

Description

The web browser from Google

Added to portage

2026-11-24

grub - 2.16-r2
Ebuild name:

sys-boot/grub-2.16-r2

Description

GNU GRUB boot loader

Added to portage

2026-11-24

ipython - 9.19.1
Ebuild name:

dev-python/ipython-9.19.1

Description

Advanced interactive shell for Python

Added to portage

2026-11-24

jwcrypto - 1.6.2
Ebuild name:

dev-python/jwcrypto-1.6.2

Description

Implements JWK,JWS,JWE specifications using python-cryptography

Added to portage

2026-11-24

kalarm - 26.08.3-r2
Ebuild name:

kde-apps/kalarm-26.08.3-r2

Description

Application to manage alarms and other timer based alerts for the deskto

Added to portage

2026-11-24

kwin - 6.7.6-r1
Ebuild name:

kde-plasma/kwin-6.7.6-r1

Description

Flexible, composited Window Manager for windowing systems on Linux

Added to portage

2026-11-24

kwin - 6.8.3-r1
Ebuild name:

kde-plasma/kwin-6.8.3-r1

Description

Flexible, composited Window Manager for windowing systems on Linux

Added to portage

2026-11-24

luaposix - 39
Ebuild name:

dev-lua/luaposix-39

Description

Bindings for POSIX APIs

Added to portage

2026-11-24

marknote - 1.6.0-r1
Ebuild name:

app-text/marknote-1.6.0-r1

Description

Markdown editor with a wide range of formating options for everyday note

Added to portage

2026-11-24

microsoft-edge - 158.0.4370.33
Ebuild name:

www-client/microsoft-edge-158.0.4370.33

Description

The web browser from Microsoft

Added to portage

2026-11-24

microsoft-edge-beta - 159.0.4402.13
Ebuild name:

www-client/microsoft-edge-beta-159.0.4402.13

Description

The web browser from Microsoft

Added to portage

2026-11-24

microsoft-edge-dev - 160.0.4408.0
Ebuild name:

www-client/microsoft-edge-dev-160.0.4408.0

Description

The web browser from Microsoft

Added to portage

2026-11-24

mod_qos - 11.80
Ebuild name:

www-apache/mod_qos-11.80

Description

A QOS module for the apache webserver

Added to portage

2026-11-24

moto - 5.2.6
Ebuild name:

dev-python/moto-5.2.6

Description

Mock library for boto

Added to portage

2026-11-24

nattka - 0.6.0
Ebuild name:

app-portage/nattka-0.6.0

Description

A New Arch Tester Toolkit -- open-source stable-bot replacement

Added to portage

2026-11-24

nginx - 1.30.8
Ebuild name:

www-servers/nginx-1.30.8

Description

Added to portage

2026-11-24

nginx - 1.31.10
Ebuild name:

www-servers/nginx-1.31.10

Description

Added to portage

2026-11-24

nodejs - 22.23.5-r2
Ebuild name:

net-libs/nodejs-22.23.5-r2

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-11-24

nss-pam-ldapd - 0.9.14
Ebuild name:

sys-auth/nss-pam-ldapd-0.9.14

Description

NSS module for name lookups using LDAP

Added to portage

2026-11-24

openjdk-bin - 25.0.5.1_p2
Ebuild name:

dev-java/openjdk-bin-25.0.5.1_p2

Description

Prebuilt Java JDK binaries provided by Eclipse Temurin

Added to portage

2026-11-24

openjdk-bin - 27.0.1.1_p4
Ebuild name:

dev-java/openjdk-bin-27.0.1.1_p4

Description

Prebuilt Java JDK binaries provided by Eclipse Temurin

Added to portage

2026-11-24

openstackdocstheme - 3.7.1
Ebuild name:

dev-python/openstackdocstheme-3.7.1

Description

Theme and extension support for Sphinx documentation

Added to portage

2026-11-24

opera-gx - 140.0.6074.48
Ebuild name:

www-client/opera-gx-140.0.6074.48

Description

Opera, but for 'gamers'

Added to portage

2026-11-24

packaging - 26.4
Ebuild name:

dev-python/packaging-26.4

Description

Core utilities for Python packages

Added to portage

2026-11-24

pam_mysql - 0.8.2-r3
Ebuild name:

sys-auth/pam_mysql-0.8.2-r3

Description

pam_mysql is a module for pam to authenticate users with mysql

Added to portage

2026-11-24

pbs-installer - 2026.11.23
Ebuild name:

dev-python/pbs-installer-2026.11.23

Description

Installer for Python Build Standalone

Added to portage

2026-11-24

plasma-workspace - 6.7.6-r1
Ebuild name:

kde-plasma/plasma-workspace-6.7.6-r1

Description

KDE Plasma workspace

Added to portage

2026-11-24

pypi-attestations - 0.0.32
Ebuild name:

dev-python/pypi-attestations-0.0.32

Description

Convert between Sigstore Bundles and PEP-740 Attestation object

Added to portage

2026-11-24

qbs - 3.4.0
Ebuild name:

dev-util/qbs-3.4.0

Description

Modern build tool for software projects

Added to portage

2026-11-24

qdirstat - 2.0.1
Ebuild name:

sys-apps/qdirstat-2.0.1

Description

Qt-based directory statistics

Added to portage

2026-11-24

qt-creator - 21.0.0
Ebuild name:

dev-qt/qt-creator-21.0.0

Description

Lightweight IDE for C++/QML development centering around Qt

Added to portage

2026-11-24

qtcanvaspainter - 6.12.1
Ebuild name:

dev-qt/qtcanvaspainter-6.12.1

Description

Accelerated 2D painting solution for Qt Quick and QRhi-based render t

Added to portage

2026-11-24

qtcanvaspainter - 6.12.9999
Ebuild name:

dev-qt/qtcanvaspainter-6.12.9999

Description

Accelerated 2D painting solution for Qt Quick and QRhi-based rende

Added to portage

2026-11-24

qtcanvaspainter - 6.9999
Ebuild name:

dev-qt/qtcanvaspainter-6.9999

Description

Accelerated 2D painting solution for Qt Quick and QRhi-based render t

Added to portage

2026-11-24

reaper-bin - 7.86-r1
Ebuild name:

media-sound/reaper-bin-7.86-r1

Description

Digital audio workstation

Added to portage

2026-11-24

redis - 8.2.0
Ebuild name:

dev-python/redis-8.2.0

Description

Python client for Redis key-value store

Added to portage

2026-11-24

regex - 2026.11.23
Ebuild name:

dev-python/regex-2026.11.23

Description

Alternative regular expression module to replace re

Added to portage

2026-11-24

selenium - 4.54.0
Ebuild name:

dev-python/selenium-4.54.0

Description

Python language binding for Selenium Remote Control

Added to portage

2026-11-24

selenium-manager - 4.54.0
Ebuild name:

dev-util/selenium-manager-4.54.0

Description

CLI tool that manages the browser/driver infrastructure required b

Added to portage

2026-11-24

sngrep - 1.9.0
Ebuild name:

net-analyzer/sngrep-1.9.0

Description

Ncurses SIP Messages flow viewer

Added to portage

2026-11-24

sqlglot - 30.34.0
Ebuild name:

dev-python/sqlglot-30.34.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2026-11-24

sundials - 7.9.0
Ebuild name:

sci-libs/sundials-7.9.0

Description

Suite of nonlinear solvers

Added to portage

2026-11-24

tmuxp - 1.81.0
Ebuild name:

app-misc/tmuxp-1.81.0

Description

tmux session manager. built on libtmux

Added to portage

2026-11-24

union - 6.8.3-r1
Ebuild name:

kde-plasma/union-6.8.3-r1

Description

Style engine providing a unified style description to separate output sty

Added to portage

2026-11-24

vivaldi - 8.3.4191.47
Ebuild name:

www-client/vivaldi-8.3.4191.47

Description

A browser for our friends

Added to portage

2026-11-24

vivaldi-snapshot - 8.4.4241.3
Ebuild name:

www-client/vivaldi-snapshot-8.4.4241.3

Description

A browser for our friends

Added to portage

2026-11-24

yt-dlp - 2026.11.23
Ebuild name:

net-misc/yt-dlp-2026.11.23

Description

youtube-dl fork with additional features and fixes

Added to portage

2026-11-24

zope-deprecation - 6.1
Ebuild name:

dev-python/zope-deprecation-6.1

Description

Zope Deprecation Infrastructure

Added to portage

2026-11-24

zope-exceptions - 6.1
Ebuild name:

dev-python/zope-exceptions-6.1

Description

General purpose exceptions for Zope packages

Added to portage

2026-11-24

zstd - 1.6.0
Ebuild name:

app-arch/zstd-1.6.0

Description

zstd fast compression library

Added to portage

2026-11-24

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 223.7 ms