Questions tagged [system-performance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
66
votes
5answers
10k views

ListPlot: Plotting large data fast

Mathematica produces fantastic-looking graphics, but it can be slow on large data sets. Here is an example for a (random) time series: ...
53
votes
2answers
2k views

Is this 30% slowdown in Mathematica 10 due to DownValues lookup time?

Running several numerical self-programmed packages I realized already some time ago that Mathematica 10 needed between 20 and 40% more time. I did already report this of course with a simple example ...
43
votes
9answers
3k views

What would you ask Mathematica to do on a big system?

Our hardware supplier has given us the opportunity to test Mathematica on a big Windows system. The specs will be 1 to 4 TB of working memory and 12 sockets with 18 cores each. I got 1 full week of ...
38
votes
3answers
18k views

Mathematica vs. Python - how does Mathematica compare to Python's scientific computing suite?

Python's family of packages for scientific computing has matured rapidly. I can pretty much replicate all of Mathematica's functionalities, but with production level and open-source code using the ...
32
votes
5answers
6k views

Mathematica 10 'Formatting Notebook Contents'

Mathematica 10 freezes while 'Formatting notebook contents'. This happens already during the startup of Mathematica and it takes a long time for Mathematica to recover. It can also happen when I am ...
31
votes
1answer
602 views

Benchmarking: unexplained switching between high and low performance

tl;dr I am trying to accurately benchmark some vectorized operations, and compare them between systems. But benchmarking is hard to do well, and I am getting inconsistent results: performance is ...
29
votes
1answer
678 views

Why is ListPlot so slow here?

While examining How can I monitor the progress of a Plot? I was surprised to discover that in some cases ListPlot in version 10.0 and 10.1 is orders of magnitude ...
26
votes
2answers
529 views

Performance regression for Fold?

I noticed an over 10x performance drop on Mathematica v9.0.1 (as Oleksandr R. commented, also v8) compared with v7.01 for this code: ...
21
votes
1answer
1k views

Mathematica 10.1.0.0 (OS X) high CPU usage even for empty notebook

Bug fixed in 10.1.0 (see answer for details) Since update to 10.1.0.0 Mathematica has a high CPU usage even when no evaluation is running (even for empty notebook opened). I am running OS X Yosemite ...
18
votes
4answers
1k views

Speedup matrix number multiplication

Consider this simple matrix number multiplication: ...
16
votes
1answer
251 views

Major slowdown when using a ColorFunction with more than one named scheme

Bug introduced in V10.1 or earlier and persists through 11.2 Earlier Kuba noted a major slowdown with code Simon Woods posted. Here is a simplified example. First a color function using two ...
13
votes
0answers
271 views

Slow JoinAcross performance

Bug introduced in 10.3 I am using JoinAcross to combine two datasets, where the key is an Integer. ...
12
votes
2answers
198 views

Listable built-in functions - Why are they so fast on numerical vectors?

Consider the following small example, where I calculate Exp on a large vector by employing the listability which many mathematical built-in functions have: ...
11
votes
2answers
183 views

Using Rules inside SequenceCases degrades Performance

Consider the following: SequenceCases[Range[10^4], {a_?PrimeQ, b_, c_?PrimeQ}]; // AbsoluteTiming {0.0058148, Null} If we now try to use a rule to transform ...
10
votes
2answers
159 views

Probability: MultivariateHypergeometricDistribution broken with more than five categories?

2016-04-09: This bug is indeed fixed (thank you, Stefan R.!) in 10.4. It may have been fixed in 10.3 or 10.3.1, but I haven't tried these versions. ...
9
votes
3answers
2k views

Which processor and graphics card to use for my Mathematica license

Does my Mathematica license support processors with 8 cores? I have to choose between one of the following processors: Intel® Xeon® E5-1630 v4 Prozessor (4 cores, 3,7 GHz, 4,0 GHz Turbo) Intel® ...
9
votes
2answers
296 views

Export[] performance

Consider this sequence of commands: ...
9
votes
0answers
208 views

What are the time and space complexities of Classify/Predict?

Does anyone have knowledge of the O(n) time & space complexities for various model types supported by Classify[] and ...
8
votes
1answer
6k views

MKL on Intel vs AMD

I am running some linear algebra functions in Mathematica on different CPUs. I've noticed a massive performance difference between Intel and AMD processors. For a certain script I wrote that uses <...
8
votes
1answer
648 views

3.4 GHz Ryzen 5 slower to diagonalise large matrix than Intel i5-6300U 2.4 GHz

Sorry that this is quite a specific question but I need to diagonalise large matrices for the problem I'm trying to solve and can't for the life of me work out what's going on: I was expecting that ...
7
votes
1answer
148 views

IntegerReverse much slower than simple alternative

Answered in comments. I find the built-in function IntegerReverse[n] is roughly an order of magnitude slower than the simple alternative ...
7
votes
1answer
1k views

Mathematica 10.2 is slow to NIntegrate highly oscillatory integrals

I noticed that Mathematica V10.2 is taking much longer to run my code when compared with V9. One function that seems affected is NIntegrate. For example, for a ...
7
votes
1answer
314 views

Extreme slow down of Manipulate in version 11.1.1 when adding Frame->True

Assigned CASE:3886109 I noticed something very strange in 11.1.1 for Microsoft Windows (64-bit) (April 18, 2017) When I make simple ...
7
votes
1answer
101 views

Front-End hangs up for a while when I type quotation mark " in front of an image

A support case with the identification [CASE:3747200] was created Thank you for taking the time to send in this report. I understand that when you put a quotation mark in front of an inline image,...
6
votes
2answers
816 views

How to speed up nested loop? I have used Do loop and Table as well

I am trying to calculate mean for example if list is {1,2,3,4,5} then i have to calculate mean of ...
6
votes
1answer
367 views

Is there a way to monitor the memory used by mathematica as a dynamic expression?

I always use the terminal's htop for this, but wouldn't it be nice to visualize per kernel the memory used in a dynamic expression?
6
votes
1answer
155 views

Code in separate cells causes a kernel crash [duplicate]

Bug introduced in 11.2 If I put the following code in separate cells the Kernel crashes (dies). If I put them together in the same cell it works fine. Version 11.3.0 for Windows. ...
6
votes
1answer
130 views

Should I rasterize plots to keep my notebook file small?

I often use Mathematica notebooks as an informal "lab notebook", plotting recent results in various tabs and such. I've noticed that these files can tend to get really large; for example, my Windows ...
6
votes
0answers
202 views

Mathematica constant CPU usage affecting battery life

I noticed that both the Mathematica front end and kernel are using the CPU constantly. In the end this hurts battery life and is particularly inconvenient when I forget to bring the charger to work .....
5
votes
2answers
216 views

Raspberry Pi Temperature and Performance

I just got a raspberry pi 3 and want to get a rough idea of the max temp I might reach while doing intensive calculations. What would you suggest I calculate in mathematica to get the pi hot? ...
5
votes
1answer
589 views

Mathematica 10.X benchmark report for high-end surface pro 4/surface book?

Recently, I am seriously considering purchasing the high-end surface device (with intel i7 and maximal RAM). Mathematica will be one of the main applications. Since it is not a full or traditional ...
4
votes
1answer
595 views

Limit the amount of RAM Mathematica may access?

Trying to solve a differential equation numerically, I noticed that Mathematica used up all RAM to the extent that my operating system (Windows 10) lost responsiveness and hung up. As a result I had ...
4
votes
1answer
90 views

Hanging in the front end

I'm writing some code and it's getting quite long, and I seem to get a lot of hanging in the front end when I'm trying to move the cursor to certain places with the mouse. I'm starting to think that ...
4
votes
1answer
618 views

Settings to improve graphics rendering on Mathematica 11.1

On my machine ...
3
votes
2answers
303 views

Charts performance

Evaluating the following lines in my computer takes near six seconds in Mathematica 10 and near 5 in Mathematica 9. I consider this very slow as only quantiles are being calculated from data to ...
3
votes
1answer
445 views

Slow front end Mathematica 11.0.1 on linux

Is anyone also experiencing rather slow front end behaviour in Mathematica 11.0.1 on Linux (Deb 8.7 + kde)? I am experiencing quite slower saving times of notebooks themselves and slower response ...
3
votes
1answer
49 views

Question on Global System variables

What are the maximum values for $MaxLicenseProcesses and $MaxLicenseSubprocesses? Can they be infinite or are there specific ...
3
votes
1answer
186 views

May I restrict caching to disk when memory runs low? [duplicate]

An hour ago, I had to hard reset my laptop again because Mathematica froze the system again. When import a large file or make a mistake that produces huge arrays with complicated entries etc., I often ...
3
votes
1answer
232 views

Benchmarking in V10.1.0 not showing the correct verision of Mathematica?

Bug introduced in 10.1 and fixed in 10.3 This was done in V10.1.0, but it's showing that as if it was done in V10.0.0? Computer Specs:(for those who are interested) ...
3
votes
2answers
133 views

Why is TensorExpand so slow for vector operations?

I would like to expand the following tensor expression: ...
3
votes
0answers
107 views

Why a simple Plot on Raspberry Pi 3 with Mathematica takes 20 seconds?

I'm with ssh -X raspberrypi logged in. So $DISPLAY points to a X-Server. I use a very simple script file ...
3
votes
0answers
65 views

More efficient ListLinePlots? [duplicate]

I'm generating grids of ListLinePlot objects with hundred thousands of points each, and my notebook gets very slow very fast. IE, I have a hard time scrolling once ...
3
votes
0answers
134 views

High CPU load for dynamic classification

I encountered some issues with extremely high CPU load when I tried to classify live images (using Dynamic and CurrentImage[]). ...
3
votes
0answers
80 views

What is the good source to study advanced custom coding in Mathematica [duplicate]

My question is, probably, too general ... I deal a lot with complicated symbolic evaluations, integrations, plotting. I have troubles with optimizing my codes. They come out way too slow. Google and ...
3
votes
0answers
79 views

Possible reduced GUI performance in 10.4

I have observed significantly reduced performance in GUI in Mathematica v10.4. This is especially visible in autocomplete feature delays. This is very evident when I turn some power saving features ...
3
votes
0answers
80 views

Where can I find detailed information about the SystemOptions?

I'm looking to optimize my Mathematica script, and I'm willing to go spelunking with low-level system options. The problem is that I've been looking in the Mathematica documentation, but there doesn'...
2
votes
2answers
127 views

Why is the execution time getting smaller and smaller every time?

Why is the execution time to compute the value of sum getting smaller and smaller every time in the following code? And how to get consistency? Thank you very much for your help. ...
2
votes
1answer
99 views

Long Execution Time of Reduce

I have a set of linear homogeneous equations with 8580 variables. I want to estimate the time Mathematica takes to solve the system, by solving smaller sets of ...
2
votes
1answer
59 views

Optimisation of a loop

I've opened a question here, which was answered. The code works totally fine for a small set of data. However, for a large set and over many iterations, it will take a long time (in order of 24 hours)....
2
votes
2answers
274 views

Speed up Probability

I have a set of inequalities: ...