0

I have Ubuntu 14.04 LTS x64 running on my PC: AMD Phenom 9650, 4GB DDR2 RAM, 250 GB HDD.

When I start 4 instances of a program that requires full CPU power, the whole Ubuntu is hardly usable any more.

I tried assigning lower priorities to the processes, by using Ubuntu's pre-installed system monitor - does not help, still Ubuntu reacts to mouse- or keyboard input like chewing gum.

What can help to use 100% CPU power and keep the system working 'smoothly'?

1 Answers1

0

You should invoke your CPU hogs with the nice command. man nice says:

NAME
       nice - invoke a utility with an altered nice value

SYNOPSIS
       nice [-n increment] utility [argument...]

DESCRIPTION
       The nice utility shall invoke a utility, requesting that it be run with
       a  different  nice  value  (see  the   Base   Definitions   volume   of
       IEEE Std 1003.1-2001,  Section  3.239, Nice Value). 

This is the POSIX way to adjust CPU priorities. Now, you have to worry about memory contention, swapping, etc.

waltinator
  • 37,856