Live data from Hacker News

RAM now represents 35 percent of bill of materials for HP PCs

arstechnica.com

271–280 of 355 posts

Re: RAM now represents 35 percent of bill of materials for HP PCs

#271
post #161
post #93

Earlier quoted context omitted.

This is coming from an insane demand spike, not some nefarious plot by the RAM manufacturers.

> This is coming from an insane demand spike, not some nefarious plot by the RAM manufacturers. Something something, 2000 dot-com bubble, something

These somethings are doing so much work I can't tell if you're agreeing with them or not tbh.

Re: RAM now represents 35 percent of bill of materials for HP PCs

#272

Earlier quoted context omitted.

RAM production is highly inelastic and controlled by an oligopoly. They have little desire to increase production considering the lead time and the risk that the AI demand might be transient. They actively prefer keeping confortable margins than competing between each other. They have already been condemned for active collusion in the past. New actors from China could shake things up a bit but the geopolitical situat…

They are increasing production as fast as they can (which is not fast at all, it's more like slowly steering a huge ship towards the correct direction) because current prices are too high even when accounting for the historical oligopoly dynamics. They can easily increase their collective profits by making more.

As far as I know, they are merely shifting capacities from the customer market towards the data center market with minimal retooling. I am unaware of any of the three actively investing in new capacity. Some modest increase are planned but nowhere near what you would expect given current demand.

Re: RAM now represents 35 percent of bill of materials for HP PCs

#273
post #199

Earlier quoted context omitted.

Out of curiosity, why has there not been a slight paradigm shift in modern system programming languages to expose more control over the caches?

Same as the failure of Itanium VLIW instructions: you don't actually want to force the decision of what is in the cache back to compile time, when the relevant information is better available at runtime. Also, additional information on instructions costs instruction bandwidth and I-cache.

thats a strange statement. its certainly not black and white, but the compiler has explicit lifetime information, while the cache infrastructure is using heuristics. I worked on a project which supported region tags in the cache for compiler-directed allocation and it showed some decent gains (in simulation).

I guess this is one place where it seems possible to allow for compiler annotations without disabling the default heuristics so you could maybe get the best of both.

Re: RAM now represents 35 percent of bill of materials for HP PCs

#274

Earlier quoted context omitted.

> you don't actually want to force the decision of what is in the cache back to compile time, when the relevant information is better available at runtime That is very context-dependent. In high-performance code having explicit control over caches can be very beneficial. CUDA and similar give you that ability and it is used extensively. Now, for general "I wrote some code and want the hardware to run it fast with lit…

x86 provides this control with non-temporal load/store instructions.

that solves the pollution problem, but it doesn't pin cache lines. it also doesn't cover the case that ppc does where you want to assert a line is valid without actually fetching.

Re: RAM now represents 35 percent of bill of materials for HP PCs

#275

I had my formative years in programming when memory usage was something you still worried about as a programmer. And then memory expanded so much that all kinds of “optimal” patterns for programming just become nearly irrelevant. Will we start to actually consider this in software solutions again as a result?

I doubt it. I predict in a few years, maybe sooner, one/some of the AI companies buying up the supply will either have achieved their goal or collapsed, and then the market will be flooded with a glut of memory driving prices low again. Or, conversely, the demand stays high for a sustained period of time and the suppliers just increase supply. There's no hard bill of materials/technical reasons for the memory prices…

And in the meantime, major buyers (government, big orgs) adjust by extending the planned lifespan of their computers, and upping the IT wage budget a bit to support that. That adjustment probably won't go away after supply returns.

Re: RAM now represents 35 percent of bill of materials for HP PCs

#276
post #256

Earlier quoted context omitted.

Isn't that literally every modern OS, always, unless you tell it to act differently?

Yes - I didn't mean to imply it was only one of the OSes. Further up the comments people were talking about how memory efficiency is now more important but I was trying to make the point that with compression and virtual memory it still doesn't matter all that much even if memory is double the price.

If running low on memory seems to matter less now than it did a couple of decades ago, I'd rather say that's because fast SSDs make swapping a lot faster. Even though virtual memory and swapping were available even on PCs since Windows 3.x or so, running out of memory could still make multitasking slow as molasses due to thrashing and the lack of memory for disk cache. The performance hit from swapping can be a lot less noticeable now.

Of course compression being now computationally cheap also helps.

Re: RAM now represents 35 percent of bill of materials for HP PCs

#277
post #268

Earlier quoted context omitted.

I've actively started to use outlook and teams through chrome to free up some of my ram, easily saves 3-4gb. It's gotten ridiculous how much ram basic tools are using, leaving nothing for doing actually real work

Every app ships with its own isolated web browser now. That idea needs to die. Back to native apps without bloated toolkits!

Or at least improving the shared browser ui / chromeless experience for "app" installs. I think that Tauri is pretty reasonable as well, weak link being Linux currently.

Re: RAM now represents 35 percent of bill of materials for HP PCs

#278
post #200

Earlier quoted context omitted.

Agree that the whiteboard thing is often not applicable but it's so nice when a developer has efficient code if only because it indicates that they know what's going on and also that there are fewer bugs and other bottlenecks in the system.

Those bugs don’t come from using the wrong algorithm, they come from not understanding the business case of what you’re writing. Most performance issues in the real world for most cases don’t have anything to do with the code. It’s networking, databases, etc. Your login isn’t slow because the developer couldn’t do leetcode

No, it's because 50k reads of settings are happening with a SQL Table in memory that's queried via SQL statement instead of a key/value hashtable. (real world experience, I think it was close to 28k reads, but the point stands)

Re: RAM now represents 35 percent of bill of materials for HP PCs

#279

I had my formative years in programming when memory usage was something you still worried about as a programmer. And then memory expanded so much that all kinds of “optimal” patterns for programming just become nearly irrelevant. Will we start to actually consider this in software solutions again as a result?

Depends on the machine you’re targeting.

I do embedded Linux and ram usage is a major concern, same for other embedded applications.

I’m partying like it’s the 90s, on a 32-bit processor and a couple hundred MB of ram.

Re: RAM now represents 35 percent of bill of materials for HP PCs

#280

I had my formative years in programming when memory usage was something you still worried about as a programmer. And then memory expanded so much that all kinds of “optimal” patterns for programming just become nearly irrelevant. Will we start to actually consider this in software solutions again as a result?

Android's investing significantly in reducing the memory usage of the next release simply because the BOM cost of RAM for their low-end partners is becoming prohibitive.
Post reply on HN