bugGNU Octave - Bugs: bug #63939, strange performance of sparse...

 
 

bug #63939: strange performance of sparse matrix operations

Submitter:  Andreas Stahel <andreasstahel>
Submitted:  Fri 17 Mar 2023 03:54:25 PM UTC
 
Category:  Performance Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  None Assigned to:  None
Originator Name:  Andreas Stahel Open/Closed:  * Open
Release:  * 8.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Fri 17 Mar 2023 04:24:03 PM UTC, comment #1: 
Markus Mützel <mmuetzel>
Project Member
Fri 17 Mar 2023 03:54:25 PM UTC, original submission:  

On a tight loop with sparse matrices
(one matrix*vector, one system solve by \, both with the same matrix)
the results depends in a stange way on value OMP_NUM_THREADS=32
Octave with GUI started.

export OMP_NUM_THREADS=32
leads to 25 seconds of wall time

export OMP_NUM_THREADS=16
leads to 5 seconds of wall time

CPU: AMD Ryzen 9 3950X 16-Core Processor,
hyperthreading enabled, i.e. the OS sees 32 cores, 64GB RAM
Xubuntu 22.04

The development version and 8.1.0 lead to the same results

Andreas Stahel <andreasstahel>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #54507:  TestSparse.m added by andreasstahel (485B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by andreasstahel (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 project members can vote.

     

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-03-17 andreasstahel Attached File- Added TestSparse.m, #54507

    Back to the top

    Powered by Savane 3.11