Skip to main content

Questions tagged [system-performance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
121 views

Does the kernel attempt to evaluate the output of RandomReal?

I am trying to get my head around the evaluation process. One of the general ideas is that whenever an expression is replaced by another the evaluation restarts in the new expression. I can't imagine ...
Felipe's user avatar
  • 499
2 votes
0 answers
42 views

How can I cap calculation speed?

Sorry if I wasn't able to find an existing answer! I'm trying out Mathematica, and was running through some sample problems at night. My roommate is sleeping, and my computer fan can get decently loud....
L Lord's user avatar
  • 21
1 vote
0 answers
62 views

Complicated expressions involving hypergeometric functions

This is in relation to my last post which was unanswered but I think I may have found somewhat of a workaround. I have the following preliminary definitions ...
QFTheorist's user avatar
3 votes
0 answers
82 views

Speed up scrolling with images in notebook

I like to have images in between code and text cells. Whether they are pasted (in a default Input cell) or generated (in an Output cell), they slow down the front end considerably. When part of an ...
Adam's user avatar
  • 3,956
1 vote
0 answers
213 views

Mathematica does not recognize all CPU kernels/cores [closed]

I am using Ubuntu 22 and Mathematica 13. According to the description of my laptop I should have four CPU cores, as seen in the following screenshot: However, Mathematica only seems to recognize two ...
Philipp Strasberg's user avatar
1 vote
1 answer
60 views

Creating a medium size graph with EdgeWeight is super slow

I have discovered that creating medium-size (10k vertices, 40k edges) edge-weighted graphs takes impossibly long. My motivation is solving AdventOfCode 2021 day 15, which can be formulated as a ...
Victor K.'s user avatar
  • 5,191
1 vote
2 answers
136 views

How to get all necklaces without the full permutations' set?

There are previous posts, such as Delete duplicates from list of lists as if on a necklace, that give a way to find all necklaces from a set of lists. The methods presented there work well for a small ...
Kostas's user avatar
  • 65
3 votes
3 answers
86 views

How to control the Image Assistant Toolbar?

(Cross-posted on the Wolfram Community.) When we select an Image in the FrontEnd, the Image Assistant Toolbar appears attached under it: How can we temporarily ...
Alexey Popkov's user avatar
3 votes
0 answers
236 views

Reduce Mathematica's disk usage

Having had Mathematica installed for a number of years and having upgraded regularly, I find that the disk space used by .Mathematica has grown to almost 7 GB. ...
mikado's user avatar
  • 16.8k
4 votes
0 answers
129 views

Saving with many cells freezes in V13.1 and freezing time depends on the location of file

Update Ok, I got it with reproducible example. It turns out size is not the issue, number of cells is. First, let us programmatically generates a lot cells according to this post. Basically, 3000 ...
matheorem's user avatar
  • 17.2k
1 vote
0 answers
118 views

High performance fullscreen visualization of image sequence

What is the fastest way you can come up with to display an image sequence in fullscreen where each image in the sequence must be shown? Here is my attempt. Let's create a 1920x1080 image as this is a ...
Math Gaudium's user avatar
1 vote
0 answers
111 views

Why Mathematica don't set \$RecursionLimit and \$IterationLimit very big by default? [closed]

For my current program in Mathematica, sometimes I will encounter an error regarding \$IterationLimit and \$RecursionLimit. So I always set these two numbers to very large at the starting of every ...
Canonical's user avatar
17 votes
26 answers
2k views

Benchmarking Mathematica 13 across machines

Many people consider the performance of MMA when choosing their computers. I feel we need some up-to-date benchmark results across hardware and systems for the major version 13, which will help a lot ...
9 votes
1 answer
365 views

What are the key reasons for the performance improvements in 12.3?

The built in benchmark test on my stationary workstation shows an improvement from 2.82 to 5.99, all other hardware and operating systems settings the same. This looks very good. My question is: What ...
FredrikD's user avatar
  • 1,868
30 votes
34 answers
8k views

Benchmarking with Mathematica v.12 for up to date comparison across different machines

I am planning to purchase a new computer especially to use for Mathematica programming purposes. Currently, I have MMA v.11. Could someone with Mathematica v.12 run the following benchmarking and ...
11 votes
1 answer
1k views

The performance of AceFEM in Intel Processor VS. AMD Processor

I am going to buy a new powerful desktop that I will use to run finite element simulations using AceFEM. I found out that the new AMD Ryzen 9 3950X obtained more points in the CPU Passmark benchmark ...
KratosMath's user avatar
  • 1,287
0 votes
1 answer
1k 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 ...
Mutaz 's user avatar
  • 323
14 votes
0 answers
382 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 ...
Just Some Old Man's user avatar
4 votes
0 answers
216 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: ...
Shwouchk's user avatar
  • 507
0 votes
0 answers
101 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 ...
bford16's user avatar
  • 101
1 vote
0 answers
493 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 ...
AnOrAn's user avatar
  • 165
2 votes
0 answers
307 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 ...
apt45's user avatar
  • 1,658
4 votes
1 answer
781 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 ...
apt45's user avatar
  • 1,658
0 votes
0 answers
611 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 ...
StarBucK's user avatar
  • 2,164
2 votes
0 answers
636 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:...
Paul B. Slater's user avatar
7 votes
1 answer
2k 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 ...
Kagaratsch's user avatar
0 votes
0 answers
101 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, ...
atapaka's user avatar
  • 3,962
8 votes
1 answer
1k 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 ...
Ram Problems's user avatar
13 votes
2 answers
327 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: ...
halirutan's user avatar
  • 113k
1 vote
0 answers
44 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 ...
ZHANG Juenjie 's user avatar
3 votes
2 answers
235 views

Why is TensorExpand so slow for vector operations?

I would like to expand the following tensor expression: ...
ZHANG Juenjie 's user avatar
2 votes
1 answer
75 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)....
Wiliam's user avatar
  • 3,016
5 votes
1 answer
248 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 ...
Jojo's user avatar
  • 1,278
0 votes
1 answer
571 views

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

I was trying to add permanently a path inside $Path. "/Users/Softwares/HEP_Softwares/MT-1.0" Following $Path manual I did the following ...
BabaYaga's user avatar
  • 1,888
6 votes
1 answer
196 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. ...
Hugh's user avatar
  • 16.5k
2 votes
2 answers
300 views

Speed up Probability

I have a set of inequalities: ...
Rby's user avatar
  • 159
2 votes
0 answers
1k 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 ...
Y2H's user avatar
  • 165
3 votes
0 answers
402 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 ...
xiaohuamao's user avatar
  • 4,728
1 vote
0 answers
198 views

How do I interpret these Benchmark results? [closed]

How can I interpret this result?
WYLA18's user avatar
  • 11
3 votes
1 answer
71 views

Question on Global System variables

What are the maximum values for $MaxLicenseProcesses and $MaxLicenseSubprocesses? Can they be infinite or are there specific ...
MathGuru91's user avatar
3 votes
0 answers
120 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 ...
dibbidabbi's user avatar
10 votes
3 answers
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® ...
mrz's user avatar
  • 11.7k
6 votes
2 answers
1k 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 ...
user43830's user avatar
  • 101
4 votes
1 answer
1k views

Settings to improve graphics rendering on Mathematica 11.1

On my machine ...
QuantumDot's user avatar
  • 19.7k
3 votes
0 answers
72 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 ...
Yaroslav Bulatov's user avatar
6 votes
1 answer
206 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 ...
YungHummmma's user avatar
  • 3,082
7 votes
1 answer
389 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 ...
Nasser's user avatar
  • 145k
1 vote
0 answers
118 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 ...
Rose Kunkel's user avatar
34 votes
1 answer
771 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 ...
Szabolcs's user avatar
  • 235k
3 votes
1 answer
765 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 ...
atapaka's user avatar
  • 3,962