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:

82302

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
2025-12-05
eid-mw - 5.1.26
Ebuild name:

app-crypt/eid-mw-5.1.26

Description

Electronic Identity Card middleware supplied by the Belgian Federal Governm

Added to portage

2025-12-05

jj - 0.36.0
Ebuild name:

dev-vcs/jj-0.36.0

Description

Jujutsu - an experimental version control system

Added to portage

2025-12-05

ruff - 0.14.8
Ebuild name:

dev-util/ruff-0.14.8

Description

An extremely fast Python linter, written in Rust

Added to portage

2025-12-05

transmission - 4.1.0_beta4
Ebuild name:

net-p2p/transmission-4.1.0_beta4

Description

A fast, easy, and free BitTorrent client

Added to portage

2025-12-05

2025-12-04
Sys-Virt - 11.10.0
Ebuild name:

dev-perl/Sys-Virt-11.10.0

Description

API for using the libvirt library from Perl

Added to portage

2025-12-04

Text-WrapI18N - 0.60.0-r3
Ebuild name:

dev-perl/Text-WrapI18N-0.60.0-r3

Description

Internationalized substitute of Text

Added to portage

2025-12-04

acme-client - 2.0.28
Ebuild name:

dev-ruby/acme-client-2.0.28

Description

A Ruby client for the letsencrypt's ACME protocol

Added to portage

2025-12-04

addressable - 2.8.8
Ebuild name:

dev-ruby/addressable-2.8.8

Description

A replacement for the URI implementation that is part of Ruby's standard

Added to portage

2025-12-04

airbrussh - 1.6.0
Ebuild name:

dev-ruby/airbrussh-1.6.0

Description

A replacement log formatter for SSHKit

Added to portage

2025-12-04

algol68g - 3.10.8
Ebuild name:

dev-lang/algol68g-3.10.8

Description

Algol 68 Genie compiler-interpreter

Added to portage

2025-12-04

audacious - 4.5.1
Ebuild name:

media-sound/audacious-4.5.1

Description

Lightweight and versatile audio player

Added to portage

2025-12-04

audacious-plugins - 4.5.1
Ebuild name:

media-plugins/audacious-plugins-4.5.1

Description

Lightweight and versatile audio player

Added to portage

2025-12-04

awscli - 1.43.8
Ebuild name:

app-admin/awscli-1.43.8

Description

Universal Command Line Environment for AWS

Added to portage

2025-12-04

bash - 5.4_alpha_pre20251202
Ebuild name:

app-shells/bash-5.4_alpha_pre20251202

Description

The standard GNU Bourne again shell

Added to portage

2025-12-04

beartype - 0.22.8
Ebuild name:

dev-python/beartype-0.22.8

Description

Unbearably fast runtime type checking in pure Python

Added to portage

2025-12-04

blas-lapack-aux-wrapper - 2
Ebuild name:

sci-libs/blas-lapack-aux-wrapper-2

Description

BLAS/LAPACK wrappers for FlexiBLAS

Added to portage

2025-12-04

boto3 - 1.42.2
Ebuild name:

dev-python/boto3-1.42.2

Description

The AWS SDK for Python

Added to portage

2025-12-04

botocore - 1.42.2
Ebuild name:

dev-python/botocore-1.42.2

Description

Low-level, data-driven core of boto 3

Added to portage

2025-12-04

bundler-audit - 0.9.3
Ebuild name:

dev-ruby/bundler-audit-0.9.3

Description

Provides patch-level verification for Bundled apps

Added to portage

2025-12-04

cantata - 3.4.0
Ebuild name:

media-sound/cantata-3.4.0

Description

Featureful and configurable Qt client for the music player daemon (MPD)

Added to portage

2025-12-04

casync - 2_p20250922
Ebuild name:

net-misc/casync-2_p20250922

Description

Content-Addressable Data Synchronization Tool

Added to portage

2025-12-04

cdk - 5.0.20251014
Ebuild name:

dev-libs/cdk-5.0.20251014

Description

A library of curses widgets

Added to portage

2025-12-04

chrome-binary-plugins - 143.0.7499.40
Ebuild name:

www-plugins/chrome-binary-plugins-143.0.7499.40

Description

Binary plugins from Google Chrome for use in Chromi

Added to portage

2025-12-04

chrome-binary-plugins - 144.0.7559.3_alpha
Ebuild name:

www-plugins/chrome-binary-plugins-144.0.7559.3_alpha

Description

Binary plugins from Google Chrome for use in C

Added to portage

2025-12-04

chrome-binary-plugins - 144.0.7559.3_beta
Ebuild name:

www-plugins/chrome-binary-plugins-144.0.7559.3_beta

Description

Binary plugins from Google Chrome for use in Ch

Added to portage

2025-12-04

chromedriver-bin - 143.0.7499.40
Ebuild name:

www-apps/chromedriver-bin-143.0.7499.40

Description

WebDriver for Chrome

Added to portage

2025-12-04

chromium - 143.0.7499.40
Ebuild name:

www-client/chromium-143.0.7499.40

Description

Open-source version of Google Chrome web browser

Added to portage

2025-12-04

chrony_exporter - 0.12.2
Ebuild name:

app-metrics/chrony_exporter-0.12.2

Description

Chrony NTP exporter for Prometheus

Added to portage

2025-12-04

claude-code - 2.0.58
Ebuild name:

dev-util/claude-code-2.0.58

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2025-12-04

codeblocks - 25.03-r2
Ebuild name:

dev-util/codeblocks-25.03-r2

Description

The open source, cross platform, free C, C++ and Fortran IDE

Added to portage

2025-12-04

connection_pool - 2.5.5
Ebuild name:

dev-ruby/connection_pool-2.5.5

Description

Generic connection pooling for Ruby

Added to portage

2025-12-04

discord - 0.0.117
Ebuild name:

net-im/discord-0.0.117

Description

All-in-one voice and text chat for gamers

Added to portage

2025-12-04

discord - 0.0.117-r1
Ebuild name:

net-im/discord-0.0.117-r1

Description

All-in-one voice and text chat for gamers

Added to portage

2025-12-04

django - 6.0
Ebuild name:

dev-python/django-6.0

Description

High-level Python web framework

Added to portage

2025-12-04

djbdns - 1.05-r42
Ebuild name:

net-dns/djbdns-1.05-r42

Description

Collection of DNS client/server software

Added to portage

2025-12-04

dnsdist - 2.0.2
Ebuild name:

net-dns/dnsdist-2.0.2

Description

A highly DNS-, DoS- and abuse-aware loadbalancer

Added to portage

2025-12-04

dnsdist - 9999
Ebuild name:

net-dns/dnsdist-9999

Description

A highly DNS-, DoS- and abuse-aware loadbalancer

Added to portage

2025-12-04

doggo - 1.1.2
Ebuild name:

net-dns/doggo-1.1.2

Description

Command-line DNS Client for Humans

Added to portage

2025-12-04

dpkg - 1.22.21
Ebuild name:

app-arch/dpkg-1.22.21

Description

Package maintenance system for Debian

Added to portage

2025-12-04

firewalld - 2.3.2
Ebuild name:

net-firewall/firewalld-2.3.2

Description

Firewall daemon with D-Bus interface providing a dynamic firewall

Added to portage

2025-12-04

firewalld - 2.4.0
Ebuild name:

net-firewall/firewalld-2.4.0

Description

Firewall daemon with D-Bus interface providing a dynamic firewall

Added to portage

2025-12-04

freepg - 2.5.14
Ebuild name:

app-crypt/freepg-2.5.14

Description

Cross-distro GnuPG fork focused on OpenPGP compliance

Added to portage

2025-12-04

fsspec - 2025.12.0
Ebuild name:

dev-python/fsspec-2025.12.0

Description

A specification that python filesystems should adhere to

Added to portage

2025-12-04

gimp - 3.2.0_rc1
Ebuild name:

media-gfx/gimp-3.2.0_rc1

Description

GNU Image Manipulation Program

Added to portage

2025-12-04

goawk - 1.30.1
Ebuild name:

sys-apps/goawk-1.30.1

Description

POSIX-compliant AWK interpreter written in Go, with CSV support

Added to portage

2025-12-04

google-chrome - 143.0.7499.40
Ebuild name:

www-client/google-chrome-143.0.7499.40

Description

The web browser from Google

Added to portage

2025-12-04

google-chrome-beta - 144.0.7559.3
Ebuild name:

www-client/google-chrome-beta-144.0.7559.3

Description

The web browser from Google

Added to portage

2025-12-04

google-chrome-unstable - 144.0.7559.3
Ebuild name:

www-client/google-chrome-unstable-144.0.7559.3

Description

The web browser from Google

Added to portage

2025-12-04

gromacs - 2025.4
Ebuild name:

sci-chemistry/gromacs-2025.4

Description

The ultimate molecular dynamics simulation package

Added to portage

2025-12-04

gromacs - 2026.9999
Ebuild name:

sci-chemistry/gromacs-2026.9999

Description

The ultimate molecular dynamics simulation package

Added to portage

2025-12-04

gromacs - 2026_beta
Ebuild name:

sci-chemistry/gromacs-2026_beta

Description

The ultimate molecular dynamics simulation package

Added to portage

2025-12-04

hishel - 1.1.7
Ebuild name:

dev-python/hishel-1.1.7

Description

An elegant HTTP Cache implementation for HTTPX and HTTP Core

Added to portage

2025-12-04

hplip-plugin - 3.25.8
Ebuild name:

net-print/hplip-plugin-3.25.8

Description

Proprietary plugins and firmware for HPLIP

Added to portage

2025-12-04

ipython - 9.8.0
Ebuild name:

dev-python/ipython-9.8.0

Description

Advanced interactive shell for Python

Added to portage

2025-12-04

json - 2.17.1
Ebuild name:

dev-ruby/json-2.17.1

Description

A JSON implementation as a Ruby extension

Added to portage

2025-12-04

kicad - 9.0.6
Ebuild name:

sci-electronics/kicad-9.0.6

Description

Electronic Schematic and PCB design tools

Added to portage

2025-12-04

kicad-footprints - 9.0.6
Ebuild name:

sci-electronics/kicad-footprints-9.0.6

Description

Electronic Schematic and PCB design tools footprint librarie

Added to portage

2025-12-04

kicad-meta - 9.0.6
Ebuild name:

sci-electronics/kicad-meta-9.0.6

Description

Electronic Schematic and PCB design tools (meta package)

Added to portage

2025-12-04

kicad-packages3d - 9.0.6
Ebuild name:

sci-electronics/kicad-packages3d-9.0.6

Description

Electronic Schematic and PCB design tools 3D package librari

Added to portage

2025-12-04

kicad-symbols - 9.0.6
Ebuild name:

sci-electronics/kicad-symbols-9.0.6

Description

Electronic Schematic and PCB design tools symbol libraries

Added to portage

2025-12-04

kicad-templates - 9.0.6
Ebuild name:

sci-electronics/kicad-templates-9.0.6

Description

Electronic Schematic and PCB design tools project templates

Added to portage

2025-12-04

knot-resolver - 6.0.17
Ebuild name:

net-dns/knot-resolver-6.0.17

Description

Scaleable caching DNS resolver

Added to portage

2025-12-04

libfabric - 1.11.2-r3
Ebuild name:

sys-block/libfabric-1.11.2-r3

Description

The Open Fabrics Interfaces (OFI) framework

Added to portage

2025-12-04

libfabric - 2.3.1
Ebuild name:

sys-block/libfabric-2.3.1

Description

The Open Fabrics Interfaces (OFI) framework

Added to portage

2025-12-04

libfreehand - 0.1.2-r2
Ebuild name:

media-libs/libfreehand-0.1.2-r2

Description

Library for import of FreeHand drawings

Added to portage

2025-12-04

libnvidia-container - 1.18.0
Ebuild name:

sys-libs/libnvidia-container-1.18.0

Description

NVIDIA container runtime library

Added to portage

2025-12-04

libpng - 1.6.52
Ebuild name:

media-libs/libpng-1.6.52

Description

Portable Network Graphics library

Added to portage

2025-12-04

libtorrent - 0.16.5
Ebuild name:

net-libs/libtorrent-0.16.5

Description

BitTorrent library written in C++ for *nix

Added to portage

2025-12-04

libvirt - 11.10.0
Ebuild name:

app-emulation/libvirt-11.10.0

Description

C toolkit to manipulate virtual machines

Added to portage

2025-12-04

libvirt-python - 11.10.0
Ebuild name:

dev-python/libvirt-python-11.10.0

Description

libvirt Python bindings

Added to portage

2025-12-04

libxkbcommon - 1.13.1
Ebuild name:

x11-libs/libxkbcommon-1.13.1

Description

Keymap handling library for toolkits and window systems

Added to portage

2025-12-04

linux-firmware - 20251125_p20251203
Ebuild name:

sys-kernel/linux-firmware-20251125_p20251203

Description

Linux firmware files

Added to portage

2025-12-04

mesa - 25.2.8
Ebuild name:

media-libs/mesa-25.2.8

Description

OpenGL-like graphic library for Linux

Added to portage

2025-12-04

mesa - 25.3.1
Ebuild name:

media-libs/mesa-25.3.1

Description

OpenGL-like graphic library for Linux

Added to portage

2025-12-04

mesa_clc - 25.2.8
Ebuild name:

dev-util/mesa_clc-25.2.8

Description

mesa_clc tool used for building OpenCL C to SPIR-V

Added to portage

2025-12-04

mesa_clc - 25.3.1
Ebuild name:

dev-util/mesa_clc-25.3.1

Description

mesa_clc tool used for building OpenCL C to SPIR-V

Added to portage

2025-12-04

microsoft-edge-beta - 143.0.3650.63
Ebuild name:

www-client/microsoft-edge-beta-143.0.3650.63

Description

The web browser from Microsoft

Added to portage

2025-12-04

microsoft-edge-dev - 144.0.3705.0
Ebuild name:

www-client/microsoft-edge-dev-144.0.3705.0

Description

The web browser from Microsoft

Added to portage

2025-12-04

mkdocstrings-python - 2.0.1
Ebuild name:

dev-python/mkdocstrings-python-2.0.1

Description

Python handler for dev-python/mkdocstrings

Added to portage

2025-12-04

multi_json - 1.18.0
Ebuild name:

dev-ruby/multi_json-1.18.0

Description

A gem to provide swappable JSON backends

Added to portage

2025-12-04

musescore - 4.6.4
Ebuild name:

media-sound/musescore-4.6.4

Description

WYSIWYG Music Score Typesetter

Added to portage

2025-12-04

nng - 1.11
Ebuild name:

dev-libs/nng-1.11

Description

Light-weight brokerless messaging

Added to portage

2025-12-04

numix-icon-theme - 25.10.26
Ebuild name:

x11-themes/numix-icon-theme-25.10.26

Description

An official icon theme from the Numix Project

Added to portage

2025-12-04

numix-icon-theme-circle - 25.11.15
Ebuild name:

x11-themes/numix-icon-theme-circle-25.11.15

Description

Icon theme from the Numix project

Added to portage

2025-12-04

numpy - 2.4.0_rc1
Ebuild name:

dev-python/numpy-2.4.0_rc1

Description

Fast array and numerical python library

Added to portage

2025-12-04

nvidia-container-toolkit - 1.18.0
Ebuild name:

app-containers/nvidia-container-toolkit-1.18.0

Description

NVIDIA container runtime toolkit

Added to portage

2025-12-04

nwjs - 0.100.1-r1
Ebuild name:

dev-libs/nwjs-0.100.1-r1

Description

Framework that lets you call all Node.js modules directly from the DOM

Added to portage

2025-12-04

nwjs - 0.104.1-r2
Ebuild name:

dev-libs/nwjs-0.104.1-r2

Description

Framework that lets you call all Node.js modules directly from the DOM

Added to portage

2025-12-04

nwjs - 0.86.0-r1
Ebuild name:

dev-libs/nwjs-0.86.0-r1

Description

Framework that lets you call all Node.js modules directly from the DOM

Added to portage

2025-12-04

openpgp-keys-knot-resolver - 20251203
Ebuild name:

sec-keys/openpgp-keys-knot-resolver-20251203

Description

OpenPGP keys used by the Knot Resolver developers

Added to portage

2025-12-04

openssl-ccm - 1.3.0
Ebuild name:

dev-ruby/openssl-ccm-1.3.0

Description

OpenSSL CBC-MAC (CCM) ruby gem

Added to portage

2025-12-04

openssl-cmac - 2.1.0
Ebuild name:

dev-ruby/openssl-cmac-2.1.0

Description

Gem for RFC 4493, 4494, 4615 - The AES-CMAC Algorithm

Added to portage

2025-12-04

opentelemetry-api - 1.39.0
Ebuild name:

dev-python/opentelemetry-api-1.39.0

Description

OpenTelemetry Python API

Added to portage

2025-12-04

opentelemetry-sdk - 1.39.0
Ebuild name:

dev-python/opentelemetry-sdk-1.39.0

Description

OpenTelemetry Python SDK

Added to portage

2025-12-04

opentelemetry-semantic-conventions - 1.39.0
Ebuild name:

dev-python/opentelemetry-semantic-conventions-1.39.0

Description

OpenTelemetry Semantic Conventions

Added to portage

2025-12-04

pbs-installer - 2025.12.2
Ebuild name:

dev-python/pbs-installer-2025.12.2

Description

Installer for Python Build Standalone

Added to portage

2025-12-04

pfuture - 1.10.3
Ebuild name:

app-emacs/pfuture-1.10.3

Description

Simple wrapper around asynchronous processes

Added to portage

2025-12-04

php-mode - 1.27.0
Ebuild name:

app-emacs/php-mode-1.27.0

Description

GNU Emacs major mode for editing PHP code

Added to portage

2025-12-04

php-mode - 9999
Ebuild name:

app-emacs/php-mode-9999

Description

GNU Emacs major mode for editing PHP code

Added to portage

2025-12-04

php-mode - 9999
Ebuild name:

app-emacs/php-mode-9999

Description

GNU Emacs major mode for editing PHP code

Added to portage

2025-12-04

pinentry - 0.1_p20250408
Ebuild name:

app-emacs/pinentry-0.1_p20250408

Description

GnuPG Pinentry server implementation for Emacs

Added to portage

2025-12-04

piwigo - 16.1.0
Ebuild name:

www-apps/piwigo-16.1.0

Description

a photo gallery software for the web

Added to portage

2025-12-04

pixi - 0.60.0
Ebuild name:

dev-util/pixi-0.60.0

Description

A package management and workflow tool

Added to portage

2025-12-04

popcorntime-bin - 0.5.1-r4
Ebuild name:

media-video/popcorntime-bin-0.5.1-r4

Description

BitTorrent client that includes an integrated media player

Added to portage

2025-12-04

poppler - 25.12.0
Ebuild name:

app-text/poppler-25.12.0

Description

PDF rendering library based on the xpdf-3.0 code base

Added to portage

2025-12-04

posframe - 1.5.0
Ebuild name:

app-emacs/posframe-1.5.0

Description

Pop up a frame at point

Added to portage

2025-12-04

rtorrent - 0.16.5
Ebuild name:

net-p2p/rtorrent-0.16.5

Description

BitTorrent Client using libtorrent

Added to portage

2025-12-04

sabctools - 9.1.0
Ebuild name:

dev-python/sabctools-9.1.0

Description

Module providing raw yEnc encoding/decoding for SABnzbd

Added to portage

2025-12-04

sphinx - 9.0.3
Ebuild name:

dev-python/sphinx-9.0.3

Description

Python documentation generator

Added to portage

2025-12-04

tcp-wrappers - 7.6.31-r2
Ebuild name:

sys-apps/tcp-wrappers-7.6.31-r2

Description

TCP Wrappers

Added to portage

2025-12-04

tempel - 1.9
Ebuild name:

app-emacs/tempel-1.9

Description

Templates with in-buffer field editing for GNU Emacs

Added to portage

2025-12-04

translate-toolkit - 3.17.3
Ebuild name:

dev-python/translate-toolkit-3.17.3

Description

Toolkit to convert between many translation formats

Added to portage

2025-12-04

tree-sitter-vimdoc - 3.0.1
Ebuild name:

dev-libs/tree-sitter-vimdoc-3.0.1

Description

Vimdoc grammar for Tree-sitter

Added to portage

2025-12-04

vcrpy - 8.0.0
Ebuild name:

dev-python/vcrpy-8.0.0

Description

Automatically mock your HTTP interactions to simplify and speed up testing

Added to portage

2025-12-04

vivaldi-snapshot - 7.8.3882.3
Ebuild name:

www-client/vivaldi-snapshot-7.8.3882.3

Description

A browser for our friends

Added to portage

2025-12-04

wireshark - 4.6.2
Ebuild name:

net-analyzer/wireshark-4.6.2

Description

Network protocol analyzer (sniffer)

Added to portage

2025-12-04

xkbcomp - 1.5.0-r1
Ebuild name:

x11-apps/xkbcomp-1.5.0-r1

Description

XKB keyboard description compiler

Added to portage

2025-12-04

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