Skip to main content
Topic: "Final" Answer To Extreme CPU and Pulseaudio Usage in Artix (Read 376 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

"Final" Answer To Extreme CPU and Pulseaudio Usage in Artix

Sometimes the simplest solutions are the best. Has anyone forgot KISS principles? Whoever said it first was damn right! Damn right!

So, I, a couple of post, I was complaining like crazy about high CPU usage (and RAM) by either mpv or pulsaudio. I tried to investigate pulseaudio. I asked about mpv. And everyone was asking question, while the answer was there in my post right from the beginning.
I also understand that is a customary to ask those questions and more often they are valid. I appreciate your the patience. I myself don't have always time to sit whole day in front of the computer.

Ladies and gentlemen, fire up "top" your favorite text editor and start crunching numbers (when you have powerful computer/server, do not use absolute values but start dividing numbers to have the idea how bad the situation is):

$ mpv  http://193.42.108.9:8000/stream

$ cvlc http://193.42.108.9:8000/stream

$ mpg123 http://193.42.108.9:8000/stream

 :(

Oh, my, oh my....ehhh

Its "never my code..." they all (programmers) say. Yest its your code, unfortunately. And its in a sad state.  :(
My personal opinion is: you write code, you test it; at least check how it affects CPU and RAM usage. Major changes? Test is a must.

P.S. On a side note there is more very nasty CPU trashing from KDE6. I reported the bug (its very bad)

Re: "Final" Answer To Extreme CPU and Pulseaudio Usage in Artix

Reply #1
what the fuck are you even talking about

Re: "Final" Answer To Extreme CPU and Pulseaudio Usage in Artix

Reply #2
Wtf did I just read? And how is it all connected with a Desktop Environment? KDE6 ?

Btw, I see no issues with playing these streams. Here's my CPU usage: