You are not logged in.

#1 2017-01-09 22:43:28

stuff
Member
Registered: 2017-01-09
Posts: 14

High CPU

Hey,
I love arch linux, but i have a problem i think.

When i look at the  ressorces in taskmanager the cpu's are often over at 50% but at processes all that is shown is gnome-shell between 8-20% most of the time (maybe firefox 1%).

My CPU is Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
in Windows 10 it was most of the time under 10%. Am i doing something wrong?

It's not lagging or anything but i would think my pc should run gnome better?
I dont have much stuff going on in the background except firefox and openvpn

Offline

#2 2017-01-10 04:18:32

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: High CPU

are you using hyperthreading, and are they stepped down?

even so, they should be lower, but it's a starting point.

does top or htop show the same usage?

Offline

#3 2017-01-10 12:11:32

stuff
Member
Registered: 2017-01-09
Posts: 14

Re: High CPU

Im using hyperthreading. If i disable it, it makes no difference and i  googled it, but i dont know how to stepp them down.
Top shows the same usage :
top - 13:09:35 up 42 min,  1 user,  load average: 0,76, 0,72, 0,74
Tasks: 198 total,   1 running, 197 sleeping,   0 stopped,   0 zombie
%CPU0  :  14,7/2,7    17[|||||||||                                            ]
%CPU1  :   7,2/0,7     8[||||                                                 ]
%CPU2  :  12,4/1,3    14[||||||||                                             ]
%CPU3  :  26,4/4,7    31[|||||||||||||||||                                    ]
%CPU4  :   7,2/2,0     9[|||||                                                ]
%CPU5  :   5,3/0,0     5[|||                                                  ]
%CPU6  :   7,1/1,3     8[|||||                                                ]
%CPU7  :   9,2/1,3    11[||||||                                               ]
GiB Spch: 20,0/7,751    [                                                     ]
GiB Swap:  0,0/1,512    [                                                     ]

  PID USER      PR  NI    VIRT    RES  %CPU %MEM     ZEIT+ S BEFEHL             
    1 root      20   0  195,9m   6,5m   0,0  0,1   0:01.16 S systemd           
  186 root      20   0  121,6m  45,7m   0,0  0,6   0:00.57 S  `- systemd-journ+
  215 root      20   0   43,9m   4,8m   0,0  0,1   0:00.54 S  `- systemd-udevd 
  312 root      20   0   19,5m   2,7m   0,0  0,0   0:00.00 S  `- crond         
  314 root      20   0   43,8m   4,6m   0,0  0,1   0:00.10 S  `- systemd-logind
  315 dbus      20   0   39,6m   4,5m   0,0  0,1   0:00.65 S  `- dbus-daemon   
  318 root      20   0    4,1m   1,2m   0,0  0,0   0:00.20 S  `- acpid         
  319 avahi     20   0   47,1m   3,2m   0,0  0,0   0:00.07 S  `- avahi-daemon   
  335 avahi     20   0   46,9m   0,4m   0,0  0,0   0:00.00 S      `- avahi-dae+
  386 root      20   0    6,6m   1,9m   0,0  0,0   0:00.02 S  `- dhcpcd

Last edited by stuff (2017-01-10 12:11:52)

Offline

#4 2017-01-10 12:52:01

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: High CPU

intel-ucode installed?


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

#5 2017-01-10 14:15:25

stuff
Member
Registered: 2017-01-09
Posts: 14

Re: High CPU

I just installed intel-ucode and followed the archlinux  instructions on microcode.  the output after a reboot is (dmesg  | grep microcode):

[    1.005607] microcode: sig=0x506e3, pf=0x2, revision=0x74
[    1.005828] microcode: Microcode Update Driver: v2.01 <tigran@aivazian.fsnet.co.uk>, Peter Oruba



Also noticed: I can get the cpu to 50-60 % just by quickly scrolling up and down in firefox . Is that normal ?

Last edited by stuff (2017-01-10 15:07:53)

Offline

#6 2017-01-10 16:55:59

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: High CPU

Also noticed: I can get the cpu to 50-60 % just by quickly scrolling up and down in firefox . Is that normal ?

Firefox should use the GPU (a.k.a. hardware acceleration) to compute the scrolling, so no. Seems like that isn't working.

Do you have a dedicated GPU as well?

Last edited by teateawhy (2017-01-10 16:57:15)

Offline

#7 2017-01-10 17:31:32

seth
Member
Registered: 2012-09-03
Posts: 50,009

Re: High CPU

You noticed that the top dumps shows a load of 12.875% ?
Random fancy load indicators that show random fancy numbers are random fancy rubbish.
Whether FF uses GL and whether that's HW accelerated depends on the actual system setup.

Wayland or Xorg? (does that btw. matter reg. the cpu load?)
In case of Xorg: run "glxinfo"
In firefox: "about:support", look at the graphics section.

Offline

#8 2017-01-10 18:02:28

stuff
Member
Registered: 2017-01-09
Posts: 14

Re: High CPU

My GPU:
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd Device 36d2
Kernel driver in use: nvidia

I have wayland installed (followed a youtube instruction video for the arch setup, next time I better do that myself)

firefox says:
Features
Compositing    Basic
Asynchronous Pan/Zoom    wheel input enabled; touch input enabled
WebGL Renderer    VMware, Inc. -- Gallium 0.4 on llvmpipe (LLVM 3.9, 256 bits)
WebGL2 Renderer    (no info)
Hardware H264 Decoding    No
Audio Backend    pulse
GPU #1
Active    Yes
Description    VMware, Inc. -- Gallium 0.4 on llvmpipe (LLVM 3.9, 256 bits)
Vendor ID    VMware, Inc.
Device ID    Gallium 0.4 on llvmpipe (LLVM 3.9, 256 bits)
Driver Version    3.0 Mesa 13.0.3
Diagnostics
AzureCanvasAccelerated    0
AzureCanvasBackend    skia
AzureContentBackend    cairo
AzureFallbackCanvasBackend    none
CairoUseXRender    0
Decision Log
HW_COMPOSITING   
blocked by default: Acceleration blocked by platform
OPENGL_COMPOSITING   
unavailable by default: Hardware compositing is disabled


Im gonna look for myself if I can get them enabled, but help is also appreciated

Last edited by stuff (2017-01-10 18:05:51)

Offline

#9 2017-01-10 18:10:32

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: High CPU

stuff wrote:

My GPU:
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd Device 36d2
Kernel driver in use: nvidia

I have wayland installed (followed a youtube instruction video for the arch setup, next time I better do that myself)

You have wayland installed, or are you running it? If so, does the problem also happen in Xorg?

Offline

#10 2017-01-10 18:52:53

stuff
Member
Registered: 2017-01-09
Posts: 14

Re: High CPU

I really dont now. Maybe i just install arch from scratch again. I just typed what the guy on the video said, when I installed arch.

Offline

#11 2017-01-10 19:30:05

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: High CPU

stuff wrote:

I really dont now. Maybe i just install arch from scratch again. I just typed what the guy on the video said, when I installed arch.

You should follow the ArchWiki rather than third party video or blog guides as they tend to be wrong more often than not. If you have trouble understanding the wiki you can always ask in here, but we can't help with setups following Youtube videos.

Also, blindly copying and pasting is never a good idea, even if it is from the ArchWiki or these forums. Understand commands before entering them and ask if you have trouble understanding them.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#12 2017-01-10 19:31:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: High CPU

stuff wrote:

I just typed what the guy on the video said, when I installed arch.

*Headdesk*


Please, please, please read (and understand) the installation guide
You will come out the other end knowing how your system is set up.

Edit snaked by fsckd. Again.

Last edited by ewaller (2017-01-10 19:32:46)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#13 2017-01-10 19:53:56

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: High CPU

stuff wrote:

Im using hyperthreading. If i disable it, it makes no difference and i  googled it, but i dont know how to stepp them down.
Top shows the same usage :

top - 13:09:35 up 42 min,  1 user,  load average: 0,76, 0,72, 0,74
Tasks: 198 total,   1 running, 197 sleeping,   0 stopped,   0 zombie
%CPU0  :  14,7/2,7    17[|||||||||                                            ]
%CPU1  :   7,2/0,7     8[||||                                                 ]
%CPU2  :  12,4/1,3    14[||||||||                                             ]
%CPU3  :  26,4/4,7    31[|||||||||||||||||                                    ]
%CPU4  :   7,2/2,0     9[|||||                                                ]
%CPU5  :   5,3/0,0     5[|||                                                  ]
%CPU6  :   7,1/1,3     8[|||||                                                ]
%CPU7  :   9,2/1,3    11[||||||                                               ]

none of your cores, real or virtual, is at 50%, so there doesn't look like anything to worry about. even at 50% that isn't worrisome in itself. a core at 100% is beneficial if it's running a task to get it out of the way, that's why frequency scaling is more power efficient than older methods such as turning off cores
your cores will step themselves down if they're in dynamic mode, or stay stepped down in power-save mode. stepped down cores run at a lower frequency to save power

Last edited by HiImTye (2017-01-10 19:56:12)

Offline

#14 2017-01-10 20:35:55

seth
Member
Registered: 2012-09-03
Posts: 50,009

Re: High CPU

Log into gnome on xorg and compare behavior and values there.
FF says you're on software emulation GL - what mean's you're running it through Xwayland or on Xorg with broken driver installation. In any case your GPU won't do and CPU spiking is expectable.

And I sign the comments about how silly it is to
a) follow a video tutorial
b) blindly
If you want to stay with Arch, better break  with that habit.

Offline

#15 2017-01-12 15:37:21

stuff
Member
Registered: 2017-01-09
Posts: 14

Re: High CPU

Okay; thanks for all the answers.
Just installed it again with the installation guide and im going slow. Didnt even set up a desktop enviroment yet.
Maybe i'll just stick with the console *jk* Its fun there

Offline

Board footer

Powered by FluxBB