[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Will using make -j actually use multiple processor cores?
From: |
Brian R Cowan |
Subject: |
Re: Will using make -j actually use multiple processor cores? |
Date: |
Tue, 4 Nov 2014 09:16:16 -0500 |
Process/thread scheduling is left to the OS.
Child-makes and -j can be surprising. -j without a max # is "spawn as many
recipies in parallel as possible." If you use -j4, the child makes only get
the -j and not the number. So, more threads could start than you expect.
=================================================================
Brian Cowan
Advisory Software Engineer
ClearCase Software Advisory Team (SWAT)
Rational Software
IBM Software Group
550 King St
Littleton, MA 01460
Phone: 1.978.899.5436
Web: http://www.ibm.com/software/rational/support/
From: Shriramana Sharma <address@hidden>
To: address@hidden
Date: 11/04/2014 08:50 AM
Subject: Will using make -j actually use multiple processor cores?
Sent by: address@hidden
Hello. I learnt that I can use make -j to have make execute multiple
jobs in parallel. Does this somehow guarantee that my 4 cores of an i5
will be used simultaneously or is that left to the (Linux) kernel?
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
_______________________________________________
Help-make mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-make
