You are not logged in.

#1 2014-04-24 06:18:15

sergiors
Member
Registered: 2013-10-08
Posts: 9

Core working at 80% when the HDD connected

Hi

I'm having a problem when my HDD is connected.

After boot, a core is working at 80%, but if disconnect the HDD, all working well.

This with the HDD not mounted.

Anyone knows how to fix it?

PS: I'm using an SSD as primary partition.

Last edited by sergiors (2014-04-24 06:30:39)

Offline

#2 2014-04-24 06:29:31

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Core working at 80% when the HDD connected

Can you please elaborate? Is it an external HDD you are talking about?

Also, do the cores continuously run at high load unless you remove the HDD?

Try monitoring disk activity during that time using iotop, also see which process is consuming cpu during that time using top or htop.

Offline

#3 2014-04-24 15:58:57

sergiors
Member
Registered: 2013-10-08
Posts: 9

Re: Core working at 80% when the HDD connected

x33a, yes, is an external HDD, but I put the HDD into the DVDRW slot.

The cores working well when HDD is disconnected.

iotop
AQlRxrNs.png


without HDD connected
WAC8rX4s.png


with HDD
OJFLUKhs.png

Last edited by sergiors (2014-04-24 18:18:31)

Offline

#4 2014-04-24 16:21:51

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Core working at 80% when the HDD connected

Interestingly, htop doesn't show which process is consuming the cpu. Maybe it's a kernel thread.

Can you use post the output of top instead (when the load is high). Also, please post the output of iotop when load is high.

PS: Please use smaller thumbnails for your images https://wiki.archlinux.org/index.php/Fo … s_and_Code

Offline

#5 2014-04-24 17:23:43

sergiors
Member
Registered: 2013-10-08
Posts: 9

Re: Core working at 80% when the HDD connected

top output
vXuiF1us.png

iotop
ANqqJJMs.png

Last edited by sergiors (2014-04-24 18:18:40)

Offline

#6 2014-04-24 17:34:14

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: Core working at 80% when the HDD connected

Disable dropbox and check if it happens.

Offline

#7 2014-04-24 17:54:07

sergiors
Member
Registered: 2013-10-08
Posts: 9

Re: Core working at 80% when the HDD connected

Pse, I already tried =/

Last edited by sergiors (2014-04-24 17:54:24)

Offline

#8 2014-04-24 18:07:13

sergiors
Member
Registered: 2013-10-08
Posts: 9

Re: Core working at 80% when the HDD connected

It seems is the kworker. I searched and found other people with same problem

Offline

#9 2014-04-24 18:07:42

o_caino
Member
Registered: 2013-06-06
Posts: 166

Re: Core working at 80% when the HDD connected

Check the Debugging section.
https://raw.github.com/torvalds/linux/m … kqueue.txt

Also, edit your other posts to conform to the Forum Etiquette.

Offline

#10 2014-04-24 18:08:22

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Core working at 80% when the HDD connected

sergiors, Do not post full size images. You have been here long enough to know the forum rules. Make use of an image hosting website and post a link or thumbnail here.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#11 2014-04-24 18:17:24

sergiors
Member
Registered: 2013-10-08
Posts: 9

Re: Core working at 80% when the HDD connected

So sorry, Inxsible

Offline

#12 2014-04-24 18:58:08

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Core working at 80% when the HDD connected

Could you please capture CPU usage by "sudo perf top -g"? It will show in what exactly kernel function CPU cycles are spend - just unfold the function call graph by clicking "+".

And the best of all to report this information to kernel ML as I think this is a kernel bug.


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#13 2014-04-24 19:16:13

sergiors
Member
Registered: 2013-10-08
Posts: 9

Re: Core working at 80% when the HDD connected

I know how to capture it in text.


sudo perf top -g output
9X7dy02s.png
rhdMWyes.png
b6h5mE3s.png
sUStg2fs.png
tVIWGd4s.png

Last edited by sergiors (2014-04-24 19:18:47)

Offline

#14 2014-04-24 19:24:01

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Core working at 80% when the HDD connected

"sudo perf record -a -g" for a minute then ^C and then "sudo perf report -g > some_file.txt" should save the data in text form.

So I would blame either device driver or acpi part of the kernel. Google for the function names and if there is anything relevant - report the problem to kernel ML.


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#15 2014-04-24 19:41:08

sergiors
Member
Registered: 2013-10-08
Posts: 9

Re: Core working at 80% when the HDD connected

The log was too large to post here

https://www.dropbox.com/s/4r5rtbzlawerkyr/perf.txt

Offline

Board footer

Powered by FluxBB