I noticed that on my system monitor, one of my processes, titled pulseaudio, had a very high priority, while all of my other running apps had a normal priority. I don't recall ever changing it, so it must have been its default priority, right? Are there any other apps like this?
Technically, yes. In Linux — Ubuntu's kernel — all programs start with a priority or "niceness" value of 0. They may, while executing, request a higher or lower priority by making the system call
nice(int niceness)
fromunistd.h
.Normally, programs the user runs only have the permission to lower their priority to positive
nice
ness. This is useful for non-critical janitorial tasks your computer performs from time to time.However, Ubuntu also uses a framework called AppArmor, which grants specific user programs administrative ("root") level rights. Ubuntu's AppArmor is configured to allow certain important programs to request a high priority (negative
nice
ness), most notably PulseAudio. This prevents breaks in playing audio while your system is under heavy load.In summary, yes all applications start with a normal priority. However, in practice, many applications request a different priority immediately after launching.
And as a little geeky addendum
You can start (or to be technically accurate, fork) your own programs with low/high priority in a commandline like this:
No guarantees they'll keep it, of course.
Usually there's a pretty good reason why some process have an elevated priority – PulseAudio handles audio mixing, high priority reduces audio drop outs.
However PulseAudio is mostly an exception. You need root permissions to boost process' priority, so you probably won't see any other such processes owned by a regular user.
There are many system processes and threads running with maximum priority (you can see them in System Monitor by switching to View > All Processes), but there's no need to be concerned about those.