> No, it is not: you had xterm and it subprocess eating all your CPU and
> nothing happened.

The xterm openssl script does not exemplify the problem since it does not exercise graphics I/O.  The issue is that the Xorg task is being starved when screen application tasks are at the same or higher priority level than the Xorg task.  Try the following:

$ for i in $(seq 50) ; do chromium --new-window https://www.youtube.com/watch?v=10f4899srvc & done

Click the each of the windows to give focus and start the videos. Notice that the screen seems to freeze on common laptops.

Now try again by first setting the priority of the Xorg task to be higher than the screen applications:

# renice -12 -p $(pgrep Xorg)
$ for i in $(seq 50) ; do chromium --new-window https://www.youtube.com/watch?v=10f4899srvc & done

Click the each of the windows to give focus and start the videos. See that now the windowing system is responsive to the user so that the chromium windows can be closed.

Reply via email to