TTY-based group scheduling
Posted Nov 18, 2010 21:09 UTC (Thu) by jzbiciak
(✭ supporter ✭
In reply to: TTY-based group scheduling
Parent article: TTY-based group scheduling
Yeah, I'm skeptical that assigning groups by TTY is the way to go for the average user. For folks like me with 50-bazillion terminal windows open trying to multitask while running lots of compute? Yeah, sure. For someone who has never opened a terminal window? I can't see how it could possibly help.
For giggles, I just logged into my wife's computer remotely over ssh. Out of ~167 processes, only 10 had controlling terminals. 6 were idle gettys on tty1-6, 1 was Xorg on tty7, and the other 3 were processes associated with my ssh session. What process group(s) would all the other 150+ tasks be assigned to? Or all they all effectively in their own per-process groups by default? How would this patch benefit users like my wife, who open few if any interactive sessions?
It also breaks if you're the type that launches a bunch of GUI apps in the background from the same shell window. They might all inherit the same TTY but never use it. Now they'd get lumped in the same group.
to post comments)