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:

85801

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-06-11
awscli - 1.45.27
Ebuild name:

app-admin/awscli-1.45.27

Description

Universal Command Line Environment for AWS

Added to portage

2026-06-11

bcachefs-tools - 1.37.4-r1
Ebuild name:

sys-fs/bcachefs-tools-1.37.4-r1

Description

Tools for bcachefs

Added to portage

2026-06-11

bcachefs-tools - 1.38.2-r1
Ebuild name:

sys-fs/bcachefs-tools-1.38.2-r1

Description

Tools for bcachefs

Added to portage

2026-06-11

binutils - 2.46.1-r1
Ebuild name:

sys-devel/binutils-2.46.1-r1

Description

Tools necessary to build programs

Added to portage

2026-06-11

binutils-libs - 2.46.1-r1
Ebuild name:

sys-libs/binutils-libs-2.46.1-r1

Description

Core binutils libraries (libbfd, libopcodes, libiberty) for extern

Added to portage

2026-06-11

boto3 - 1.43.27
Ebuild name:

dev-python/boto3-1.43.27

Description

The AWS SDK for Python

Added to portage

2026-06-11

botocore - 1.43.27
Ebuild name:

dev-python/botocore-1.43.27

Description

Low-level, data-driven core of boto 3

Added to portage

2026-06-11

c-blosc2 - 3.1.3
Ebuild name:

dev-libs/c-blosc2-3.1.3

Description

Blocking, shuffling and lossless compression library

Added to portage

2026-06-11

catalyst - 4.1.1-r1
Ebuild name:

dev-util/catalyst-4.1.1-r1

Description

Release metatool used for creating releases based on Gentoo Linux

Added to portage

2026-06-11

claude-code - 2.1.172
Ebuild name:

dev-util/claude-code-2.1.172

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-06-11

css-parser - 1.1.1
Ebuild name:

dev-python/css-parser-1.1.1

Description

A CSS Cascading Style Sheets library (fork of cssutils)

Added to portage

2026-06-11

cython - 3.2.5-r1
Ebuild name:

dev-python/cython-3.2.5-r1

Description

A Python to C compiler

Added to portage

2026-06-11

evisum - 1.2.5
Ebuild name:

sys-process/evisum-1.2.5

Description

System and process monitor written with EFL

Added to portage

2026-06-11

evisum - 2.0.11
Ebuild name:

sys-process/evisum-2.0.11

Description

System and process monitor written with EFL

Added to portage

2026-06-11

faker - 40.23.0
Ebuild name:

dev-python/faker-40.23.0

Description

A Python package that generates fake data for you

Added to portage

2026-06-11

file - 5.48
Ebuild name:

sys-apps/file-5.48

Description

Identify a file's format by scanning binary data for patterns

Added to portage

2026-06-11

filelock - 3.29.3
Ebuild name:

dev-python/filelock-3.29.3

Description

A platform independent file lock for Python

Added to portage

2026-06-11

foot - 1.27.0
Ebuild name:

gui-apps/foot-1.27.0

Description

Fast, lightweight and minimalistic Wayland terminal emulator

Added to portage

2026-06-11

game-device-udev-rules - 20260605
Ebuild name:

games-util/game-device-udev-rules-20260605

Description

udev rules for various game hardware devices

Added to portage

2026-06-11

gherkin-official - 40.0.0
Ebuild name:

dev-python/gherkin-official-40.0.0

Description

Gherkin parser/compiler for Python

Added to portage

2026-06-11

gnupg - 2.5.20-r1
Ebuild name:

app-crypt/gnupg-2.5.20-r1

Description

The GNU Privacy Guard, a GPL OpenPGP implementation

Added to portage

2026-06-11

ipykernel - 7.3.0
Ebuild name:

dev-python/ipykernel-7.3.0

Description

IPython Kernel for Jupyter

Added to portage

2026-06-11

lld - 21.1.8-r1
Ebuild name:

llvm-core/lld-21.1.8-r1

Description

The LLVM linker (link editor)

Added to portage

2026-06-11

lld - 22.1.7-r1
Ebuild name:

llvm-core/lld-22.1.7-r1

Description

The LLVM linker (link editor)

Added to portage

2026-06-11

macrostep - 0.9.5
Ebuild name:

app-emacs/macrostep-0.9.5

Description

Interactive macro-expander for Emacs

Added to portage

2026-06-11

macrostep-geiser - 0.2.0_p20210717
Ebuild name:

app-emacs/macrostep-geiser-0.2.0_p20210717

Description

Emacs macrostep back-end powered by geiser

Added to portage

2026-06-11

magit - 4.5.0
Ebuild name:

app-emacs/magit-4.5.0

Description

A Git porcelain inside Emacs

Added to portage

2026-06-11

magit - 4.5.0-r1
Ebuild name:

app-emacs/magit-4.5.0-r1

Description

A Git porcelain inside Emacs

Added to portage

2026-06-11

meson-python - 0.20.0
Ebuild name:

dev-python/meson-python-0.20.0

Description

Meson PEP 517 Python build backend

Added to portage

2026-06-11

moonlight - 6.1.0-r4
Ebuild name:

net-misc/moonlight-6.1.0-r4

Description

NVIDIA GameStream (and Sunshine) client

Added to portage

2026-06-11

mpg123-base - 1.33.6
Ebuild name:

media-sound/mpg123-base-1.33.6

Description

Realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3

Added to portage

2026-06-11

mpg123-output-plugins - 1.33.6
Ebuild name:

media-plugins/mpg123-output-plugins-1.33.6

Description

Plugins for mpg123, the realtime MPEG 1.0/2.0/2.5 audio

Added to portage

2026-06-11

mycli - 1.74.0
Ebuild name:

dev-db/mycli-1.74.0

Description

CLI for MySQL Database with auto-completion and syntax highlighting

Added to portage

2026-06-11

nest-asyncio2 - 1.7.0
Ebuild name:

dev-python/nest-asyncio2-1.7.0

Description

Patch asyncio to allow nested event loops

Added to portage

2026-06-11

poppler - 26.05.0-r1
Ebuild name:

app-text/poppler-26.05.0-r1

Description

PDF rendering library based on the xpdf-3.0 code base

Added to portage

2026-06-11

pyghmi - 1.6.17
Ebuild name:

dev-python/pyghmi-1.6.17

Description

A pure python implementation of IPMI protocol

Added to portage

2026-06-11

pypdf - 6.13.2
Ebuild name:

dev-python/pypdf-6.13.2

Description

Python library to work with PDF files

Added to portage

2026-06-11

python - 0.3.14.6
Ebuild name:

dev-lang/python-0.3.14.6

Description

Freethreading (no-GIL) version of Python programming language

Added to portage

2026-06-11

python - 3.13.14
Ebuild name:

dev-lang/python-3.13.14

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2026-06-11

python - 3.14.6
Ebuild name:

dev-lang/python-3.14.6

Description

An interpreted, interactive, object-oriented programming language

Added to portage

2026-06-11

python-openstackclient - 10.1.0
Ebuild name:

dev-python/python-openstackclient-10.1.0

Description

A client for the OpenStack APIs

Added to portage

2026-06-11

python-tests - 0.3.14.6
Ebuild name:

dev-python/python-tests-0.3.14.6

Description

Test modules from dev-lang/python

Added to portage

2026-06-11

python-tests - 3.13.14
Ebuild name:

dev-python/python-tests-3.13.14

Description

Test modules from dev-lang/python

Added to portage

2026-06-11

python-tests - 3.14.6
Ebuild name:

dev-python/python-tests-3.14.6

Description

Test modules from dev-lang/python

Added to portage

2026-06-11

senpai - 0.5.0
Ebuild name:

net-irc/senpai-0.5.0

Description

Modern terminal IRC client. NOTICE me

Added to portage

2026-06-11

snd - 26.4
Ebuild name:

media-sound/snd-26.4

Description

Sound editor

Added to portage

2026-06-11

systemtap - 5.5
Ebuild name:

dev-debug/systemtap-5.5

Description

Linux trace/probe tool

Added to portage

2026-06-11

uv - 0.11.20
Ebuild name:

dev-python/uv-0.11.20

Description

A Python package installer and resolver, written in Rust

Added to portage

2026-06-11

uv-build - 0.11.20
Ebuild name:

dev-python/uv-build-0.11.20

Description

PEP517 uv build backend

Added to portage

2026-06-11

vopono - 0.10.17
Ebuild name:

net-vpn/vopono-0.10.17

Description

Launch applications via VPN tunnels using temporary network namespaces

Added to portage

2026-06-11

2026-06-10
apache - 2.4.68
Ebuild name:

www-servers/apache-2.4.68

Description

The Apache Web Server

Added to portage

2026-06-10

apache-tools - 2.4.68
Ebuild name:

app-admin/apache-tools-2.4.68

Description

Useful Apache tools - htdigest, htpasswd, ab, htdbm

Added to portage

2026-06-10

awscli - 1.45.26
Ebuild name:

app-admin/awscli-1.45.26

Description

Universal Command Line Environment for AWS

Added to portage

2026-06-10

bash - 5.3_p15
Ebuild name:

app-shells/bash-5.3_p15

Description

The standard GNU Bourne again shell

Added to portage

2026-06-10

boto3 - 1.43.26
Ebuild name:

dev-python/boto3-1.43.26

Description

The AWS SDK for Python

Added to portage

2026-06-10

botocore - 1.43.26
Ebuild name:

dev-python/botocore-1.43.26

Description

Low-level, data-driven core of boto 3

Added to portage

2026-06-10

chessx - 1.6.10
Ebuild name:

games-board/chessx-1.6.10

Description

Qt-based Chess Database Utility

Added to portage

2026-06-10

cryptography - 48.0.1
Ebuild name:

dev-python/cryptography-48.0.1

Description

Library providing cryptographic recipes and primitives

Added to portage

2026-06-10

digikam - 9.1.0
Ebuild name:

media-gfx/digikam-9.1.0

Description

Digital photo management application

Added to portage

2026-06-10

discount - 3.0.1.3
Ebuild name:

app-text/discount-3.0.1.3

Description

A Markdown-to HTML translator written in C

Added to portage

2026-06-10

docutils-glep - 1.7
Ebuild name:

dev-python/docutils-glep-1.7

Description

Gentoo GLEP support for docutils

Added to portage

2026-06-10

dracut - 111-r1
Ebuild name:

sys-kernel/dracut-111-r1

Description

Generic initramfs generation tool

Added to portage

2026-06-10

dropbox - 256.4.3790
Ebuild name:

net-misc/dropbox-256.4.3790

Description

Dropbox daemon (pretends to be GUI-less)

Added to portage

2026-06-10

faker - 40.22.0
Ebuild name:

dev-python/faker-40.22.0

Description

A Python package that generates fake data for you

Added to portage

2026-06-10

firefox - 151.0.4
Ebuild name:

www-client/firefox-151.0.4

Description

Firefox Web Browser

Added to portage

2026-06-10

firefox-bin - 151.0.4
Ebuild name:

www-client/firefox-bin-151.0.4

Description

Firefox Web Browser

Added to portage

2026-06-10

firefox-l10n - 151.0.4
Ebuild name:

www-client/firefox-l10n-151.0.4

Description

Firefox Web Browser's translation files

Added to portage

2026-06-10

jupyter-client - 8.9.1
Ebuild name:

dev-python/jupyter-client-8.9.1

Description

Jupyter protocol implementation and client libraries

Added to portage

2026-06-10

kbibtex - 0.10.50_pre20260606
Ebuild name:

app-text/kbibtex-0.10.50_pre20260606

Description

BibTeX editor to edit bibliographies used with LaTeX

Added to portage

2026-06-10

kdesvn - 2.1.0_p20260608
Ebuild name:

dev-vcs/kdesvn-2.1.0_p20260608

Description

Frontend to the subversion vcs

Added to portage

2026-06-10

krename - 5.0.60_pre20260606
Ebuild name:

kde-misc/krename-5.0.60_pre20260606

Description

Powerful batch file renamer

Added to portage

2026-06-10

kronometer - 2.3.70_pre20260606
Ebuild name:

x11-misc/kronometer-2.3.70_pre20260606

Description

Stopwatch application

Added to portage

2026-06-10

libsecret - 0.21.7
Ebuild name:

app-crypt/libsecret-0.21.7

Description

GObject library for accessing the freedesktop.org Secret Service API

Added to portage

2026-06-10

macrostep-geiser - 0.2.0_p20210717
Ebuild name:

app-emacs/macrostep-geiser-0.2.0_p20210717

Description

Emacs macrostep back-end powered by geiser

Added to portage

2026-06-10

magit - 4.5.0
Ebuild name:

app-emacs/magit-4.5.0

Description

A Git porcelain inside Emacs

Added to portage

2026-06-10

nodejs - 24.16.0
Ebuild name:

net-libs/nodejs-24.16.0

Description

A JavaScript runtime built on Chrome's V8 JavaScript engine

Added to portage

2026-06-10

openssl - 3.0.21
Ebuild name:

dev-libs/openssl-3.0.21

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security

Added to portage

2026-06-10

openssl - 3.4.6
Ebuild name:

dev-libs/openssl-3.4.6

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openssl - 3.5.7
Ebuild name:

dev-libs/openssl-3.5.7

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openssl - 3.6.3
Ebuild name:

dev-libs/openssl-3.6.3

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openssl - 4.0.1
Ebuild name:

dev-libs/openssl-4.0.1

Description

Robust, full-featured Open Source Toolkit for the Transport Layer Security (

Added to portage

2026-06-10

openstacksdk - 4.15.0
Ebuild name:

dev-python/openstacksdk-4.15.0

Description

A collection of libraries for building applications to work with Ope

Added to portage

2026-06-10

oslo-utils - 10.1.1
Ebuild name:

dev-python/oslo-utils-10.1.1

Description

Oslo Utility library

Added to portage

2026-06-10

php - 8.4.22
Ebuild name:

dev-lang/php-8.4.22

Description

The PHP language runtime engine

Added to portage

2026-06-10

php - 8.5.7-r1
Ebuild name:

dev-lang/php-8.5.7-r1

Description

The PHP language runtime engine

Added to portage

2026-06-10

pico8 - 0.2.7-r1
Ebuild name:

dev-lang/pico8-0.2.7-r1

Description

Fantasy console for making and playing tiny games and other computer progra

Added to portage

2026-06-10

prowlarr-bin - 2.4.0.5397
Ebuild name:

www-apps/prowlarr-bin-2.4.0.5397

Description

An indexer manager/proxy to integrate with your various PVR apps

Added to portage

2026-06-10

qgis - 4.0.3
Ebuild name:

sci-geosciences/qgis-4.0.3

Description

User friendly Geographic Information System

Added to portage

2026-06-10

radarr-bin - 6.2.1.10461
Ebuild name:

www-apps/radarr-bin-6.2.1.10461

Description

A fork of Sonarr to work with movies a la Couchpotato

Added to portage

2026-06-10

readme-renderer - 45.0
Ebuild name:

dev-python/readme-renderer-45.0

Description

A library for rendering 'readme' descriptions for Warehouse

Added to portage

2026-06-10

sqlglot - 30.10.0
Ebuild name:

dev-python/sqlglot-30.10.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2026-06-10

talk-desktop-bin - 2.2.0
Ebuild name:

net-im/talk-desktop-bin-2.2.0

Description

Nextcloud Talk Desktop client

Added to portage

2026-06-10

tqdm - 4.68.2
Ebuild name:

dev-python/tqdm-4.68.2

Description

Add a progress meter to your loops in a second

Added to portage

2026-06-10

wayland-protocols - 1.49
Ebuild name:

dev-libs/wayland-protocols-1.49

Description

Wayland protocol files

Added to portage

2026-06-10

yt-dlp - 2026.06.09
Ebuild name:

net-misc/yt-dlp-2026.06.09

Description

youtube-dl fork with additional features and fixes

Added to portage

2026-06-10

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