public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: poma <pomidorabelisima@gmail.com>
To: Borislav Petkov <bp@suse.de>
Cc: Community support for Fedora users 
	<users@lists.fedoraproject.org>,
	stan <stanl-fedorauser@vfemail.net>,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: How to increase maximum user cpu usage allowed on a multi core system?
Date: Tue, 17 Mar 2015 19:34:08 +0100	[thread overview]
Message-ID: <550873A0.5030009@gmail.com> (raw)
In-Reply-To: <20150309120339.68ea8374@vfemail.net>

On 09.03.2015 20:03, stan wrote:
> I'm running Fedora 21 with a custom compiled kernel,
> 3.19.0-1.20150211.fc21.x86_64.
> 
> I have a multi core system with 6 cores.  All are recognized by the
> kernel.  
> 
> But, when I run a compile job with -j6, in order to allow all six cores
> to be used, it limits the total amount of usage to 100% of a *single*
> core.  So, it might use all six cores, but the sum of the percentages
> on those six cores is always around 100% of one core.  This is from
> htop output.
> 
> On large compilations, like the kernel or firefox, even using 4 cores
> could drastically reduce compile time.
> 
> I've looked at /etc/security/limits.conf, but it doesn't seem to have a
> setting for this.  I've also looked at the /proc system to see if there
> is a kernel variable, though that seems unlikely, with no luck.  Online
> searching found ways to limit the amount that a single job can get, but
> not how to set this for a user.  There must be a configuration variable
> somewhere that is limiting the amount of total cpu a user can use.  But
> I can't find it.
> 
> Can anyone help?
> 


Borislav, can you help explain the man why this is happening with his Piledriver.
http://www.cpu-world.com/CPUs/Bulldozer/AMD-FX-Series%20FX-6300.html


poma



       reply	other threads:[~2015-03-17 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20150309120339.68ea8374@vfemail.net>
2015-03-17 18:34 ` poma [this message]
2015-03-17 18:50   ` How to increase maximum user cpu usage allowed on a multi core system? Borislav Petkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=550873A0.5030009@gmail.com \
    --to=pomidorabelisima@gmail.com \
    --cc=bp@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stanl-fedorauser@vfemail.net \
    --cc=users@lists.fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox