this post was submitted on 02 Sep 2023
33 points (82.4% liked)

Linux

48102 readers
1011 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

So I am currently running stacer, tbh idk if its working good or not lol. Sometimes my computer still flares up randomly with high CPU usage and the fan going, but I try to use htop to pinpoint, but that tool is probably way more in depth than I know. I'd rather have like maybe a daemon? Or always on app that automatically notices strange things and helps balance out performance, I.e. CPU usage, ram usage, maybe heat?Battery life, overall just to help maintain optimum performance and proper running (I do not game at all BTW, so not a factor)

The three I know of are tlp, auto-cpufreq, and stacer. I've read that its not good to run the first two together. Plus I've tried tlp numerous times and I feel it made my perfoance worse... I tried the simple default settings and even thoroughly went through and customized the settings, still never seemed to work right. I experimented a little with autocpufreq but had no idea if it was working correctly lol. I mean I followed the basic instructions to set it up, but who knows. Same with stacer; dont know if its really working or if I even configured it right...

In your experiences, what would be the best tool or tools to help me with this. Not really looking for monitors as I have no idea what to do with all that info lol but tools that automatically monitor and make performance tweaks accordingly? Idk if there is an all in one solution or if you need specific apps together, but also need to be aware of possible confliction... Not to mention I set up netdata lol omg I had no clue what I was looking at or how to use it. Super overwhelming because the tool could actually help with network performance but it was so completely confusing. Definitely not for a beginner. Would love your guys suggestions please. Thank you

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 year ago (1 children)

It sounds like you're chasing something that doesn't exist. There isn't really like a point you get to when everything is "optimized" or whatever... That word doesn't really mean anything. Optimization is a process that you use for really specific situations. It's not a state you get to.

For example, if I was serving a website and the server was showing high CPU usage and disk activity, I might find what files are being accessed most often and add a caching layer (redis, varnish, memcache, etc). That would optimize for more efficient CPU usage and lower disk activity but it would also increase memory usage. That's a trade off I would need to consider before implementing that change. If the apps I am running are already consuming a lot of memory, I might run the risk of exhausting all the memory and having processes killed off (aka OOM errors). Maybe I try something else then.

You need to find what's happening with your system and then figure out what you can do to mitigate the behavior of any poorly performing apps. That all starts with good monitoring but beyond that its impossible to say because it's extremely dependent on how you have chosen to configure your system and what you are running.

This type of investigation is what gets you to be a real engineer.

[–] [email protected] 1 points 1 year ago

Thanks, I'm starting to realize this. There are many different aspects and tools to use to assess different parts of your system. I just want to ensure my system is bug and error free. I just have no idea where to start and with what tools and how to understand and implement things. I know logs are a popular option, but even those confuse the heck out me me. Like I KNOW there's issues within my system but its difficult to find the right way to pinpoint and address things. I sorta wanna be like an investigator for my computer lol I want to really dig in and make sure everything is proper. Its just so daunting and vast and confusing. Chat gpt helps me with some stuff, which is actually very useful because answers on forums and what not can be all over the place and a lot of times the solutions dont quite work.