ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 25 Mar 2021 09:03:07 +0100More system resources for SageMathhttps://ask.sagemath.org/question/56372/more-system-resources-for-sagemath/I am using SageMath under Windows 10 with the jupyter notebook in Firefox. I have installed SageMath using the Windows installer binaries.
I wonder if there are ways to improve the performance of SageMath. I mean, using more CPU and/or RAM to conclude the computations faster.Thu, 25 Mar 2021 08:14:33 +0100https://ask.sagemath.org/question/56372/more-system-resources-for-sagemath/Answer by tmonteil for <p>I am using SageMath under Windows 10 with the jupyter notebook in Firefox. I have installed SageMath using the Windows installer binaries.</p>
<p>I wonder if there are ways to improve the performance of SageMath. I mean, using more CPU and/or RAM to conclude the computations faster.</p>
https://ask.sagemath.org/question/56372/more-system-resources-for-sagemath/?answer=56373#post-id-56373I have never used cygwin, hence i am not sure if the use of cygwin restricts some parallel capapilities of Sage (i guess not).
In general, it depends on the task you are asking to Sagemath. Some of them that rely on external libraries might be run in parallel, some of them will only use a single processor. In the later case, if you are running lot of independent tasks in a loop, you can parallelize that loop, in particular, there is a handy `@parallel` decorator to help in that task, see https://doc.sagemath.org/html/en/reference/parallel/index.html
Thu, 25 Mar 2021 09:03:07 +0100https://ask.sagemath.org/question/56372/more-system-resources-for-sagemath/?answer=56373#post-id-56373