Can I speed up "eigs" by upgrading the RAM of my PC
2 ビュー (過去 30 日間)
古いコメントを表示
Hi, I am now using "eigs" to solve an eigenvalue problem for large complex sparse matrices (approx. 20000*20000):
opts.isreal = 0;
opts.maxit = 100;
Gamma = eigs(A,-B,2,'sm',opts);
Due to the size of the matrix the program is extremely slow, sometimes takes 1.5 hrs for computing the first two smallest eigenvalues. So I plan to speedup the program by upgrading my PC's hardware.
Now I suspect that the main factor which bottlenecks the speed is the size of the memory, because when the program is running, the memory of my PC is often used up (32 GB RAM, 64-bit OS, Intel Xeon CPU E3-1276 v3 @3.6GHz 3.6GHz):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/150390/image.png)
My question is, is the memory size indeed the bottleneck? If yes, How much improvement can the program achieve if I expand the RAM, say, from 32 GB to 64 GB? Is it worth upgrading
Thanks for the suggestions!
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!