Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@chagai95 unused ram is wasted ram - this is true. The same rule applies to CPUs and other resources.
Resources are there to be used. If you have 1TB of RAM installed and you're only using 120MB, then you're wasting your resources. You have too many. In general, this doesn't have any adverse impact for you (with an exception of CPUs), but it doesn't do you any good either.
RAM is fast data storage that can be directly accessed by CPU. Which means that this data can be accessed very quickly when needed. Why not use this kind of storage to boost application responsiveness if you have a few megs to spare? Like cache stuff instead of reading from disk, or even worse, fetch from the network each time user requests for it? This way RAM will be put to good use instead of sitting there doing no good for you.
And I believe that's exactly the thing chrome is doing. -
kamen69824y@netikras Not completely true - you won't notice if your RAM is 90% full, but you'd definitely notice if your CPU is at 90% load.
-
@kamen Also not true :) I know what you mean but you are using a wrong metric. It's CPU queue what you'll notice as a user, not the CPU%. These two oftentimes happen to correlate with each other, but not always. You can check your CPU queue length with `uptime`, `vmstat 1`, `sar -q 1` or similar commands.
You can easily have 95% CPU usage and hardly even feel any impact on UX. However, if tasks start queuing up, then your UX will definitely get impacted. -
theuser48024yIf you're running a somewhat modern OS, then 95ish% of your RAM should be in use (like when playing a game) or be reserved (like browser cache).
-
@chagai95 with that much ram you can try make run eclipse faster. create ramdisk for the jdk, eclipse plugin folder and so on
-
You can keep all your source code in RAM! Never save to disk again :)
Livin' on the edge -
chagai951014yIntelij costs and the team decided on eclipse, I'm new so I don't really have a say in this... I'm still trying to figure out if my computer is actually faster now..
-
chagai951014y@coffeeholic how do I create RAM for the jdk? What Extensions do you recommend? I find eclipse very annoying to be honest many small thinks, like not being able to ctrl + mouse scroll for size and I couldn't figure out the hotkey to uncomment a code block and the icons are very small, couldn't figure out how to make them bigger even after googling for a while and so on... We use face primes jfs in our company and if there are some good extensions for xhtml connecting that and Java that'll be amazing! I'm actually using atom to edit csv files because that turned out to be easier, but I think it might be better to keep everything in eclipse since I do have a lot of RAM but I don't want to use all my CPU power and get slow again...
-
chagai951014yAnd I don't believe I'll be wasting any of that RAM. I use Chrome with a LOT of extensions and I use Vivaldi, Microsoft edge Chromium, opera and even Firefox so all that plus eclipse, Android studio (which is basically intelij), Webstorm, visual studio code and some heavy editors - atom and notepad++ then I also use many other random things: WSL- Ubuntu, deskpin app, Spartan clipboard,
And if course a heavy virus scanner ( bitscanner I think it's called) and Google and one drive backup in the background which reminds me - using all the Microsoft products as well so one note- huge, teams - gigantic and occasionally word, Excel, PowerPoint...I also use Jitsi meet which is a killer and YouTube videos in the background for music. Did anyone still think I'm wasting RAM? -
kamen69824y@netikras Theoretically you might be right, but in practice I'm failing to think of something that will be CPU-intensive and won't just load the first few available threads as much as it can or needs to.
-
theuser48024y@chagai95 No you are not, the OS is responsible for utilizing it. You just continue working.
-
@kamen i've seen SUN boxes have 98%+ cpu usage for months and a queue length next to nothing. Also ux was not impacted at all. Load avg was higher tho, since unix and linux calculate it differently.
So that's not just the theory :)
Related Rants
Installed RAM 48.0 GB
Eclipse, Chrome if you ever show the slightest slowliness I'm deleting you forever!
rant
eclipse
chrome
ram