Skip to main content

All Questions

Tagged with
0 votes
0 answers
51 views

Running ML inference in CPU with real time priority takes longer than default priority

I was wondering if setting up realtime priority would help whisper.cpp to run faster, but not only it doesn't run any faster, it runs substantially slower. I'm running it using sudo chrt -r 99 ... ...
lilezek's user avatar
  • 101
0 votes
1 answer
2k views

Prioritize UDP over FTP, SCP, etc. in Linux

I have a setup wherein one "master" Linux system communicates with 3 "slave" systems also running Linux on a dedicated Ethernet interface(just the master & the 3 slaves). The slaves send data to ...
John Smith's user avatar
2 votes
2 answers
628 views

On a GPU in Linux, how can a process be killed when another process is launched, and then restarted when the other process completes?

I have a laptop that is normally running GPU cryptocurrency mining. I want the laptop to kill this cryptocurrency mining when any intensive deep learning process is launched. So, I'm not trying to ...
BlandCorporation's user avatar
0 votes
0 answers
237 views

Changing boot priority - Ubuntu fresh install from windows 10 -

On my old laptop, a Samsung NP915S3G-K03UK [1,2], I was changing the OS from Windows 10 to Ubuntu 16.04.1 LTS. What I have done Booted the software launcher from a USB Installed and restarted the ...
J.JOSEPH's user avatar
0 votes
1 answer
216 views

Extra low priority processes in linux?

On Linux processes have "nice" values ranging from -20 to 19. I wish I could assign even lower priority like 100 so that "background work" will yield as much as possible to other process but still ...
h2kyeong's user avatar
  • 103
0 votes
2 answers
1k views

Why I can decrease the process's priority by using nice() function with a typical user permission(except ROOT) in linux?

As I understand every user in linux can change the every process's priority by using nice and renice commands. Also I know that the all users just can increase the priority of processes and the only ...
user avatar
6 votes
2 answers
11k views

Under linux, how do I find out if some specific thread is run with real-time priority?

I have a process (jackd) that runs several threads. One of the threads it runs should be in realtime, the others run on normal priorities. I'd like to check if it actually runs on realtime. What ...
Turion's user avatar
  • 193
1 vote
1 answer
1k views

renice-ing Xorg for slow computers; will I expect an increase in responsiveness?

I love my netbook, but unfortunately it can struggle to perform under a heavy load. Changing windows, moving the mouse etc can have considerable lag. If I set the nice value on Xorg to default to ...
eltommo's user avatar
  • 310
1 vote
1 answer
990 views

What is the logic behind Linux nice values?

Wouldn't it be nice if nice values in Linux were switched: -20 = low priority +20 = high priority $ renice -p +5 # would get more CPU time and $ renice -p -5 # less Why was it selected to be ...
int_ua's user avatar
  • 322
24 votes
1 answer
13k views

How can I prioritise network bandwidth on a per application basis?

Is there a way in Linux to give a specific application more/less priority for network bandwidth? Something like how nice does for CPU priority. Context: I'm currently on a very low bandwidth ...
mtvec's user avatar
  • 403
2 votes
1 answer
8k views

Unix ps -l priority

Why does unix ps -l whows one number in column "PRI" but in same time ps -o pri shows another number? P.S. cpu and nice are zero for those processes
Grook's user avatar
  • 137
2 votes
0 answers
306 views

How to do a real-time task with a high-load background task in Linux?

I've started recording of sound (minor CPU, memory and IO load) as schedtool -R -p 2 -e arecord -f cd > qqq5.wav And perform large compilation (high CPU load + high memory load + high IO load) as ...
Vi.'s user avatar
  • 17.3k
2 votes
1 answer
2k views

linux swap disk priority

Let's say you have two swap disks, set up like this: swap1: priority = -1 swap2: priority = -2 Is this going to be any different from the following setup? swap1: priority = 47 swap2: priority = 10
tony_sid's user avatar
  • 14.5k
16 votes
4 answers
26k views

How permanently change Linux swap disk priority

I’m using two swap disks. Changing the order they are in in /etc/fstab and using pri in fstab doesn’t seem to have any effect. This is what it looks like in the /etc/fstab: #swap on other disk UUID=...
tony_sid's user avatar
  • 14.5k
1 vote
5 answers
4k views

What is the meaning of pri=42

When mounting a swap partition on Linux, what does the mount option pri=42 mean? fstab: /dev/hda1 swap swap pri=42 0 0
pypmannetjies's user avatar