How to make the Linux system as CPU-bounded rather than I/O-bounded.

I want to run the mplayer with most-highest priority than any other processes, including copying data from/to one-storage device or from/to over network to/from the local storage device.

Normally, when I started the copying action, the video stuck for a moment, and continued to play again. This process repeats itself, till the copying operation get completed.

If copying takes more time, then I do not mind.

Any idea, how can I do that ?

Regards, Satish


ionice lets you specify the IO priority of a process on recent Linux kernels


ionice -c 1 -n 0 mplayer ...
| improve this answer | |
  • I tried this command, but it did not ring the bell. Any other way to do ? – SHW Feb 17 '11 at 11:34
  • you can retrospectively apply io scheduler priorities to a process using ionice by passing and existing PID using the -p option – Flexo Feb 17 '11 at 11:37
  • I tried that too, but it was of no use, as the mplayer get stucks when the I/O operation starts. – SHW Feb 17 '11 at 12:53
  • You can always run the other io processes at low priority too. – Flexo Feb 17 '11 at 14:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.