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:

82853

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-01-17
clang - 22.1.0_rc1
Ebuild name:

dev-python/clang-22.1.0_rc1

Description

Python bindings for llvm-core/clang

Added to portage

2026-01-17

clang - 22.1.0_rc1
Ebuild name:

llvm-core/clang-22.1.0_rc1

Description

C language family frontend for LLVM

Added to portage

2026-01-17

clang - 23.0.0.9999
Ebuild name:

dev-python/clang-23.0.0.9999

Description

Python bindings for llvm-core/clang

Added to portage

2026-01-17

clang - 23.0.0.9999
Ebuild name:

llvm-core/clang-23.0.0.9999

Description

C language family frontend for LLVM

Added to portage

2026-01-17

clang-common - 22.1.0_rc1
Ebuild name:

llvm-core/clang-common-22.1.0_rc1

Description

Common files shared between multiple slots of clang

Added to portage

2026-01-17

clang-common - 23.0.0.9999
Ebuild name:

llvm-core/clang-common-23.0.0.9999

Description

Common files shared between multiple slots of clang

Added to portage

2026-01-17

clang-linker-config - 23
Ebuild name:

llvm-core/clang-linker-config-23

Description

Default linker configuration for clang

Added to portage

2026-01-17

clang-rtlib-config - 23
Ebuild name:

llvm-runtimes/clang-rtlib-config-23

Description

Default rtlib configuration for clang

Added to portage

2026-01-17

clang-runtime - 23
Ebuild name:

llvm-runtimes/clang-runtime-23

Description

Meta-ebuild for clang runtime libraries

Added to portage

2026-01-17

clang-stdlib-config - 23
Ebuild name:

llvm-runtimes/clang-stdlib-config-23

Description

Default C++ library configuration for clang

Added to portage

2026-01-17

clang-toolchain-symlinks - 23
Ebuild name:

llvm-core/clang-toolchain-symlinks-23

Description

Symlinks to use Clang on GCC-free system

Added to portage

2026-01-17

clang-unwindlib-config - 23
Ebuild name:

llvm-runtimes/clang-unwindlib-config-23

Description

Default unwindlib configuration for clang

Added to portage

2026-01-17

compiler-rt - 22.1.0_rc1
Ebuild name:

llvm-runtimes/compiler-rt-22.1.0_rc1

Description

Compiler runtime library for clang (built-in part)

Added to portage

2026-01-17

compiler-rt - 23.0.0.9999
Ebuild name:

llvm-runtimes/compiler-rt-23.0.0.9999

Description

Compiler runtime library for clang (built-in part)

Added to portage

2026-01-17

compiler-rt-sanitizers - 22.1.0_rc1
Ebuild name:

llvm-runtimes/compiler-rt-sanitizers-22.1.0_rc1

Description

Compiler runtime libraries for clang (sanitizers &a

Added to portage

2026-01-17

compiler-rt-sanitizers - 23.0.0.9999
Ebuild name:

llvm-runtimes/compiler-rt-sanitizers-23.0.0.9999

Description

Compiler runtime libraries for clang (sanitizers &

Added to portage

2026-01-17

dovecot - 2.4.2-r2
Ebuild name:

net-mail/dovecot-2.4.2-r2

Description

An IMAP and POP3 server written with security primarily in mind

Added to portage

2026-01-17

flang - 22.1.0_rc1
Ebuild name:

llvm-core/flang-22.1.0_rc1

Description

LLVM's Fortran frontend

Added to portage

2026-01-17

flang - 23.0.0.9999
Ebuild name:

llvm-core/flang-23.0.0.9999

Description

LLVM's Fortran frontend

Added to portage

2026-01-17

flang-rt - 22.1.0_rc1
Ebuild name:

llvm-runtimes/flang-rt-22.1.0_rc1

Description

LLVM's Fortran runtime

Added to portage

2026-01-17

flang-rt - 23.0.0.9999
Ebuild name:

llvm-runtimes/flang-rt-23.0.0.9999

Description

LLVM's Fortran runtime

Added to portage

2026-01-17

httparty - 0.24.2
Ebuild name:

dev-ruby/httparty-0.24.2

Description

Makes http fun Also, makes consuming restful web services dead easy

Added to portage

2026-01-17

libclc - 22.1.0_rc1
Ebuild name:

llvm-core/libclc-22.1.0_rc1

Description

OpenCL C library

Added to portage

2026-01-17

libclc - 23.0.0.9999
Ebuild name:

llvm-core/libclc-23.0.0.9999

Description

OpenCL C library

Added to portage

2026-01-17

libnbd - 1.24.0
Ebuild name:

sys-libs/libnbd-1.24.0

Description

NBD client library in userspace

Added to portage

2026-01-17

listen - 3.10.0
Ebuild name:

dev-ruby/listen-3.10.0

Description

Listens to file modifications and notifies you about the changes

Added to portage

2026-01-17

lit - 22.1.0_rc1
Ebuild name:

dev-python/lit-22.1.0_rc1

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2026-01-17

lit - 23.0.0.9999
Ebuild name:

dev-python/lit-23.0.0.9999

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2026-01-17

lld - 22.1.0_rc1
Ebuild name:

llvm-core/lld-22.1.0_rc1

Description

The LLVM linker (link editor)

Added to portage

2026-01-17

lld - 23.0.0.9999
Ebuild name:

llvm-core/lld-23.0.0.9999

Description

The LLVM linker (link editor)

Added to portage

2026-01-17

lld-toolchain-symlinks - 23
Ebuild name:

llvm-core/lld-toolchain-symlinks-23

Description

Symlinks to use LLD on binutils-free system

Added to portage

2026-01-17

lldb - 22.1.0_rc1
Ebuild name:

llvm-core/lldb-22.1.0_rc1

Description

The LLVM debugger

Added to portage

2026-01-17

lldb - 23.0.0.9999
Ebuild name:

llvm-core/lldb-23.0.0.9999

Description

The LLVM debugger

Added to portage

2026-01-17

llvm - 22.1.0_rc1
Ebuild name:

dev-ml/llvm-22.1.0_rc1

Description

OCaml bindings for LLVM

Added to portage

2026-01-17

llvm - 22.1.0_rc1
Ebuild name:

llvm-core/llvm-22.1.0_rc1

Description

Low Level Virtual Machine

Added to portage

2026-01-17

llvm - 23.0.0.9999
Ebuild name:

dev-ml/llvm-23.0.0.9999

Description

OCaml bindings for LLVM

Added to portage

2026-01-17

llvm - 23.0.0.9999
Ebuild name:

llvm-core/llvm-23.0.0.9999

Description

Low Level Virtual Machine

Added to portage

2026-01-17

llvm-common - 22.1.0_rc1
Ebuild name:

llvm-core/llvm-common-22.1.0_rc1

Description

Common files shared between multiple slots of LLVM

Added to portage

2026-01-17

llvm-common - 23.0.0.9999
Ebuild name:

llvm-core/llvm-common-23.0.0.9999

Description

Common files shared between multiple slots of LLVM

Added to portage

2026-01-17

llvm-toolchain-symlinks - 23
Ebuild name:

llvm-core/llvm-toolchain-symlinks-23

Description

Symlinks to use LLVM on binutils-free system

Added to portage

2026-01-17

llvmgold - 23
Ebuild name:

llvm-core/llvmgold-23

Description

LLVMgold plugin symlink for autoloading

Added to portage

2026-01-17

mlir - 22.1.0_rc1
Ebuild name:

llvm-core/mlir-22.1.0_rc1

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2026-01-17

mlir - 23.0.0.9999
Ebuild name:

llvm-core/mlir-23.0.0.9999

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2026-01-17

nbdkit - 1.46.0
Ebuild name:

sys-block/nbdkit-1.46.0

Description

NBD server with stable plugin ABI and permissive license

Added to portage

2026-01-17

pipewire - 1.4.10
Ebuild name:

media-video/pipewire-1.4.10

Description

Multimedia processing graphs

Added to portage

2026-01-17

polly - 22.1.0_rc1
Ebuild name:

llvm-core/polly-22.1.0_rc1

Description

Polyhedral optimizations for LLVM

Added to portage

2026-01-17

polly - 23.0.0.9999
Ebuild name:

llvm-core/polly-23.0.0.9999

Description

Polyhedral optimizations for LLVM

Added to portage

2026-01-17

ruby-gdk3 - 4.3.4
Ebuild name:

dev-ruby/ruby-gdk3-4.3.4

Description

Ruby GDK-3.x bindings

Added to portage

2026-01-17

tomcat-native - 2.0.12
Ebuild name:

dev-java/tomcat-native-2.0.12

Description

Allows Tomcat to use certain native resources for better performance

Added to portage

2026-01-17

upmpdcli - 1.9.11
Ebuild name:

media-sound/upmpdcli-1.9.11

Description

UPnP Media Renderer front-end for MPD, the Music Player Daemon

Added to portage

2026-01-17

2026-01-16
alephone - 20250829
Ebuild name:

games-fps/alephone-20250829

Description

Enhanced game engine version from the classic Mac game, Marathon

Added to portage

2026-01-16

alsa-lib - 1.2.15.3
Ebuild name:

media-libs/alsa-lib-1.2.15.3

Description

Advanced Linux Sound Architecture Library

Added to portage

2026-01-16

alsa-topology-conf - 1.2.5.1-r1
Ebuild name:

media-libs/alsa-topology-conf-1.2.5.1-r1

Description

ALSA topology configuration files

Added to portage

2026-01-16

alsa-ucm-conf - 1.2.15.3
Ebuild name:

media-libs/alsa-ucm-conf-1.2.15.3

Description

ALSA ucm configuration files

Added to portage

2026-01-16

android-studio - 2025.2.3.9
Ebuild name:

dev-util/android-studio-2025.2.3.9

Description

Android development environment based on IntelliJ IDEA

Added to portage

2026-01-16

ansible-core - 2.20.0-r1
Ebuild name:

app-admin/ansible-core-2.20.0-r1

Description

Model-driven deployment, config management, and command execution

Added to portage

2026-01-16

aseprite - 1.3.16.1
Ebuild name:

dev-games/aseprite-1.3.16.1

Description

Animated sprite editor & pixel art tool

Added to portage

2026-01-16

autodock_vina - 1.2.7
Ebuild name:

sci-chemistry/autodock_vina-1.2.7

Description

Program for drug discovery, molecular docking and virtual screeni

Added to portage

2026-01-16

babl - 0.1.120
Ebuild name:

media-libs/babl-0.1.120

Description

A dynamic, any to any, pixel format conversion library

Added to portage

2026-01-16

blake3 - 1.8.3
Ebuild name:

dev-libs/blake3-1.8.3

Description

a fast cryptographic hash function

Added to portage

2026-01-16

bundler - 4.0.4
Ebuild name:

dev-ruby/bundler-4.0.4

Description

An easy way to vendor gem dependencies

Added to portage

2026-01-16

capstone - 6.0.0_alpha6
Ebuild name:

dev-libs/capstone-6.0.0_alpha6

Description

disassembly/disassembler framework + bindings

Added to portage

2026-01-16

cfn-lint - 1.43.3
Ebuild name:

dev-python/cfn-lint-1.43.3

Description

CloudFormation Linter

Added to portage

2026-01-16

django-polymorphic - 4.9.1
Ebuild name:

dev-python/django-polymorphic-4.9.1

Description

Seamless Polymorphic Inheritance for Django Models

Added to portage

2026-01-16

fcron - 3.4.0-r1
Ebuild name:

sys-process/fcron-3.4.0-r1

Description

A command scheduler with extended capabilities over cron and anacron

Added to portage

2026-01-16

gajim - 2.4.2
Ebuild name:

net-im/gajim-2.4.2

Description

GTK XMPP Client

Added to portage

2026-01-16

gkrellm - 2.5.0
Ebuild name:

app-admin/gkrellm-2.5.0

Description

Single process stack of various system monitors

Added to portage

2026-01-16

google-auth-oauthlib - 1.2.4
Ebuild name:

dev-python/google-auth-oauthlib-1.2.4

Description

Google Authentication Library

Added to portage

2026-01-16

icecast - 2.5.0
Ebuild name:

net-misc/icecast-2.5.0

Description

Opensource alternative to shoutcast that supports mp3, ogg and aac streaming

Added to portage

2026-01-16

ktls-utils - 1.3.0
Ebuild name:

net-misc/ktls-utils-1.3.0

Description

Kernel TLS helper utilities

Added to portage

2026-01-16

libigloo - 0.9.5
Ebuild name:

dev-libs/libigloo-0.9.5

Description

Generic framework for C development - used by the Icecast project

Added to portage

2026-01-16

libnice - 0.1.23
Ebuild name:

net-libs/libnice-0.1.23

Description

Implementation of the Interactice Connectivity Establishment standard (ICE)

Added to portage

2026-01-16

libnvidia-container - 1.18.1
Ebuild name:

sys-libs/libnvidia-container-1.18.1

Description

NVIDIA container runtime library

Added to portage

2026-01-16

ltrace - 0.8.1
Ebuild name:

dev-debug/ltrace-0.8.1

Description

trace library calls made at runtime

Added to portage

2026-01-16

mattermost-desktop-bin - 5.13.3_rc1
Ebuild name:

net-im/mattermost-desktop-bin-5.13.3_rc1

Description

Mattermost Desktop application

Added to portage

2026-01-16

microsoft-edge - 143.0.3650.139
Ebuild name:

www-client/microsoft-edge-143.0.3650.139

Description

The web browser from Microsoft

Added to portage

2026-01-16

microsoft-edge-beta - 144.0.3719.59
Ebuild name:

www-client/microsoft-edge-beta-144.0.3719.59

Description

The web browser from Microsoft

Added to portage

2026-01-16

microsoft-edge-beta - 144.0.3719.67
Ebuild name:

www-client/microsoft-edge-beta-144.0.3719.67

Description

The web browser from Microsoft

Added to portage

2026-01-16

microsoft-edge-beta - 144.0.3719.77
Ebuild name:

www-client/microsoft-edge-beta-144.0.3719.77

Description

The web browser from Microsoft

Added to portage

2026-01-16

microsoft-edge-dev - 145.0.3775.0
Ebuild name:

www-client/microsoft-edge-dev-145.0.3775.0

Description

The web browser from Microsoft

Added to portage

2026-01-16

microsoft-edge-dev - 145.0.3789.1
Ebuild name:

www-client/microsoft-edge-dev-145.0.3789.1

Description

The web browser from Microsoft

Added to portage

2026-01-16

mysql-connector-c - 8.0.36-r1
Ebuild name:

dev-db/mysql-connector-c-8.0.36-r1

Description

C client library for MariaDB/MySQL

Added to portage

2026-01-16

mysql-connector-c - 8.0.41-r1
Ebuild name:

dev-db/mysql-connector-c-8.0.41-r1

Description

C client library for MariaDB/MySQL

Added to portage

2026-01-16

nvidia-container-toolkit - 1.18.1
Ebuild name:

app-containers/nvidia-container-toolkit-1.18.1

Description

NVIDIA container runtime toolkit

Added to portage

2026-01-16

nvidia-drivers - 590.48.01-r1
Ebuild name:

x11-drivers/nvidia-drivers-590.48.01-r1

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-01-16

openpgp-keys-alsa - 20260116
Ebuild name:

sec-keys/openpgp-keys-alsa-20260116

Description

OpenPGP keys used by the Alsa Project

Added to portage

2026-01-16

openpgp-keys-dwz - 20260115
Ebuild name:

sec-keys/openpgp-keys-dwz-20260115

Description

OpenPGP key used to sign dwz releases

Added to portage

2026-01-16

openpgp-keys-less - 20260115
Ebuild name:

sec-keys/openpgp-keys-less-20260115

Description

OpenPGP keys used by less

Added to portage

2026-01-16

openpgp-keys-sendmail - 20251229
Ebuild name:

sec-keys/openpgp-keys-sendmail-20251229

Description

OpenPGP keys used by Sendmail

Added to portage

2026-01-16

openpgp-keys-smartmontools - 20260116
Ebuild name:

sec-keys/openpgp-keys-smartmontools-20260116

Description

OpenPGP key used to sign smartmontools releases

Added to portage

2026-01-16

openpgp-keys-tytso - 20260115
Ebuild name:

sec-keys/openpgp-keys-tytso-20260115

Description

OpenPGP keys used by Theodore Ts'o

Added to portage

2026-01-16

opera - 126.0.5750.43
Ebuild name:

www-client/opera-126.0.5750.43

Description

A fast and secure web browser

Added to portage

2026-01-16

opera-beta - 126.0.5750.30
Ebuild name:

www-client/opera-beta-126.0.5750.30

Description

A fast and secure web browser

Added to portage

2026-01-16

opera-developer - 127.0.5776.0
Ebuild name:

www-client/opera-developer-127.0.5776.0

Description

A fast and secure web browser

Added to portage

2026-01-16

packaging - 26.0_rc3
Ebuild name:

dev-python/packaging-26.0_rc3

Description

Core utilities for Python packages

Added to portage

2026-01-16

pbs-installer - 2026.1.14
Ebuild name:

dev-python/pbs-installer-2026.1.14

Description

Installer for Python Build Standalone

Added to portage

2026-01-16

pdns-recursor - 5.3.4
Ebuild name:

net-dns/pdns-recursor-5.3.4

Description

The PowerDNS Recursor

Added to portage

2026-01-16

pipewire - 1.4.9-r3
Ebuild name:

media-video/pipewire-1.4.9-r3

Description

Multimedia processing graphs

Added to portage

2026-01-16

qtmultimedia - 6.10.1-r1
Ebuild name:

dev-qt/qtmultimedia-6.10.1-r1

Description

Multimedia (audio, video, radio, camera) library for the Qt6 framewor

Added to portage

2026-01-16

rubygems - 4.0.4
Ebuild name:

dev-ruby/rubygems-4.0.4

Description

Centralized Ruby extension management system

Added to portage

2026-01-16

s6-dns - 2.4.1.1
Ebuild name:

net-dns/s6-dns-2.4.1.1

Description

Suite of DNS client programs and libraries for Unix systems

Added to portage

2026-01-16

s6-networking - 2.7.2.0
Ebuild name:

net-misc/s6-networking-2.7.2.0

Description

Suite of small networking utilities for Unix systems

Added to portage

2026-01-16

samba - 4.21.10-r1
Ebuild name:

net-fs/samba-4.21.10-r1

Description

Samba Suite Version 4

Added to portage

2026-01-16

samba - 4.22.7
Ebuild name:

net-fs/samba-4.22.7

Description

Samba Suite Version 4

Added to portage

2026-01-16

samba - 4.23.4
Ebuild name:

net-fs/samba-4.23.4

Description

Samba Suite Version 4

Added to portage

2026-01-16

sccache - 0.13.0
Ebuild name:

dev-util/sccache-0.13.0

Description

ccache/distcc like tool with support for rust and cloud storage

Added to portage

2026-01-16

sssd - 2.12.0
Ebuild name:

sys-auth/sssd-2.12.0

Description

System Security Services Daemon provides access to identity and authentication

Added to portage

2026-01-16

systemd-utils - 259-r2
Ebuild name:

sys-apps/systemd-utils-259-r2

Description

Utilities split out from systemd for OpenRC users

Added to portage

2026-01-16

termsyn - 1.8.7-r1
Ebuild name:

media-fonts/termsyn-1.8.7-r1

Description

Monospaced font based on terminus and tamsyn

Added to portage

2026-01-16

trojan - 1.16.0-r4
Ebuild name:

net-proxy/trojan-1.16.0-r4

Description

An unidentifiable mechanism that helps you bypass GFW

Added to portage

2026-01-16

types-psutil - 7.2.1.20260116
Ebuild name:

dev-python/types-psutil-7.2.1.20260116

Description

Typing stubs for psutil

Added to portage

2026-01-16

wild - 0.8.0
Ebuild name:

sys-devel/wild-0.8.0

Description

A very fast linker for Linux

Added to portage

2026-01-16

yara-x - 1.11.0
Ebuild name:

app-forensics/yara-x-1.11.0

Description

A malware identification and classification tool

Added to portage

2026-01-16

zen-sources - 6.18.4
Ebuild name:

sys-kernel/zen-sources-6.18.4

Description

The Zen Kernel Live Sources

Added to portage

2026-01-16

zen-sources - 6.18.5
Ebuild name:

sys-kernel/zen-sources-6.18.5

Description

The Zen Kernel Live Sources

Added to portage

2026-01-16

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