bugGNU Octave - Bugs: bug #59087, make -j4 runs on a single core only

 
 

bug #59087: make -j4 runs on a single core only

Submitter:  Lars Kindermann <larskindermann>
Submitted:  Wed 09 Sep 2020 11:22:27 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 09 Sep 2020 09:24:56 PM UTC, comment #3: 

It was probably a temporary issue in Debian testing. I just did an apt update/upgrade and lots of gcc and related stuff was changed. Now "make -j4" utilizes all cores again. Bug can be closed.

Lars Kindermann <larskindermann>
Wed 09 Sep 2020 02:21:06 PM UTC, comment #2: 

Also, even if it is found to choose one core rather than several cores, that is likely to be an upstream issue rather than an issue with Octave.

If I remember correctly, there are various kernel parameters that tune how the kernel distributes processes over cores and threads.  Sometimes, the parameters are set to maximize cache hits which means jobs should run on the same core.

Rik <rik5>
Group administrator
Wed 09 Sep 2020 01:20:30 PM UTC, comment #1: 

Thank you for your report.  I cannot confirm this on openSUSE 15.2.  There are phases, where nothing can be build in parallel, but most of the time many cores are busy on my system when building Octave.

Can you describe your entered commands in more detail and was it moreover possible to log your stdout and stderr and attach those logs zipped to this report for investigation?

Kai Torben Ohlhus <siko1056>
Group Member
Wed 09 Sep 2020 11:22:27 AM UTC, original submission:  

My build scripts use "make -j4" to build octave. But only one processor is actually used as shown by system monitor. So building is pretty slow. I'm on Debian testing.

Lars Kindermann <larskindermann>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by larskindermann (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-09-09 rik5 StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2020-09-09 siko1056 StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code