this post was submitted on 02 Sep 2023
34 points (82.7% liked)

Linux

48153 readers
787 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
[–] borzthewolf@lemmy.world 0 points 1 year ago (1 children)

No, I think you may have misinterpreted my post. By performance, I just mean overall performance, preferably optimized for the perfect median... Not trying to squeeze more performance, just trying to work with what I got and ensure all the moving parts and software and such are playing fair and on the same page.... Basically looking for just smoothness and proper running of my systems at all times. I've had so many issues over the years, most likely user error, with just freeze ups, overheating, high CPU usage when I'm not really doing anything intensive at all and not to mention many WiFi issues, but that's probably a whole other topic. I dont quite know what aspects or programs I should configure or how or if everything should just be default, etc. Sometimes I just wing configurations to things that make sense to me. Needless to say, I just want to ensure my system stays on the same page and runs smooth, how it should, with fewer errors or slowdowns or other annoyances.

[–] thelastknowngod@lemm.ee 6 points 1 year ago (1 children)

There's no one answer here. It's going to take a lot of trial and error and experimenting. All of the issues you mention are going to have to be addressed individually as well. There is never going to be a single tool to do this for you.

As far as tracking state over time, standing up a proper, modern monitoring stack will help tremendously. If you send logs to loki, collect metrics with Prometheus or OpenTelemetry, and graph them both with grafana, you should have really great insights to whatever is happening.. It's never going to be finished though. It's always a work in progress.

[–] borzthewolf@lemmy.world 0 points 1 year ago (1 children)

Sounds like a complex undertaking. I dont quite even know where to start with learning how to do all of that. I figured there are tools out there, like the ones I listed, that are supposed to automatically optimize aspects for you.

[–] thelastknowngod@lemm.ee 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.

[–] borzthewolf@lemmy.world 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.