I also think that the player process will not swap out, but other tasks can and will . See the output of top :
1:00pm up 1:20, 3 users, load average: 0.78, 0.48, 0.58
25 processes: 24 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 24.9% user, 3.1% system, 0.0% nice, 71.8% idle
Mem: 10888K av, 10624K used, 264K free, 1436K shrd, 248K buff
Swap: 16380K av, 1760K used, 14620K free 1768K cached
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
229 root 2 0 8232 8232 988 S 0 37.3 75.6 0:04 player
232 root 5 0 584 520 436 R 0 7.8 4.7 0:00 top
231 root 1 0 8232 8232 988 S 0 2.7 75.6 0:00 player
227 root 0 0 8232 8232 988 S 0 0.5 75.6 0:02 player
1 root 0 0 180 0 0 SW 0 0.0 0.0 0:04 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:06 kflushd
3 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kupdate
4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
5 root 0 0 0 0 0 SW 0 0.0 0.0 0:07 kswapd
112 root 0 0 296 0 0 SW 0 0.0 0.0 0:04 bash
192 root 0 0 328 0 0 SW 0 0.0 0.0 0:00 mc
195 root 0 0 284 0 0 SW 0 0.0 0.0 0:00 bash
213 root 0 0 308 0 0 SW 0 0.0 0.0 0:00 mc
215 root 0 0 284 0 0 SW 0 0.0 0.0 0:00 bash
218 root 0 0 8232 8232 988 S 0 0.0 75.6 0:00 player
219 root 0 0 8232 8232 988 S 0 0.0 75.6 0:00 player
220 root 0 0 8232 8232 988 S 0 0.0 75.6 0:00 player
I also tried using nice to start the player :
1:11pm up 1:32, 3 users, load average: 1.08, 0.81, 0.66
25 processes: 24 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 35.6% user, 2.8% system, 0.0% nice, 61.4% idle
Mem: 10888K av, 10580K used, 308K free, 1332K shrd, 244K buff
Swap: 16380K av, 1812K used, 14568K free 1516K cached
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
275 root -7 -10 8232 8232 988 S < 0 32.4 75.6 0:17 player
278 root 6 0 508 440 344 R 0 2.8 4.0 0:01 top
277 root -10 -10 8232 8232 988 S < 0 2.1 75.6 0:01 player
273 root -10 -10 8232 8232 988 S < 0 0.9 75.6 0:06 player
1 root 0 0 180 0 0 SW 0 0.0 0.0 0:04 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:06 kflushd
3 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kupdate
4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
5 root 0 0 0 0 0 SW 0 0.0 0.0 0:08 kswapd
112 root 0 0 296 0 0 SW 0 0.0 0.0 0:04 bash
192 root 0 0 328 0 0 SW 0 0.0 0.0 0:00 mc
195 root 0 0 284 0 0 SW 0 0.0 0.0 0:00 bash
213 root 0 0 308 0 0 SW 0 0.0 0.0 0:00 mc
215 root 0 0 344 0 0 SW 0 0.0 0.0 0:04 bash
264 root -10 -10 8232 8232 988 S < 0 0.0 75.6 0:00 player
265 root -10 -10 8232 8232 988 S < 0 0.0 75.6 0:00 player
266 root -10 -10 8232 8232 988 S < 0 0.0 75.6 0:00 player
I don't think it will do anything though.
Kim, do you have any more info about how the player executable is linked with the kernel.
I should think it will operate in user and in kernel mode.
Which part is embedded in kernel and which is handled by the kernel?
Frank van Gestel