Re: How to increase maximum user cpu usage allowed on a multi core system?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/11/2015 11:49 AM, stan wrote:
> On Wed, 11 Mar 2015 11:34:25 +0100
> Heinz Diehl <htd+ml@xxxxxxxxxx> wrote:
>> It's the limiting to one process which causes what you observe. 1
>> process can not get more resources that 100%. The CPU scheduler
>> handles how they are distributed.
> 
> I think this is the key.  What is the point of -j6 or -j8 if the make
> can't spawn additional processes with their own limits, and thus take
> advantage of more resources that are available?  What is it that limits
> a process and its children from using more resources than a single core,
> even though they are available?

We're thinking in terms of one machine with multiple cores here.  What
about an environment with multiple machines (each possibly with multiple
cores).  Now you have *many* more possibilities of where to run compiles
with -j.  Consider (for example) distcc.  It can be configured to run
build components on different machines (configurable per machine as to
how many).  So now, the -j 10 or -j 20 has more possibilities for
distributing the load during the "make".

-- 
Kevin J. Cummings
kjchome@xxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://www.linuxcounter.net/)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux