Is High CPU Usage Normal for Mathematica When Evaluating Large Matrices?

  • Context: Mathematica 
  • Thread starter Thread starter ILens
  • Start date Start date
  • Tags Tags
    Mathematica Time
Click For Summary

Discussion Overview

The discussion revolves around the CPU usage of Mathematica when evaluating large matrices within a notebook. Participants explore whether high CPU consumption is typical during such evaluations, particularly when dealing with extensive data sets.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant notes that Mathematica consuming 99% CPU while evaluating a notebook with five matrices of 63,520 entries each may be expected if evaluations are ongoing.
  • Another participant mentions that if evaluations are not being run, high CPU usage should not occur, although significant RAM usage might still be present.
  • A different participant shares a personal experience of similar high CPU usage, suggesting it is likely normal behavior for the software.
  • One participant references a claim from another source about lengthy evaluation times, indicating that waiting for extended periods is not uncommon.
  • Another participant discusses the importance of efficient usage of Mathematica, especially when building longer scripts or processing numerical solutions to PDEs, and mentions using server batch jobs for handling larger computations.

Areas of Agreement / Disagreement

Participants generally agree that high CPU usage can be normal when evaluating large matrices, but there are differing opinions on the circumstances under which this occurs and the implications for RAM usage.

Contextual Notes

Some assumptions about the nature of the evaluations and the specific configurations of participants' systems are not fully detailed, which may affect the interpretation of CPU usage.

Who May Find This Useful

Users of Mathematica, particularly those working with large datasets or complex computations, may find this discussion relevant.

ILens
Messages
12
Reaction score
0
Hello!
I am interested whether it is normal for the program Mathematica to eat 99% from my CPU when evaluating a notebook. Well, it is not just some notebook, but a notebook that contains five matrices, 63 520 entries each.
It would be grate, if somebody has some information on this topic.
 
Physics news on Phys.org
ILens said:
Hello!
I am interested whether it is normal for the program Mathematica to eat 99% from my CPU when evaluating a notebook. Well, it is not just some notebook, but a notebook that contains five matrices, 63 520 entries each.
It would be grate, if somebody has some information on this topic.
If you are running evaluations on these matrices that then doesn't sound too unlikely. If you aren't then it shouldn't eat up any processor power once they have been loaded, but would probably take up a chunk of ram.
 
I had the same thing happen on my computer. It's probably fairly normal.

Alex
 
Thank you!
I spent some time yesterday reading posts and articles about Mathematica, and there was a guy who claimed to had waited for a notebook evaluation about 20 min. :bugeye:
 
... if you for example start building longer scripts in mathematica it's not that uncommon and using Mathematica efficiently becomes important. Personally for example when doing post-processing of PDEs solved numerically we queue the drives as server batch jobs to appropriate hardware since notebooks can't really handle them.
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
46K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 20 ·
Replies
20
Views
5K
  • · Replies 13 ·
Replies
13
Views
6K