Skip to main content

Questions tagged [priority]

0 votes
1 answer
78 views

Is there any advantage to changing process priorities using a kernel module instead of nice / chrt?

I'm working on a project where I want to study the impact of process priority on system behavior. I know that tools like nice, renice, and chrt can change the priority or scheduling policy (e.g., ...
RustySyntax's user avatar
0 votes
1 answer
107 views

Why does no packet traverse the nat chain in the output or postrouting hook with this ruleset?

I have a machine with the network interface enp0s3 which is assigned the IPv4 address 192.168.20.254. Furthermore, on another machine there is a DNS server listening on the IPv4 address 192.168.20.10. ...
Binarus's user avatar
  • 3,931
0 votes
1 answer
741 views

Set highest CPU and IO priority for a systemd service

How to set CPU and IO priority for a systemd service? In partucular, how to set the highest values? (Assume that the service is idling most of the time and will absolutely NOT clog the rest of the ...
VasyaNovikov's user avatar
  • 1,559
4 votes
2 answers
4k views

nftables priority filter: what does this mean?

The nftables wiki explains the priorities here. Clearly, the priority is a numeric value like -10, 0 or 10. The Red Hat nftables documentation does the same. Priorities remain numeric in the examples ...
CeSinge's user avatar
  • 93
0 votes
1 answer
1k views

When/where to set network bond (active-backup) interface priorities on boot?

This is a follow-up to linux bonding active-backup mode set priority for multiple interfaces? I'm too new to post a comment there. I've confirmed that ip link set dev <x> type bond_slave prio &...
David's user avatar
  • 3
0 votes
1 answer
604 views

How to set default metric on IPv6 route received by RA message

I have two ipv6 interfaces(eth1 and eth2), that receives an IP via DHCP(dhclient is used), but the routes are received via RA messages from switch, to which these interfaces are connected. Since RA ...
lucky_rydar's user avatar
2 votes
1 answer
157 views

How to tune BFQ schduler to prevent a single low priority process from severely degrading system performance?

I have been trying to use nice/ionice for a while and it turns out that bfq ignores ionice parameters. So how do I prevent a low priority process from consuming all the io bandwith to the detriment of ...
Morrison's user avatar
0 votes
0 answers
251 views

dhcpcd: set priority for link-local connections

I see that there is a metric keyword in the dhcpcd.conf (as explained e.g. https://unix.stackexchange.com/a/413036/47009), which allows me to set the routing priority for a given interface. However, i ...
umläute's user avatar
  • 6,734
0 votes
2 answers
442 views

How to find PID of all processes related to a given process?

How can I go about finding the PID or other information about a process that is doing the work of another process? I'm talking about kworker threads, for example, or any other threads/processes that ...
stochasticlover1's user avatar
0 votes
1 answer
1k views

Changing CPU affinity on they fly has no result

so I am creating my own script to set priority and cpu affinity for important processes on my system, and I tried using taskset command, but it seems to do nothing. Here's sample: import psutil import ...
Dolidod Teethtard's user avatar
0 votes
0 answers
307 views

How can I make my game's FPS be virtually unaffected by a low priority background task?

I'm running a desktop system where I often have long-running compilation tasks in the background. I'd like to play CPU-limited games while they're running without a significant drop in FPS (the game ...
Atemu's user avatar
  • 886
3 votes
0 answers
348 views

How do I flag a process to avoid hyperthreading (SMT)?

Suppose I have an 18 core CPU with SMT enabled, and there are 18 long runnning processes, all using ~100% of a thread. If I start a 19th process, the kernel will schedule it to run on one of the cores,...
uLoop's user avatar
  • 141
2 votes
2 answers
3k views

nftables table and chain priority

I have a problem with my nftables setup. I have two tables, each one has a chain with the same hook but a different name and priority. The tables are in different files which are loaded by an include ...
smhrambo's user avatar
1 vote
0 answers
264 views

does pthread_setschedparam can change the priority on the fly once the thread is running? how can I change the thread priority for a running thread

I want to change a thread priority and I have found many examples using pthread_setschedparam, but I need to confirm if the priority can be changed on the fly if the thread is already running. In the ...
alejandro mendoza's user avatar
1 vote
0 answers
413 views

Netplan: give IPv6 priority over IPv4

On a dual-stack workstation (single interface, Ubuntu 18.04), I'd like IPv6 to be chosen first, before IPv4. I guess that means essentially to have domains being resolved first by DNS6, and then by ...
Déjà vu's user avatar
  • 656

15 30 50 per page
1
2 3 4 5
7