LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-18-2015, 11:22 AM   #1
hilltownboy
Member
 
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 11 "Bullseye", Arch
Posts: 123

Rep: Reputation: 15
Excessive cpu use slows computer


"top" shows excessive use in ARCH by Xorg and home-name, with additional programs such as browser or libreoffice putting usage over 100 steadily, sometimes freezing the computer. Also a lot of fan and heating.

"top" in Debian WHEEZY, which is also on the same computer, shows usage to be normal, yet WHEEZY is also almost as slow (one minute to bring up iceweasel browser, for example, in which I am writing this slowly).

This slowing began about the time messages showed up in ARCH at first boot. They are not in journalctl so I can only write them from memory:

Code:
[*****](1 of 4) a start job is running for *******(the wired interface)
[*****](2 of 4) a start job is running for wlp16s0
[*****](3 of 4) a start job is running for *******
[*****](4 of 4) a start job is running for *******
The *****'s on the left are flashing red. The ones on the right are notations that I can't remember.

These messages revolve in sequence for a bit, then stop and booting carries on. Can they be a clue to the over usage?

The above is on an hpcompaq6910p. That is regarded as an old machine so I post here because someone may recognize it as a hardware problem.

Last edited by hilltownboy; 08-18-2015 at 11:24 AM.
 
Old 08-18-2015, 12:18 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
This indicates that systemd is trying to start a service, but in the end the service fails. This definitely should show up in the journal, however. For a start it would be good to know which services exactly are failing and what you get from
Code:
systemctl status service-name
 
Old 08-20-2015, 11:01 AM   #3
hilltownboy
Member
 
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 11 "Bullseye", Arch
Posts: 123

Original Poster
Rep: Reputation: 15
Excessive cpu use slows computer

The four messages that recycle do not show on journalctl. I have examined all 1000+ lines.
Of the two devices that I can identify, here are the references that do show:
Code:
Aug 20 11:19:44 arch systemd[1]: sys-subsystem-net-devices-enp0s25.device: Job sys-subsystem-net-devices-enp0s25.device/start timed out.
Aug 20 11:19:44 arch systemd[1]: Timed out waiting for device sys-subsystem-net-devices-enp0s25.device.
Aug 20 11:19:46 arch systemd[1]: Dependency failed for dhcpcd on enp0s25.
Aug 20 11:19:48 arch systemd[1]: dhcpcd@enp0s25.service: Job dhcpcd@enp0s25.service/start failed with result 'dependency'.
Aug 20 11:19:48 arch systemd[1]: sys-subsystem-net-devices-enp0s25.device: Job sys-subsystem-net-devices-enp0s25.device/start failed with result 'timeout'.
Aug 20 11:20:03 arch kernel: e1000e 0000:00:19.0 enp0s25: renamed from eth0
The above is not surprising inasmuch as the wired service cable was not plugged in
Code:
Aug 20 11:19:40 arch systemd[1]: sys-subsystem-net-devices-wlp16s0.device: Job sys-subsystem-net-devices-wlp16s0.device/start timed out.
Aug 20 11:19:40 arch systemd[1]: Timed out waiting for device sys-subsystem-net-devices-wlp16s0.device.
Aug 20 11:19:44 arch systemd[1]: netctl-auto@wlp16s0.service: Job netctl-auto@wlp16s0.service/start failed with result 'dependency'.
Aug 20 11:19:44 arch systemd[1]: sys-subsystem-net-devices-wlp16s0.device: Job sys-subsystem-net-devices-wlp16s0.device/start failed with result 'timeout'.
Aug 20 11:21:02 arch kernel: iwl4965 0000:10:00.0 wlp16s0: renamed from wlan0
I'll show service status shortly.
 
Old 08-20-2015, 01:46 PM   #4
hilltownboy
Member
 
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 11 "Bullseye", Arch
Posts: 123

Original Poster
Rep: Reputation: 15
Excessive cpu use slows computer

Code:
* enp0s25.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
* wlp16s0.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
Also maybe of interest:
Code:
* netctl-auto@wlp16s0.service - Automatic wireless network connection using netctl profiles
   Loaded: loaded (/usr/lib/systemd/system/netctl-auto@.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2015-08-20 12:04:45 EDT; 1h 53min ago
     Docs: man:netctl.special(7)
  Process: 271 ExecStart=/usr/bin/netctl-auto start %I (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/system-netctl\x2dauto.slice/netctl-auto@wlp16s0.service
           `-309 wpa_supplicant -q -B -P /run/wpa_supplicant_wlp16s0.pid -i wlp16s0 -D nl80211,wext -c/run/network/wpa_supplicant_wlp16s0.conf -W

Aug 20 12:04:42 arch systemd[1]: Starting Automatic wireless network connection using netctl profiles...
Aug 20 12:04:44 arch netctl-auto[271]: Included profile 'WIRELESS'
Aug 20 12:04:45 arch systemd[1]: Started Automatic wireless network connection using netctl profiles.
Aug 20 12:04:45 arch wpa_actiond[317]: Starting wpa_actiond session for interface 'wlp16s0'
But wireless not up
 
Old 08-20-2015, 02:34 PM   #5
hilltownboy
Member
 
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 11 "Bullseye", Arch
Posts: 123

Original Poster
Rep: Reputation: 15
Excessive cpu use slows computer

I have identified a thiird one of those "a start job is running for ******** device: 8d26da0c
Code:
Aug 20 15:08:01 arch systemd[1]: Activating swap /dev/disk/by-uuid/82b17f58-e5d0-47a9-970a-3aef8d26da0c...
Aug 20 15:08:04 arch systemd[1]: Activated swap /dev/disk/by-uuid/82b17f58-e5d0-47a9-970a-3aef8d26da0c.
Whether any of this a cause or just a symptom of the unbearably sluggish action of the computer remains to be determined.
 
Old 08-20-2015, 05:24 PM   #6
hilltownboy
Member
 
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 11 "Bullseye", Arch
Posts: 123

Original Poster
Rep: Reputation: 15
Excessive cpu use slows computer

Another peculiarity:

Xorg.0.log | grep 359
Code:
[   197.894] (EE) systemd-logind: failed to get session: PID 359 does not belong to any known session
ps -p 359 -o comm=
Code:
Xorg
 
Old 08-20-2015, 09:39 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Accordig to the specs that machine has GMA X3100 for video. TobiSGD may be able to offer some input on the likely performance of that chip - I had very bad experiences with an earlier GMA.
It may explain poor performance even under Wheezy. As for the swap issue, check that UUID in /etc/fstab. To check if it's really an issue, just comment it out for a while. Also check it isn't specified as a resume target on the boot-loader options.
If you can install inxi, post the output of the following
Code:
inxi -v 4
 
Old 08-21-2015, 10:02 AM   #8
hilltownboy
Member
 
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 11 "Bullseye", Arch
Posts: 123

Original Poster
Rep: Reputation: 15
Excessive cpu use slows computer

Sorry for this horrible code presentation. Had to get it off PCLinux because inxi is unavailable in WHEEZY and I can't install it in ARCH which is so slow that the wifi connection times out.

inxi -v 4
Code:
System:    Host: localhost.localdomain Kernel: 3.14.7-pclos1 i686 (32 bit gcc: 4.7.2)
           Desktop: LXDE (Openbox 3.6) Distro: PCLinuxOS
Machine:   System: Hewlett-Packard (portable) product: HP Compaq 6910p (RM234UA#ABA) v: F.0A
           Mobo: Hewlett-Packard model: 30C1 v: KBC Version 68.32
           Bios: Hewlett-Packard v: 68MCD Ver. F.0A date: 09/13/2007
CPU:       Dual core Intel Core2 Duo T7300 (-MCP-) cache: 4096 KB
           flags: (lm nx pae sse sse2 sse3 ssse3 vmx) bmips: 146
           clock speeds: max: 2001 MHz 1: 800 MHz 2: 800 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RV516/M64-S [Mobility Radeon X2300]
           bus-ID: 01:00.0
           Display Server: X.Org 1.16.4 drivers: ati,v4l,radeon
           Resolution: 1280x800@60.00hz
           GLX Renderer: Gallium 0.4 on ATI RV515
           GLX Version: 2.1 Mesa 10.6.0 Direct Rendering: Yes
Network:   Card-1: Intel 82566MM Gigabit Network Connection
           driver: e1000e v: 2.3.2-k port: 5000 bus-ID: 00:19.0
           IF: eth0 state: down mac: 00:1b:38:ba:55:64
           Card-2: Intel PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
           driver: iwl4965 v: in-tree: bus-ID: 10:00.0
           IF: wlan0 state: up mac: 00:1d:e0:20:c5:69
Drives:    HDD Total Size: 120.0GB (5.6% used)
           ID-1: /dev/sda model: Hitachi_HTS54161 size: 120.0GB
Partition: ID-1: / size: 12G used: 5.0G (46%) fs: ext3 dev: /dev/sda6
Info:      Processes: 172 Uptime: 10 min Memory: 143.4/2024.1MB
           Init: SysVinit runlevel: 5 Gcc sys: 4.9.2
           Client: Shell (bash 4.3.331) inxi: 2.2.21 

 
Old 08-21-2015, 10:30 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by syg00 View Post
Accordig to the specs that machine has GMA X3100 for video. TobiSGD may be able to offer some input on the likely performance of that chip[/code]
The GMA X3100 luckily is not some relabeled PowerVR chip, but a true Intel design. Performance for normal desktop usage should be fine, though this chip is not suited for gaming or serious 3D work.
 
Old 08-21-2015, 07:30 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Yeah, that's pretty ugly - I forgot I have inxi aliased to get rid of the colour highlighting. "inxi -v 4 -c 0" should look better for posting.
So, that actually has an AMD chip using the radeon open source driver - 2-D video performance should be ok. And that Intel iwl4965 should be fine for wifi. Try this on the Arch (and Debian) system so we can compare what drivers you are using
Code:
lspci -nnk | grep -EA3 "(VGA|Ethernet|Network)"
 
Old 08-22-2015, 09:09 AM   #11
hilltownboy
Member
 
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 11 "Bullseye", Arch
Posts: 123

Original Poster
Rep: Reputation: 15
Excessive cpu use slows computer

ARCH
Code:
00:19.0 Ethernet controller [0200]: Intel Corporation 82566MM Gigabit Network Connection [8086:1049] (rev 03)
	Subsystem: Hewlett-Packard Company Compaq 6910p [103c:30c1]
	Kernel driver in use: e1000e
	Kernel modules: e1000e
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV516/M64-S [Mobility Radeon X2300] [1002:7188]
	Subsystem: Hewlett-Packard Company 6910p [103c:30c1]
	Kernel driver in use: radeon
	Kernel modules: radeon
--
10:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4229] (rev 61)
	Subsystem: Intel Corporation Device [8086:1000]
	Kernel driver in use: iwl4965
	Kernel modules: iwl4965
WHEEZY
Code:
00:19.0 Ethernet controller [0200]: Intel Corporation 82566MM Gigabit Network Connection [8086:1049] (rev 03)
	Subsystem: Hewlett-Packard Company Compaq 6910p [103c:30c1]
	Kernel driver in use: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI M64-S [Mobility Radeon X2300] [1002:7188]
	Subsystem: Hewlett-Packard Company 6910p [103c:30c1]
	Kernel driver in use: radeon
02:06.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev b9)
--
10:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4229] (rev 61)
	Subsystem: Intel Corporation Device [8086:1000]
	Kernel driver in use: iwl4965
Most everything seems to work but unbelievably slow: 20 minutes to load browser, log in to linuxquestions and find thread; 8 seconds to load a terminal.

Last edited by hilltownboy; 08-22-2015 at 09:10 AM.
 
Old 08-22-2015, 11:37 AM   #12
hilltownboy
Member
 
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 11 "Bullseye", Arch
Posts: 123

Original Poster
Rep: Reputation: 15
Excessive cpu use slows computer

Gentlemen, I have to apologize for dragging you through this whole exercise. I just acquired a new power adapter and now the computer is up to speed. So the trouble was mechanical.

Many thanks for your help, from which I learned a lot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stopping firefox's excessive CPU usage Dave Lerner Ubuntu 3 07-03-2015 02:09 PM
[SOLVED] openSUSE KMix app - excessive CPU usage TB0ne SUSE / openSUSE 0 12-20-2012 09:44 PM
Ubuntu 8.10 - excessive CPU usage & heating hulk321 Linux - Software 1 12-03-2008 07:23 PM
Excessive CPU Usage Smarajit Linux - Newbie 2 04-11-2007 11:02 AM
excessive cpu temp ? dukeinlondon Linux - Hardware 7 12-20-2005 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration