Questions tagged [system-performance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
14
votes
0answers
275 views

Why is MemoryInUse[] Very Different from the Actual Amount of Memory Being Used?

I call the MemoryInUse[] function, and it outputs about 256 Megabytes. MemoryInUse[] (*255979528*) However, my activity ...
0
votes
1answer
77 views

Best laptop specs for a better and faster numerical simulations [closed]

Hope all is well! I am planning to buy a laptop (Windows) and looking for your help to decide the specs that we need to speed up the numerical simulations using Mathematica. The Mathemtica code I used ...
4
votes
0answers
29 views

Why is listing files on a network share so slow? / How to speed it up?

I'm using I need to load data in some files on a windows network share (samba), mounted on OSX. When listing the relevant directory in a shell, the performance is acceptable: ...
0
votes
0answers
88 views

How to speed up Timing[4^(10^10)]

I have an old computer with a quad-core AMD Phenom II processor (3Ghz). When I run Timing[4^(10^10)]the computer takes hours to evaluate the expression. I'm not ...
0
votes
0answers
45 views

Plot3D is not showing the expected plot

I'm trying to Plot3D a complicated function, and was getting an empty plot, nothing. Everything was well written. Then, I went to the definition and copied the ...
1
vote
0answers
90 views

Limit the amount of RAM Mathematica can use and still get sensible results? [closed]

The question is very similar to this one, however the solution proposed there doesn't satisfy me because I don't want Mathematica to abort the evalution, but simply to do it with less RAM. Basically ...
2
votes
0answers
342 views

Any possible explanations for repeated “out-of-the-blue” crashing of Mathematica 12? [closed]

This is a further development in this "saga". After originally asking the question below (which I will delimit with dashes) a number of months ago, I did get a reponse from Wolfram Technical Support:...
2
votes
0answers
95 views

How to efficiently solve a large system of equations

This question is a follow-up of my last question. Summary The user Henrik Schumacher gave an excellent answer about how to store equations efficiently and solve the associated homogeneous system by ...
3
votes
1answer
131 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 ...
0
votes
0answers
145 views

Mathematica suddenly became extremly slow (Windows 10)

I restarted my computer, and Mathematica became eeeextremly slow. It takes like 5mn to make calculations it used to do in 3seconds. I have seen Suddenly mathematica is very slow when screen is ...
5
votes
1answer
671 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 ...
0
votes
0answers
76 views

GUI performance on OS X Mojave

I am running Mathematica 11.3 on OS X Mojave and experiencing extremely slow GUI performance. Scrolling is worse than controlling Mathematica in Linux KDE over teamviewer half around the world away, ...
8
votes
1answer
790 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 ...
42
votes
3answers
22k 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 ...
12
votes
2answers
220 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: ...
3
votes
1answer
483 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
2answers
141 views

Why is TensorExpand so slow for vector operations?

I would like to expand the following tensor expression: ...
1
vote
0answers
25 views

keep variables in the correct position when TensorExpand

I would like to expand a tensor expression of 3-d vectors. However, the code runs really slow, the problem is asked here: Why is TensorExpand so slow for vector operations? However, I found that by ...
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)....
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 ...
31
votes
1answer
615 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 ...
4
votes
1answer
102 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 ...
0
votes
1answer
180 views

How to permanently modify the $Path in Mathematica [duplicate]

I was trying to add permanently a path inside $Path. "/Users/gkdgoutam/Softwares/HEP_Softwares/MT-1.0" Following $Path manual I did the following ...
6
votes
1answer
160 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. ...
2
votes
2answers
279 views

Speed up Probability

I have a set of inequalities: ...
1
vote
0answers
641 views

Does Mathematica Rely More on CPU or GPU

I am surprised no one asked this before. I am getting a new laptop and I will be mainly using Mathematica more than anything else on it. When selecting a laptop, should I put more emphasis on CPU or ...
3
votes
0answers
204 views

When does a good graphics card help in Mathematica

I've got an NVIDIA GTX 960 and 32G RAM on my desktop. I was just wondering if it really does any benifit to the usage of Mathematica compared with some integrated card in high-end intel chips. I ...
9
votes
3answers
3k 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® ...
1
vote
0answers
148 views
3
votes
1answer
50 views

Question on Global System variables

What are the maximum values for $MaxLicenseProcesses and $MaxLicenseSubprocesses? Can they be infinite or are there specific ...
16
votes
1answer
261 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 ...
3
votes
0answers
108 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 ...
6
votes
2answers
871 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 ...
4
votes
1answer
679 views
2
votes
1answer
222 views

How to antialias Plot3D graphics?

How can I turn on antialiasing on 3D graphics from Plot3D[]? 2D graphics are antialiased for me but 3D graphics are very aliased and ugly looking, especially the ...
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: ...
3
votes
0answers
68 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 ...
6
votes
1answer
138 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 ...
7
votes
1answer
321 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 ...
1
vote
0answers
87 views

Front end is very slow to render after alt-tab

I've installed Mathematica 11.1 on my Arch Linux system, but the GUI is very slow to render in after alt-tabbing away (and is just sluggish in general). Here's a gif which shows what I mean. I'd be ...
11
votes
2answers
192 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 ...
7
votes
1answer
103 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,...
29
votes
1answer
715 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 ...
2
votes
2answers
130 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
0answers
207 views

Benchmark player pro vs Mathematica

I have a new Computer (Thinkstation: Intel Xeon E5-2630 v3 (2.4 GHz x 16) and want to compare its Performance against two others (Dell: Xeon X5560 2.9GHz x 8, Tri: i7-4790 3.6Ghz x 8). On first two ...
7
votes
1answer
155 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
0answers
220 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 .....
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[]). ...
0
votes
0answers
42 views

What criteria should I follow to choose a Windows version, to run Mathematica 10.0 or higher?

I must install Mathematica 10.4 on a PC, running Windows, specially intended for this job (basically, no other software will be used there). I'm quite free about choosing the OS (Windows 7, 8, 10, ...
18
votes
4answers
1k views

Speedup matrix number multiplication

Consider this simple matrix number multiplication: ...