11 ms·
DRAM Prices in ‘Freefall’
- rbanffy 8y agoThese things only happen when I have all my memory sockets full :-(
- popotamonga 8y agoI keep adding RAM and i keep running into 95%+ usage. Main consumer: Chrome, just with a few dozen tabs open. Followed by Android Studio (3GB for a medium project), IntelliJ idea (another 3GB for a smallish project + 15% cpu constantly) If prices keep going down i'll just put 128GB and call it a day. Slack takes more than half a Gig with only 5 teams. It's a chat app, what the F?
- dekhn 8y agoare you complaining about cache data that makes the system run faster? I would expect any system that manages cache data to fill most of your RAM.
- gruez 8y agoMost task/activity monitors don't consider OS cache memory as "used".
- dekhn 8y agoI'm not sure exactly what you are saying, but what I am saying is that Chrome and other applications use either their own, or OS mechanisms, to cache read pages. This is visible on all systems I work with (mac, win, linux), either attributed to the process, or to OS read cache.
- gruez 8y ago>I would expect any system that manages cache data to fill most of your RAM. >I'm not sure exactly what you are saying > This is visible on all systems I work with (mac, win, linux), either attributed to the process, or to OS read cache. My response was directed at your part of the comment: >I would expect any system that manages cache data to fill most of your RAM. All systems do that, but they don't look "used" (eg. on the windows memory graph, the dark region excludes os cached memory). Unless using free[1], no reasonable person would think 99% of their ram's being used. [1] https://www.linuxatemyram.com/ https://www.linuxatemyram.com/
- dekhn 8y agoI use free. Pretty much everybody I know who uses unix knows this. However, more importantly, you can't really show per-process cached ram and sum it up properly (since multiple processes can cache the same disk reads). Not really an issue in Chrome, which manages its own RAM cache (and is the system I was referring to here).
- smacktoward 8y agoIf you have the RAM, wouldn't you rather the software use it? Is there some benefit to having memory sitting around empty and idle? As long as the software doesn't require all that memory, but can work OK with less and then scale up to use more if you've got it, I guess I don't see what the problem is.
- ip26 8y agoDoes it gracefully & rapidly clean house if another app needs some? Does the extra usage benefit you in any way at all, to make up for the disk cache it gets used as otherwise?
- est31 8y ago> Is there some benefit to having memory sitting around empty and idle? Yes, modern operating systems use free RAM as cache for the HDD. If you have an I/O intensive process, having a large amount of RAM is really helpful.
- marcosdumay 8y agoHow often do your computer exclusively runs Chrome? How easily can the OS take the memory back from Chrome to run something else (that one is easy, it can not, except on the last case scenario where it kills process).
- 781 8y ago> How easily can the OS take the memory back from Chrome to run something else (that one is easy, it can not, except on the last case scenario where it kills process). It actually can. It's called swapping. An amazing technology from the 90s.
- Jach 8y agoThat's not what GP meant, the analogous situation is loading GBs of data into a database, resulting in a GBs sized file on disk. If you truncate the data, it's gone, but the database won't actually shrink the file on disk unless you vacuum too. Chrome might not be using all the memory it has claimed, but it's not necessarily releasing all that it can back to the system either.
- sydney6 8y agoUnused memory is wasted memory, they say.
- rat9988 8y agoYeah, software takes more ram, so when your ram is full your computer is slowed (because it probably doesn't need only 100% if your ram), therefore you buy more ram. Now guess what? your ram is not at 100% anymore, your unused memory is wasted anyway, so why not use it? Repeat the cycle.
- 12298765 8y agoNot exactly -- more like no matter how much RAM you have, it makes sense for your software to use it all rather than disk. It means that however much you have, your system should use as much of it as possible. Otherwise it's just sitting there doing nothing. Contrary to popular belief, the more RAM you're using, the faster your system will be (assuming it's using the RAM efficiently)
- imtringued 8y ago>Contrary to popular belief, the more RAM you're using, the faster your system will be (assuming it's using the RAM efficiently) Is this a joke? If I have 16GB of RAM but my programs use 18GB then my system will suddenly become faster?
- ungzd 8y agoFree memory is always used by disk cache.
- effie 8y agoOn Linux, not all of it, in my experience. If you have a lot of memory, some of it may be completely free.
- bradknowles 8y ago
- 1996 8y agoYou named your own problem: you are using google technologies (chrome, android, java) Use more sensible tools and you will not waste as much ram (firefox, visual studio code, .net) Edit: Numberwang, apparently your account is dead so I can't reply anywhere but here. Edge is great. I can't complain about its memory usage. Unfortunately with Microsoft moving to chrome engine, I am taking the precautionary measure of moving to Firefox until they have shown they can make Chrome suck less. Firefox is not as good as Edge for my needs, but quite close.
- deleted 8y ago[deleted]
- Numberwang 8y agoFireFox is not an option. It is an order of magniturd slower than Chrome. Does anyone know anything about the memory usage of Edge?
- shittyadmin 8y agoYou might want to try updating Firefox if you think it's an order of magnitude slower.
- copperx 8y agoIt's 2019 now. Try Firefox again. For me it feels faster than Chrome. And it has a reader view. That's on Linux and on Windows. On Mac, I admit, Chrome feels faster. But you have Safari.
- pmoriarty 8y agoFirefox's speed depends a lot on which extensions you use. I use a bunch, like uBlock Origin, uMatrix, Tridactyl, Tree Style Tab, and Stylus, and Firefox slows down to a crawl for me when I have more than about 8 tabs open. Now, some might advise not to use extensions, but using extensions is half the reason that I use Firefox at all in the first place, as Firefox without extensions really sucks.
- spullara 8y agoYou can change the startup parameters of IntelliJ to reduce the maximum memory usage. If you don't it will optimize for least GC time rather than least memory usage and maximum usage will be 75% of total memory.
- ktpsns 8y agoA concept a High Performance Computing professor told me once: A program which is memory intensive must be slower then one which needs little memory -- just because load/write operations from the CPU take time. That's one of the reasons why some bloated contemporary desktop software (i.e. Slack) feels as fast as its historic counterpart did in 1995 (i.e. our MSN/ICQ clients back in these days).
- fwip 8y agoThat's a nice sound bite, but isn't really true. There are many cases where we increase memory usage for faster software. Side note, lessons from HPC aren't really that applicable for chat programs.
- inetknght 8y agoFaster, or perhaps more features.
- vvanders 8y agoConversely cache misses are painful and largely haven't gotten faster over the years.
- mbreese 8y agoExactly. And the reason why programs that use a lot of memory might feel slower than one with a little is that cache miss rate. Adding memory often makes an entire system faster (again, because you can cache things in the faster RAM rather than paging out to disk). But for two comparable programs, I could see the argument that the lower-memory footprint program would be faster. (For comparable programs).
- Dunedan 8y agoThe past couple of days I took a deeper look into the RAM usage of Android Studio as I had my fair share of problems with it. I'm not sure what the 3GB you mentioned include, but I made the following observations: - Android Studio itself: default heap size of 1280MB[1] plus ~400MB of metaspace - Gradle: That's the part which surprised me the most: - Most projects probably have a custom heap size set for Gradle. Turns out: If you're using Kotlin the same amount of heap size is also used for the Kotlin compile daemon. So if you configure -Xmx2G you'll end up with 2GB for the Gradle daemon and 2GB for the Kotlin compile daemon. The heap size for the Kotlin compile daemon can be separately configured by setting `-Dkotlin.daemon.jvm.options=-Xmx<xxx>`[2]. - Gradle 5.0 is way more memory efficient than the versions before and they even drastically lowered the default heap sizes[3]. - If you still have a custom heap size in your `dexOptions` set: that's not recommended anymore[4]. [1]: https://developer.android.com/studio/intro/studio-config https://developer.android.com/studio/intro/studio-config [2]: https://discuss.kotlinlang.org/t/solved-disable-kotlin-compiler-process-keepalive/2622 https://discuss.kotlinlang.org/t/solved-disable-kotlin-compi... [3]: https://github.com/gradle/gradle/issues/6216 https://github.com/gradle/gradle/issues/6216 [4]: https://stackoverflow.com/a/37230589/4779904 https://stackoverflow.com/a/37230589/4779904
- agumonkey 8y agohttp://www.ultratechnology.com/lowfat.htm http://www.ultratechnology.com/lowfat.htm I repeat http://www.ultratechnology.com/lowfat.htm http://www.ultratechnology.com/lowfat.htm
- deleted 8y ago[deleted]
- 72deluxe 8y agoSlack is running a chrome instance - look at it in detail using Sysinternal's Process Explorer. Skype now does the same. It's so grossly dumb - giant native applications running a hidden web browser to show a webpage that does it utmost to pretend to be a native application (but it doesn't work - Alt-F to launch the File menu in slack but cursor left/right doesn't take you to the next menu like REAL native apps do).... It's a future I do not wish to be involved with!
- Dirlewanger 8y agoIt's the like saying about how giving developers 2 weeks worth of work to do in a month's timeframe, and watch it take a month: give web developers unlimited memory and they will find a way to make their desktop applications eat all of it.
- ken 8y agoI'm occasionally tempted to add RAM, but every year my OS and applications get more memory-efficient so I have less of an excuse to spend any money on that. I've got 16GB and it's getting more sufficient all the time! The latest compiler upgrades make it twice as fast as last year, on the same hardware. Life is pretty good. (Avoiding hardware upgrades isn't all peaches and cream. My graphics cards are getting less acceptable all the time, and I'll probably need to upgrade this year.) I don't use Chrome or Slack or any of those others. The easiest way to use less memory is to not run programs which require a bunch of it. People who drive Ferraris don't complain about their fuel economy.
- swiley 8y agoI feel like there’s some cultural problem that google has which prevents them from writing decent end user software.
- gumby 8y ago> Main [RAM] consumer: Chrome, just with a few dozen tabs open....Slack takes more than half a Gig with only 5 teams. It's a chat app, what the F? Because it's an Electron app, i.e. another copy of Chrome. Actually for all the money they've raised I can't understand why the Slack apps are so terrible. I use Mac and iOS versions, and they still can't show useful activity badges; video doesn't work on ios...what are the spending their billions on?
- therealx 8y agoWe've opened a lot of tickets about the " useful activity badges" but they seem to think it's a feature, not a bug. (I assume to keep remote devs happy so managers can't drill down to the minute of time.) I know for sure that their underlying tool fo determine away time is very accurate.
- e12e 8y agoI mostly get by with wee-slack in a terminal. No in-line image support... But that can also be a feature. https://github.com/wee-slack/wee-slack https://github.com/wee-slack/wee-slack
- mdorazio 8y agoI feel like I'm going crazy here. Wee-slack looks exactly like IRC did 20 years ago, except IRC was free. This is madness.
- ants_a 8y agoMaybe if IRC people would have been able to evolve the system to add persistent history we wouldn't be where we are now. And no, sshing to a server to run irssi in screen is not, and never was, an acceptable answer.
- syn0byte 8y agoNot until you wrap it in electron anyway. hacking up and rebranding an IRCd is a tried and true startup method. Napster, Slack, Discord...
- dmead 8y agodo you have a real reason you need to run chrome?
- css 8y agoAnecdotally, looks like this is somewhat reflected by Amazon prices for consumer RAM as well (though not quite "freefall"): https://camelcamelcamel.com/Corsair-Vengeance-3200MHz-Desktop-Memory/product/B0143UM4TC?context=search https://camelcamelcamel.com/Corsair-Vengeance-3200MHz-Deskto...
- gruez 8y agomore representative sample: https://cdn.pcpartpicker.com/static/forever/images/trends/trend.ram.288dimm.ddr4_3200.4x4096.6e9d3ca570aad1a34a83084ee0d3da0a.png https://cdn.pcpartpicker.com/static/forever/images/trends/tr... https://cdn.pcpartpicker.com/static/forever/images/trends/trend.ram.288dimm.ddr4_2400.4x4096.8e064e63b928a77d1a19da36890ad1f8.png https://cdn.pcpartpicker.com/static/forever/images/trends/tr...
- jagger27 8y agoAbout time. I've noticed ECC DDR3 prices are falling quite a bit in the used market, which is great for my homelab.
- nomel 8y agoDoes it make sense to run 128GB of non-ECC? DDRAM is something like 1 bit error per 40 hours per gig [1]. At 128GB, you have 537k of corruption after a week of uptime, assuming you're utilizing it all. [1] https://www.cs.toronto.edu/~bianca/papers/sigmetrics09.pdf https://www.cs.toronto.edu/~bianca/papers/sigmetrics09.pdf
- TheCowboy 8y agoIt's hard to go wrong for price/performance when building a server out of off-lease enterprise gear, especially with ECC DDR3 being dirt cheap. People might think this means loud rackmount servers, but you can find boards for most form factors. There's a small scene for people who do this and share builds, so it doesn't take much research to get started.
- walterbell 8y ago> There's a small scene for people who do this and share builds, so it doesn't take much research to get started. Recommendations on sites/forums?
- fivefive55 8y agoI just found this subreddit yesterday, seems right up your alley. https://www.reddit.com/r/homelab/ https://www.reddit.com/r/homelab/
- TheCowboy 8y agohttps://www.serverbuilds.net/ https://www.serverbuilds.net/ which is an offshoot of https://www.reddit.com/user/JDM_WAAAT https://www.reddit.com/user/JDM_WAAAT They also have a Discord. r/homelabs is also good, but it can be more rackmount focused as far as gear recommendations.
- sneakernets 8y agoHearing stuff like this really makes me want to build a PC, but I just know that as soon as I do, I'm gonna be Moore's Law'd so hard. I simply can't justify it given how much money is involved.
- snazz 8y agoIt probably never makes sense to build a computer. It’s normally more expensive and if something stops working, it can be hard to isolate the part at fault and RMA it. Buying a prebuilt PC with parts you know are compatible with your OS generally gives you a warranty so that you can simply bring it back instead of wasting more time and money fixing the issue yourself. <edit> I’m surprised to learn how differing others’ experiences are, especially on the price of the overall system. When I bought my most recent desktop, I typed in the make and model of every part into PCPartPicker and learned that I would be saving over $100 by going pre-built. There were some fair points made down thread about the PSU and mobo, which I hadn’t really considered. My RMA experiences with a few hard drives versus the exchange process at my local Micro Center (they swapped the whole thing out even though I was well past the return period) were night and day, and many of you must have had the opposite experience to take the stance that you did. Regardless, I find it interesting how polarizing this issue is and I probably shouldn’t have written my original comment in such a provocative way (although it didn’t seem that way at the time). </edit>
- TheCapn 8y agoWut? Maybe for general purpose computers doing nothing special but its generally more cost effective to select and build your own PC for things like gaming. Beyond that, computers are pretty robust. Its pretty hard to select parts that are incompatible assuming you get a CPU that fits the socket on the motherboard you buy and you don't go cheap on your PSU. Lots of tools (and communities) exist to make sure you're selecting parts properly (not overdoing it on the CPU when you're getting a low tier GPU for instance). I'm not sure what your OS comment implies because virtually everything will work on most widely adopted OSes (and if you're running a pretty obscure linux distro I'd assume you're familiar with driver woes). I'm more than happy to be corrected, but if you're buying prebuilt you're likely paying for the parts and the labour involved. Unless the company is getting steep discounts on volume purchases (which they are only getting for bottom tier parts) you're not saving money by having them put it together for you.
- MrMorden 8y agoThank Cthulhu.
- billfruit 8y agoIn windows and in linux(it might be the similar case with OSX also, I haven't tried it), I find it is not easy or straightforward to set RAM usage limitations on processes, I wonder why do not the OSes provide the user easy controls on that.
- sigstoat 8y agothat will replace slowness with crashes, as very few programs are written to survive being told that no more memory is available.
- imtringued 8y agoI think crashes already happen but the process that gets killed may not be the one that caused the system to run out of memory in the first place.
- copperx 8y agoTaking Operating Systems 101 will answer your question.
- dang 8y agoMaybe so, but please don't post unsubstantive comments here, and especially not dismissive ones. If you know more than someone else, share some of your knowledge so we call learn. Or, if you don't have time or don't want to, simply don't post. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- Someone1234 8y agoYou can but you'd hate the results, since the OS would have to page memory to/from disk like crazy when the working set runs out. See: https://blogs.technet.microsoft.com/mrsnrub/2009/12/08/windows-system-resource-manager-wsrm-does-exactly-what-it-says-on-the-tin/ https://blogs.technet.microsoft.com/mrsnrub/2009/12/08/windo... Or: https://docs.microsoft.com/en-us/windows/desktop/api/memoryapi/nf-memoryapi-setprocessworkingsetsizeex https://docs.microsoft.com/en-us/windows/desktop/api/memorya... You can call the Win32 API directly from Powershell if you wish (w/QUOTA_LIMITS_HARDWS_MAX_ENABLE). System Resource Manager is only available on Windows Server. All you're doing is limiting how much physical memory the process can consume before it pages. In either case the process will continue to consume all the memory it desires, it just varies where the additional consumption is stored.
- mindslight 8y agoSounds like it's time for another round of price fixing. Hopefully this time they'll just agree to stop making lossy RAM (Rowhammer), rather than having another fab fire.
- pmoriarty 8y agoHow many customers are going to pay more for Rowhammer-proof RAM? If it's not enough to offset the cost of developing it, I'm not sure why RAM manufacturers would make it.
- mindslight 8y agoI mean yes that's the general problem with all counterfeit products - if they're "good enough" there's no economy of scale for the non-counterfeit, so it becomes even more expensive. My point was that if manufacturers are seeking to keep prices from plummeting, then perhaps they can agree to stop competing so hard on price that they're pushed into undermining the functionality of their products.
- orliesaurus 8y agoI built my last dekstop in 2015, 16 gb of ram were cheap. Then prices went ballistics. I am glad it's over, when 32Gb of ram cost like a new CPU you know something is wrong.
- lucb1e 8y agoWe're still not at 2016 levels. I don't know an equivalent website in English, so even if you don't understand Dutch, try the Tweakers Pricewatch for RAM memory[1]: click some products and scroll down to the price chart. The prices in 2016 were cheaper than now, for example for this set of 16GB Corsair modules[2]. Prices are coming down to previous levels, but we're not even there yet. To say they are in freefall is like saying sofa prices are in freefall for being $900 after they priced it $1500 after initially offering it for $600. Except that sofas don't get cheaper every year and electronics typically do, so really, RAM prices are still sky high. [1] https://tweakers.net/categorie/545/geheugen-intern/producten/ https://tweakers.net/categorie/545/geheugen-intern/producten... [2] https://ic.tweakimg.net/ext/i/?ProduktID=458074&deliveryCountry=NL https://ic.tweakimg.net/ext/i/?ProduktID=458074&deliveryCoun... (PNG)
- ksec 8y agoJudging from [2], a ~40% drop would equate to the price of 2016, so a 30% drop is pretty close. It is in FreeFall because the price drop have no sign of slowing. I am just surprised that DRAM still haven't found a price floor somewhere along, it seems Server consumption of DRAM aren't as high as the DRAM in Mobile Phone and PC combined. Both DRAM and NAND has been the major cost component in Servers, hopefully we see some price reduction in Cloud Computing coming soon.
- deleted 8y ago[deleted]
- the8472 8y agohere's an english site (EU sellers). select a product, open price chart to the top right, select all. just from sampling a handful it looks like some have dropped below their 2016 levels, others have not. https://geizhals.eu/?cat=ramddr3&xf=1454_8192~5828_DDR3 https://geizhals.eu/?cat=ramddr3&xf=1454_8192~5828_DDR3
- rasz 8y agoDDR3 - ram that is no longer used in anything currently manufactured, for past 2?3 years? Try DDR4 and we are nowhere near 2016 levels
- SlipperySlope 8y agoNice timing for those building or thinking about a workstation with AMD many-threaded CPUs. Its gotten to the point that developers can park a thread all warmed up on a dedicated core and cache - in a resource-yielding spin wait. It immediately responds to a work request then returns to idleness. Before AMD disrupted workstations with lots-of-cores, it was not good practice to waste CPU resources on spin waits unless low latency was foremost. But now a developer can get lots of cheap ram and use it to make multithreaded apps more performant by thread-parking. The same provisioning logic works on the cloud too.
- baybal2 8y ago2 reasons why it happens: The industry, the speculators, and the guidance from "smart investor people" were massively overoptimistic about the AI and mining trends. All those billions pumped into those niches, failed to translate into datacentre spendings. Server sales very likely went down in 2018. And the same for mobile – "AI" phones happened to be a bad sell.
- gumby 8y agoRAM has been a terrible business for as long as I can remember (since the 70s). Intel was originally in the RAM business and got out of it early because it was so horrible. I honestly don't know why anyone even bothers (though of course I'm glad they do!).
- adventured 8y agoDon't tell Samsung and Micron, they've been printing extraordinary profits the last two years in the memory segment. Micron went from being a basketcase for years and a relatively cheap acquisition target for the Chinese (state owned Tsinghua Unigroup tried to buy them in 2015). To generating a $5b profit in 2017 on $20b in sales. In 2018 that skyrocketed to $14b in profit on $30b in sales, epic margins. Micron's balance sheet improved from a positive $11.8b in net tangible assets, to $33.8b in the latest quarter. They cut their long-term debt from $7.1b to $3.3b over that time. Samsung has an even larger memory business than Micron. I wouldn't be surprised if they cleared $18-$20b in profit in 2018 on memory alone. Amazing things happen to pricing and margins when you consolidate an important segment down to only three players. If you slash Micron's 2018 profit by 50%, they'd still only be sporting a six PE ratio presently and would still generate $7b in profit. Memory will be a tremendous business until / unless the Chinese bust up the party (as they hope to in the coming years).
- gumby 8y agoMy point is that you're describing what makes the market so terrible. It's a commodity product that's stamped out in high volume. The capex is high but marginal cost is low. So you get whipsawed by price swings, plus when prices are high, someone with cheap access to capital (either through government support or simply a period of secular low rates, as today) can build a factory and demolish whatever pricing you're getting on your chips. This is precisely what made Micron a basket case. If you look at the history of the DRAM business it's been a continuous, expensive string of collapse and recovery. Where are the Japanese giants who used to dominate the business? Where are the US titans that used to exist (Micron itself was a late entry thanks to Simplot's capital). Etc. Think of the steel business; DRAM is no different except its cycles are faster. 25 years from now we'll all be running cheap East African DRAM from factories funded with oil money and built in regions of low cost land and lax safety & environmental standards.
- pfdietz 8y agoWhat I learned from the comments for this post: don't use Slack.
- buttslasher69 8y agoI thought the major DRAM manufacturers were caught price fixing and were involved in some lawsuit with the chinese government? The consensus was that with china investing heavily in indigenous fabs they were going to drop the price through the floor to make the chinese competition inviable.