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:

84647

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-04-26
epix - 1.2.22
Ebuild name:

sci-visualization/epix-1.2.22

Description

2- and 3-D plotter for creating images (to be used in LaTeX)

Added to portage

2026-04-26

fail2ban - 1.1.0-r7
Ebuild name:

net-analyzer/fail2ban-1.1.0-r7

Description

Scans log files and bans IPs that show malicious signs

Added to portage

2026-04-26

font-util - 1.4.2
Ebuild name:

media-fonts/font-util-1.4.2

Description

X.Org font utilities

Added to portage

2026-04-26

gpxsee - 16.6
Ebuild name:

sci-geosciences/gpxsee-16.6

Description

Viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea file

Added to portage

2026-04-26

koleo-cli - 0.2.137.32
Ebuild name:

app-misc/koleo-cli-0.2.137.32

Description

A simple CLI for koleo.pl railway planner

Added to portage

2026-04-26

kooha - 2.3.1
Ebuild name:

media-video/kooha-2.3.1

Description

Elegant screen recorder for Wayland

Added to portage

2026-04-26

mutt - 2.3.2
Ebuild name:

mail-client/mutt-2.3.2

Description

A small but very powerful text-based mail client

Added to portage

2026-04-26

nagios - 4.5.12
Ebuild name:

net-analyzer/nagios-4.5.12

Description

The Nagios metapackage

Added to portage

2026-04-26

nagios-core - 4.5.12
Ebuild name:

net-analyzer/nagios-core-4.5.12

Description

Nagios core - monitoring daemon, web GUI, and documentation

Added to portage

2026-04-26

nh3 - 0.3.5
Ebuild name:

dev-python/nh3-0.3.5

Description

Ammonia HTML sanitizer Python binding

Added to portage

2026-04-26

nss - 3.112.5
Ebuild name:

dev-libs/nss-3.112.5

Description

Mozilla's Network Security Services library that implements PKI support

Added to portage

2026-04-26

nss - 3.123.1
Ebuild name:

dev-libs/nss-3.123.1

Description

Mozilla's Network Security Services library that implements PKI support

Added to portage

2026-04-26

phonenumbers - 9.0.29
Ebuild name:

dev-python/phonenumbers-9.0.29

Description

Python port of Google's libphonenumber

Added to portage

2026-04-26

raggre46 - 0.6.0
Ebuild name:

net-misc/raggre46-0.6.0

Description

Aggregate IPv4 & IPv6 network addresses

Added to portage

2026-04-26

safeeyes - 3.5.0
Ebuild name:

x11-misc/safeeyes-3.5.0

Description

Linux alternative to EyeLeo

Added to portage

2026-04-26

xbitmaps - 1.1.4
Ebuild name:

x11-misc/xbitmaps-1.1.4

Description

X.Org bitmaps data

Added to portage

2026-04-26

xrandr - 1.5.4
Ebuild name:

x11-apps/xrandr-1.5.4

Description

A primitive command line interface to RandR extension

Added to portage

2026-04-26

xxhash - 3.7.0
Ebuild name:

dev-python/xxhash-3.7.0

Description

Python binding for the xxHash library

Added to portage

2026-04-26

yara-python - 4.5.5
Ebuild name:

dev-python/yara-python-4.5.5

Description

Python interface for a malware identification and classification tool

Added to portage

2026-04-26

zope-interface - 8.4
Ebuild name:

dev-python/zope-interface-8.4

Description

Interfaces for Python

Added to portage

2026-04-26

2026-04-25
android-udev-rules - 20260423
Ebuild name:

dev-util/android-udev-rules-20260423

Description

Android udev rules list aimed to be the most comprehensive on

Added to portage

2026-04-25

asahi-bless - 0.4.3
Ebuild name:

sys-apps/asahi-bless-0.4.3

Description

CLI boot disk selector for Apple Silicon Macs

Added to portage

2026-04-25

asahi-btsync - 0.2.5
Ebuild name:

net-misc/asahi-btsync-0.2.5

Description

Bluetooth pairing data handoff from macOS for Apple Silicon Macs

Added to portage

2026-04-25

asahi-nvram - 0.2.4
Ebuild name:

sys-apps/asahi-nvram-0.2.4

Description

Tool to read and write nvram variables on ARM Macs

Added to portage

2026-04-25

asahi-wifisync - 0.2.3
Ebuild name:

net-misc/asahi-wifisync-0.2.3

Description

WiFi network handoff from macOS for Apple Silicon Macs

Added to portage

2026-04-25

autosuspend - 10.1.0
Ebuild name:

sys-power/autosuspend-10.1.0

Description

A daemon to automatically suspend and wake up a system

Added to portage

2026-04-25

awscli - 1.44.86
Ebuild name:

app-admin/awscli-1.44.86

Description

Universal Command Line Environment for AWS

Added to portage

2026-04-25

bleachbit - 5.0.2
Ebuild name:

sys-apps/bleachbit-5.0.2

Description

Clean junk to free disk space and to maintain privacy

Added to portage

2026-04-25

borgmatic - 2.1.5
Ebuild name:

app-backup/borgmatic-2.1.5

Description

Automatically create, prune and verify backups with borgbackup

Added to portage

2026-04-25

boto3 - 1.42.96
Ebuild name:

dev-python/boto3-1.42.96

Description

The AWS SDK for Python

Added to portage

2026-04-25

botocore - 1.42.96
Ebuild name:

dev-python/botocore-1.42.96

Description

Low-level, data-driven core of boto 3

Added to portage

2026-04-25

clickdc - 0.1.1
Ebuild name:

dev-python/clickdc-0.1.1

Description

Define click command line options from a python dataclass

Added to portage

2026-04-25

clojure-tools - 1.12.4.1629
Ebuild name:

dev-util/clojure-tools-1.12.4.1629

Description

Development tools for the Clojure programming language

Added to portage

2026-04-25

cmd2 - 3.5.1
Ebuild name:

dev-python/cmd2-3.5.1

Description

Extra features for standard library's cmd module

Added to portage

2026-04-25

cryptography - 47.0.0
Ebuild name:

dev-python/cryptography-47.0.0

Description

Library providing cryptographic recipes and primitives

Added to portage

2026-04-25

deluge - 2.1.1-r8
Ebuild name:

net-p2p/deluge-2.1.1-r8

Description

BitTorrent client with a client/server model

Added to portage

2026-04-25

deluge - 2.1.1-r9
Ebuild name:

net-p2p/deluge-2.1.1-r9

Description

BitTorrent client with a client/server model

Added to portage

2026-04-25

deluge - 2.2.0-r1
Ebuild name:

net-p2p/deluge-2.2.0-r1

Description

BitTorrent client with a client/server model

Added to portage

2026-04-25

dist-kernel - 7.0.1
Ebuild name:

virtual/dist-kernel-7.0.1

Description

Virtual to depend on any Distribution Kernel

Added to portage

2026-04-25

dnsdist - 2.0.5
Ebuild name:

net-dns/dnsdist-2.0.5

Description

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

Added to portage

2026-04-25

elfix - 0.9.5-r2
Ebuild name:

sys-apps/elfix-0.9.5-r2

Description

Suite of tools to work with ELF objects on Hardened Gentoo

Added to portage

2026-04-25

fltk - 1.4.5
Ebuild name:

x11-libs/fltk-1.4.5

Description

Fast Light GUI Toolkit

Added to portage

2026-04-25

gajim - 2.2.0-r1
Ebuild name:

net-im/gajim-2.2.0-r1

Description

GTK XMPP Client

Added to portage

2026-04-25

gajim - 2.4.6
Ebuild name:

net-im/gajim-2.4.6

Description

GTK XMPP Client

Added to portage

2026-04-25

gallery-dl - 1.32.0
Ebuild name:

net-misc/gallery-dl-1.32.0

Description

Download image galleries and collections from several image hosting site

Added to portage

2026-04-25

gcc - 15.2.1_p20260424
Ebuild name:

sys-devel/gcc-15.2.1_p20260424

Description

The GNU Compiler Collection

Added to portage

2026-04-25

gentoo-kernel - 7.0.1
Ebuild name:

sys-kernel/gentoo-kernel-7.0.1

Description

Linux kernel built with Gentoo patches

Added to portage

2026-04-25

gentoo-kernel-bin - 7.0.1
Ebuild name:

sys-kernel/gentoo-kernel-bin-7.0.1

Description

Pre-built Linux kernel with Gentoo patches

Added to portage

2026-04-25

gentoo-sources - 6.18.24
Ebuild name:

sys-kernel/gentoo-sources-6.18.24

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-04-25

gentoo-sources - 6.19.14
Ebuild name:

sys-kernel/gentoo-sources-6.19.14

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-04-25

highway - 1.4.0
Ebuild name:

dev-cpp/highway-1.4.0

Description

Performance-portable, length-agnostic SIMD with runtime dispatch

Added to portage

2026-04-25

hypothesis - 6.152.2
Ebuild name:

dev-python/hypothesis-6.152.2

Description

A library for property based testing

Added to portage

2026-04-25

intellij-idea - 2026.1.1
Ebuild name:

dev-util/intellij-idea-2026.1.1

Description

A complete toolset for web, mobile and enterprise development

Added to portage

2026-04-25

ipython - 9.13.0
Ebuild name:

dev-python/ipython-9.13.0

Description

Advanced interactive shell for Python

Added to portage

2026-04-25

klayout - 0.30.7-r1
Ebuild name:

sci-electronics/klayout-0.30.7-r1

Description

Viewer and editor for GDS and OASIS integrated circuit layouts

Added to portage

2026-04-25

lego - 4.35.2
Ebuild name:

app-crypt/lego-4.35.2

Description

Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go

Added to portage

2026-04-25

matplotlib - 3.10.9
Ebuild name:

dev-python/matplotlib-3.10.9

Description

Pure python plotting library with matlab like syntax

Added to portage

2026-04-25

mcrypt - 2.6.8-r3
Ebuild name:

app-crypt/mcrypt-2.6.8-r3

Description

Replacement of the old unix crypt(1)

Added to portage

2026-04-25

md5deep - 4.4
Ebuild name:

app-crypt/md5deep-4.4

Description

Expanded md5sum program with recursive and comparison options

Added to portage

2026-04-25

md5deep - 4.4
Ebuild name:

app-crypt/md5deep-4.4

Description

Expanded md5sum program with recursive and comparison options

Added to portage

2026-04-25

md6sum - 1.0-r3
Ebuild name:

app-crypt/md6sum-1.0-r3

Description

A C implementation of MD6

Added to portage

2026-04-25

mediafile - 0.17.0
Ebuild name:

dev-python/mediafile-0.17.0

Description

Read and write audio files' tags in Python

Added to portage

2026-04-25

mhash - 0.9.9.9-r4
Ebuild name:

app-crypt/mhash-0.9.9.9-r4

Description

Library providing a uniform interface to a large number of hash algorith

Added to portage

2026-04-25

minecraft-server - 26.1.2
Ebuild name:

games-server/minecraft-server-26.1.2

Description

The official server for the sandbox video game

Added to portage

2026-04-25

minisign - 0.12
Ebuild name:

app-crypt/minisign-0.12

Description

Dead simple tool to sign files and verify signatures

Added to portage

2026-04-25

mit-krb5 - 1.21.3
Ebuild name:

app-crypt/mit-krb5-1.21.3

Description

MIT Kerberos V

Added to portage

2026-04-25

mit-krb5 - 1.21.3-r1
Ebuild name:

app-crypt/mit-krb5-1.21.3-r1

Description

MIT Kerberos V

Added to portage

2026-04-25

mit-krb5 - 1.22.2
Ebuild name:

app-crypt/mit-krb5-1.22.2

Description

MIT Kerberos V

Added to portage

2026-04-25

mit-krb5 - 1.22.2-r1
Ebuild name:

app-crypt/mit-krb5-1.22.2-r1

Description

MIT Kerberos V

Added to portage

2026-04-25

mit-krb5-appl - 1.0.3-r4
Ebuild name:

app-crypt/mit-krb5-appl-1.0.3-r4

Description

Kerberized applications split from the main MIT Kerberos V distrib

Added to portage

2026-04-25

mit-krb5-appl - 1.0.3-r5
Ebuild name:

app-crypt/mit-krb5-appl-1.0.3-r5

Description

Kerberized applications split from the main MIT Kerberos V distrib

Added to portage

2026-04-25

mkl - 2026.0.0.908
Ebuild name:

sci-libs/mkl-2026.0.0.908

Description

Intel Math Kernel Library

Added to portage

2026-04-25

mkp224o - 1.7.0
Ebuild name:

app-crypt/mkp224o-1.7.0

Description

Vanity address generator for v3 Tor hidden service addresses

Added to portage

2026-04-25

monkeysphere - 0.44-r2
Ebuild name:

app-crypt/monkeysphere-0.44-r2

Description

Leverage the OpenPGP web of trust for OpenSSH and Web authentication

Added to portage

2026-04-25

moolticute - 1.03.0-r2
Ebuild name:

app-crypt/moolticute-1.03.0-r2

Description

Mooltipass crossplatform daemon/tools

Added to portage

2026-04-25

moolticute - 9999
Ebuild name:

app-crypt/moolticute-9999

Description

Mooltipass crossplatform daemon/tools

Added to portage

2026-04-25

mycli - 1.70.0
Ebuild name:

dev-db/mycli-1.70.0

Description

CLI for MySQL Database with auto-completion and syntax highlighting

Added to portage

2026-04-25

mysql - 8.0.46
Ebuild name:

dev-db/mysql-8.0.46

Description

A fast, multi-threaded, multi-user SQL database server

Added to portage

2026-04-25

mysql - 8.4.9
Ebuild name:

dev-db/mysql-8.4.9

Description

Fast, multi-threaded, multi-user SQL database server

Added to portage

2026-04-25

mysql-connector-c++ - 9.7.0
Ebuild name:

dev-db/mysql-connector-c++-9.7.0

Description

MySQL database connector for C++ (mimics JDBC 4.0 API)

Added to portage

2026-04-25

nxml-libvirt-schemas - 12.1.0
Ebuild name:

app-emacs/nxml-libvirt-schemas-12.1.0

Description

Extension for nxml-mode with libvirt schemas

Added to portage

2026-04-25

nxml-libvirt-schemas - 12.2.0
Ebuild name:

app-emacs/nxml-libvirt-schemas-12.2.0

Description

Extension for nxml-mode with libvirt schemas

Added to portage

2026-04-25

openapi-spec-validator - 0.8.5
Ebuild name:

dev-python/openapi-spec-validator-0.8.5

Description

OpenAPI 2.0 (aka Swagger) and OpenAPI 3.0 spec validator

Added to portage

2026-04-25

openpgp-keys-putty-release - 2023
Ebuild name:

sec-keys/openpgp-keys-putty-release-2023

Description

PuTTY Release Key

Added to portage

2026-04-25

opentelemetry-api - 1.41.1
Ebuild name:

dev-python/opentelemetry-api-1.41.1

Description

OpenTelemetry Python API

Added to portage

2026-04-25

opentelemetry-sdk - 1.41.1
Ebuild name:

dev-python/opentelemetry-sdk-1.41.1

Description

OpenTelemetry Python SDK

Added to portage

2026-04-25

opentelemetry-semantic-conventions - 1.41.1
Ebuild name:

dev-python/opentelemetry-semantic-conventions-1.41.1

Description

OpenTelemetry Semantic Conventions

Added to portage

2026-04-25

packaging - 26.2
Ebuild name:

dev-python/packaging-26.2

Description

Core utilities for Python packages

Added to portage

2026-04-25

putty - 0.83
Ebuild name:

net-misc/putty-0.83

Description

A Free Telnet/SSH Client

Added to portage

2026-04-25

putty - 9999
Ebuild name:

net-misc/putty-9999

Description

A Free Telnet/SSH Client

Added to portage

2026-04-25

pyghmi - 1.6.16
Ebuild name:

dev-python/pyghmi-1.6.16

Description

A pure python implementation of IPMI protocol

Added to portage

2026-04-25

pyopenssl - 26.1.0
Ebuild name:

dev-python/pyopenssl-26.1.0

Description

Python interface to the OpenSSL library

Added to portage

2026-04-25

pyroute2 - 0.9.6
Ebuild name:

dev-python/pyroute2-0.9.6

Description

A pure Python netlink and Linux network configuration library

Added to portage

2026-04-25

pyzotero - 1.11.1
Ebuild name:

dev-python/pyzotero-1.11.1

Description

A Python client for the Zotero API

Added to portage

2026-04-25

qiv - 3.0.4
Ebuild name:

media-gfx/qiv-3.0.4

Description

Quick Image Viewer

Added to portage

2026-04-25

qmapshack - 1.20.2
Ebuild name:

sci-geosciences/qmapshack-1.20.2

Description

GPS mapping utility

Added to portage

2026-04-25

rutorrent - 5.3.1
Ebuild name:

www-apps/rutorrent-5.3.1

Description

ruTorrent is a front-end for the popular Bittorrent client rTorrent

Added to portage

2026-04-25

shell-maker - 0.90.1
Ebuild name:

app-emacs/shell-maker-0.90.1

Description

Interaction mode for making comint shells for GNU Emacs

Added to portage

2026-04-25

shell-maker - 9999
Ebuild name:

app-emacs/shell-maker-9999

Description

Interaction mode for making comint shells for GNU Emacs

Added to portage

2026-04-25

simplejson - 4.1.1
Ebuild name:

dev-python/simplejson-4.1.1

Description

Simple, fast, extensible JSON encoder/decoder for Python

Added to portage

2026-04-25

skim - 4.6.0
Ebuild name:

app-misc/skim-4.6.0

Description

Command-line fuzzy finder

Added to portage

2026-04-25

sphinx-gallery - 0.21.0
Ebuild name:

dev-python/sphinx-gallery-0.21.0

Description

Sphinx extension to automatically generate an examples gallery

Added to portage

2026-04-25

svt-av1 - 4.1.0
Ebuild name:

media-libs/svt-av1-4.1.0

Description

Scalable Video Technology for AV1 (SVT-AV1 Encoder)

Added to portage

2026-04-25

telegram-desktop-bin - 6.7.8
Ebuild name:

net-im/telegram-desktop-bin-6.7.8

Description

Official desktop client for Telegram (binary package)

Added to portage

2026-04-25

testtools - 2.9.1
Ebuild name:

dev-python/testtools-2.9.1

Description

Extensions to the Python standard library unit testing framework

Added to portage

2026-04-25

transient - 0.13.0
Ebuild name:

app-emacs/transient-0.13.0

Description

Transient commands abstraction for GNU Emacs

Added to portage

2026-04-25

trimesh - 4.12.1
Ebuild name:

dev-python/trimesh-4.12.1

Description

Python library for loading and using triangular meshes

Added to portage

2026-04-25

url-normalize - 3.0.0
Ebuild name:

dev-python/url-normalize-3.0.0

Description

URL normalization for Python

Added to portage

2026-04-25

vanilla-kernel - 7.0.1
Ebuild name:

sys-kernel/vanilla-kernel-7.0.1

Description

Linux kernel built from vanilla upstream sources

Added to portage

2026-04-25

vopono - 0.10.16
Ebuild name:

net-vpn/vopono-0.10.16

Description

Launch applications via VPN tunnels using temporary network namespaces

Added to portage

2026-04-25

wrapt - 2.2.0_rc11
Ebuild name:

dev-python/wrapt-2.2.0_rc11

Description

Module for decorators, wrappers and monkey patching

Added to portage

2026-04-25

zen-sources - 6.19.13
Ebuild name:

sys-kernel/zen-sources-6.19.13

Description

The Zen Kernel Live Sources

Added to portage

2026-04-25

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