linux - How to befriend real-time processes and OOM killer? -


$ mlockall schedtool -r -p 4 -e ionice -c1 mplayer -really-quiet whatever.ogg $ mempig killed 

mplayer

  • is running realtime scheduling priority
  • is running realtime io priority
  • have it's pages locked in memory

but still "chops" when start oom-killer bait.

what more can done make real-time processes real-time when oom? (expect of "vm.overcommit_memory=2", of course)

this old question, i'm not going go on , on, but, /proc/pid/oom_adj , /proc/pid/oom_score


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -