using full cpu and system resources in linux after uefi bios reset

rupeshforu3

In the zone
Hi I am Rupesh and I have a system with Intel i3 10th gen 10100 processor and Asus h510 me motherboard. Yesterday I have issued load optimal settings in uefi bios. At present full system resources are not being used.

I have brought my system 20 months back. I installed Arch Linux 4 months ago and compiled ffmpeg git source code. after that I have ran ffmpeg in three terminal emulator windows I mean I ran three instances of ffmpeg in three separate directories.

At present my system is running linux kernel 6.4.11.

While running the system I opened an application called lxtask task manager and I have noticed that cpu load is from 70% to 84%.

Yesterday my system stopped working and there was no display in monitor and so I have removed ram from motherboard and inserted again. After that I entered into bios settings and selected load optimal settings.

At present I have booted into Arch Linux and started three ffmpeg instances in three separate directories. After that I have opened lxtask task manager and this time I have noticed that cpu load is from 57% to 68%.

My cpu base frequency is 3.6 ghz and it's turbo frequency is 4.2 ghz.

I have issued the command cat /proc/cpuinfo and found that frequency is 3.6 ghz.

Finally my complaint is the quality of the video converted from h264 codec to av1 codec is not good.

I think that linux kernel has not detected all of the system components correctly.

I think that kernel has not detected the cpu frequency and it's flags or extensions like mmx, sse etc.,.

I have entered into bios and enabled over locking and even no use.

I want to remove old configuration files of cpu and ram and use new ones.

My system is working properly I mean I am able to play media files and watch videos but the average load is not as expected.

Kindly try to suggest how to recognise all the system components correctly and make average usage of cpu between 70% to 83%.

Regards,
Rupesh.

Sent from my LM-G710 using Tapatalk
 
OP
R

rupeshforu3

In the zone
Hi cpu usage is fluctuating between 56 percent and 69 percent instead of 83 percent. Previously I have noticed maximum number of times to be 81 percent.

Can I think that my system is working properly.

My current requirement is I want quality video output from ffmpeg.

Is there any relationship between quality video output and cpu usage. I think that if ffmpeg take more cpu resources it produces quality output.

Please suggest weather my assumption is wrong and can I safely ignore the cpu usage.

Sent from my LM-G710 using Tapatalk
 

Saahib

Cyborg Agent
What you are asking and the way you are asking makes me believe that there are lots of things you still need to understand, however, coming to your questinon, there is no relation between quality of output and cpu usage, with slow cpu, it will just take more time and quality is directly related to the flags or configuration you are using for encoding. What I believe is you want to utilize 100% cpu while encoding, that again depends upon who youa are encoding. I suggest you to read more about encoding and how to achieve highest quality along with performance (ie. how quickly) for ffmpeg encoder.
 
OP
R

rupeshforu3

In the zone
Here I am not bothering about speed but I am thinking that the system is malfunctioning.

The same code used more cpu resources and now lower resources.

As I have removed ram and inserted again the kernel failed in detecting all the components and so it is not working normally.

Sent from my LM-G710 using Tapatalk
 

nac

Aspiring Novelist
I don't know much about Linux. But I don't think quality of video encoded has anything to do with CPU utilization. If you want to utilize it fully, push it to it's limit and see. Like stress testing or running benchmark tools. If you still think that you screwed up something and couldn't figure out, better format and reinstall the OS for peace of mind.

That turbo frequency is only single threaded workload, not for multi threaded workload. Check if temperature is shooting up, that may throttle CPU.
 
Last edited:

Desmond

Destroy Erase Improve
Staff member
Admin
Here I am not bothering about speed but I am thinking that the system is malfunctioning.

The same code used more cpu resources and now lower resources.

As I have removed ram and inserted again the kernel failed in detecting all the components and so it is not working normally.

Sent from my LM-G710 using Tapatalk
Perhaps you need to increase the bitrate of the encoded video. There is no other reason for the video quality being poor.
 
Top Bottom