Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Does RAM speed matter for programming?
2 points by sharmi on April 9, 2015 | hide | past | favorite | 9 comments
It is a well accepted fact that lots of RAM does improve performance. But does RAM speed matter in computation intensive operations? Is there a difference between 1600MHz RAM and a 2400MHz RAM in performance, everything else being equal? If so, how much?

I have googled around and came across a few links and this excellent review http://www.anandtech.com/show/6372/memory-performance-16gb-ddr31333-to-ddr32400-on-ivy-bridge-igp-with-gskill . But all of these seem to be in the context of gaming? Does it apply to programming too?



I can tell you for Mechanical CAD models, both metrics matter. Same is true for CAM, which can generate absolutely huge data sets.

Additionally, Mechanical CAD (Solid Modeling) isn't multi-threaded in the vast majority of cases right now. There are some niches where it can help, but really we are still identifying how this might work.

For CAD, you want a very fast CPU and fast being single thread performance maximized, and then fast and a lot of RAM.

The order depends. Small, but complicated data sets favor speed over size.

Larger ones demand both.

On the software I work with, that big of a jump in RAM speed, coupled with a good CPU and cache can reach 30 percent faster update / build times. When those are seconds, nobody cares. When they are an hour, yeah. Big deal.

CAD is also compute intensive, meaning it's a great system stress case.


Thanks ddingus!


Gaming is really, really different from programming.

As with most non-gaming activities, your bottleneck would most likely be your storage device. Get a great SSD.

Depending on what you're actually programming, your CPU, GPU, and RAM speed might matter a little. What are you programming?


I will do lots of text parsing. I also will be doing some neural nets. Does RAM speed matter in this context?


For text parsing, it'll depend on your buffer size. If you're able to use a buffer smaller than a few GB, then you'll be fine for RAM. For parsing code or human language (or any file smaller than that), you won't need anything even close to that.

For neural nets, it depends heavily and how the code is optimized and what your inputs are. I know that isn't very helpful.

In general, the people I know who have trouble with high-end, consumer-grade hardware (~$1,000 in parts for a single machine) are usually researchers. Then you're getting to the point where you'd want to look into distributed processing.


Thanks. that clarifies a lot.


Generally, Programming not very resource intensive so it requires very little ram..


I disagree with "generally". It depends on what kind of programming you do.

I'm a web developer, so when I'm programming, I often have a database GUI, full IDE, multiple browsers, multiple Docker containers, and RDBMS running.

That ends up at about 4GB of RAM, depending on what's in my database.


No




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: