will increased memory solve buffering issues

조회 수: 2 (최근 30일)
Gavin Seddon
Gavin Seddon 2020년 1월 13일
댓글: Gavin Seddon 2020년 1월 14일
Hello
I have tables with many floating point values and when I try to use cftool my MAC starts buffering. It is a quad core i7 with 16GB ram. Which is best increasing the memory or adding more cores?
Indeed would more memory solve the problem?
thank you
GS.
  댓글 수: 1
Gavin Seddon
Gavin Seddon 2020년 1월 13일
I was thinking of using 96gb ram would this be enough for most jobs?
GS.

댓글을 달려면 로그인하십시오.

채택된 답변

Jason Ross
Jason Ross 2020년 1월 13일
  1. Only you can know how much RAM is required for your code. You should be able to get a decent idea of what you might need by looking at how the system resources are used when you are running your code and size appropriately.
  2. I've yet to hear anyone complain about having too much RAM.
  3. When you have the RAM, the next thing you'll want is more cores :)
  4. It's far easier to add RAM than it is to add cores.
To strictly answer your question, when your machine begins using virtual memory/swapping to disk, you are paying a significant performance penalty since disk I/O is orders of magnitude slower than memory access. So if you added cores they would end up waiting on disk I/O and you'd see no improvement.
An automotive analogy would be if a car's tires were incapable of dealing with the engine output and the car was underperforming because of the tires slipping. Adding a more powerful engine isn't going to help things. Adding better tires will, and then you'd want to upgrade the engine ... and the brakes ... and the suspension ... and so on ... until you ran out of money for car upgrades.
  댓글 수: 1
Gavin Seddon
Gavin Seddon 2020년 1월 14일
Hello
thank you this was precisely what I pressumed and you confirmed kindly. It looks like the new mac pro is the answer yet this asks more questions.
GS.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by