renice

  1. B

    Launch user process with higher priority?

    Is there a way to launch a user process with higher priority? nice won't work as a normal user, and sudo nice launches as root. I can get what I want using renice as follows: xterm -name foo & sudo renice -n -10 `ps -o pid,args | grep foo | grep -v grep | awk '{ print $1 }'` but I'm...
  2. T

    C++ Correct way to set thread priority and scheduling (pthread_setschedparam)?

    What I think I understand (please point out if any of this is wrong): FreeBSD has 5 priority groups (but only 3 for user processes): =https://papers.freebsd.org/2020/BSDcan/mckusick-Scheduling_in_the_FreeBSD_Kernel.files/mckusick-Scheduling_in_the_FreeBSD_Kernel.pdf "realtime" takes precedence...
  3. GrandAdmiralThrawn

    Question about the renice command and threads

    I have a quick question about the use of the renice command on FreeBSD when working with multi-threaded applications. I've looked through the man pages and the web, but couldn't really find an answer anywhere. On Linux, renicing a process will not automatically renice all threads spawned by...
Back
Top