LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-18-2015, 04:14 PM   #1
alexibu
LQ Newbie
 
Registered: Dec 2015
Posts: 4

Rep: Reputation: Disabled
Unhappy Unexplained kernel time


I am doing some computation with 24 identical processes on a dual 6 core xeon with hypertheading - more than 24 jobs are scheduled by scons to fully utilise the machine.
For a few minutes the processes run fine and the user time is close to 100%, but then suddenly the system time is around 30% (by looking at top or "System Load Indictator").
If I then kill and rerun the same job the system time is immediately 30%.
After a reboot the process runs at 100% user time for a few minutes again.

What could this be caused by ?
What could I do to discover what the problem is ?

cat /proc/version
Linux version 4.2.0-21-generic (buildd@lgw01-50) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) ) #25-Ubuntu SMP Wed Dec 2 18:42:25 UTC 2015
 
Old 12-20-2015, 02:02 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Did you buy or download the distro?
What computation are you running?
Hardware info?
 
Old 12-20-2015, 03:55 AM   #3
alexibu
LQ Newbie
 
Registered: Dec 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Cool intel_powerclamp

The problem is fixed by doing
sudo rmmod intel_powerclamp.

Apparently intel_powerclamp injects CPU doing nothing time to reduce the temperature of the CPU. So intel_powerclamp thinks the computer CPU is too hot.

And yes it is hot here - problem solved.
 
Old 12-20-2015, 08:42 AM   #4
alexibu
LQ Newbie
 
Registered: Dec 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Talking No fan control

ACPI fan control not working on Dell Precision T7500 for some reason, the CPU was being throttled by this intel_powerclamp system because it was getting too hot.

The fan control had never been working.

I could not find a fix for the fan control, it has the latest BIOS, tried acpi_osi=Linux kernel parameter, fancontrol program did not work.

I wrote a python script to control the fans based on sensor temps, see attached.
Attached Files
File Type: txt control_fans.py.txt (952 Bytes, 8 views)
 
1 members found this post helpful.
Old 12-24-2015, 08:12 AM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
And it probably is "too hot!"

Generally speaking, today's consumer microprocessors and motherboards are not designed to run at near-100 utilization ... nor even close. They overheat because they are not equipped with heat sinks sufficient to get rid of it. If the chip overheats, it will drop dead. For good.

Probably the best thing to do is to "back off." Don't attempt to run the thing at 100 utilization.

There is also another possibility that can cause performance to seriously drop, and that is virtual-memory paging. Be sure that the machine has adequate "real RAM," and that you are not doing anything that would over-commit memory. Paging causes unpredictable delays on the order of milliseconds, while also competing for use of the (probably, "only one?") disk drive.
 
Old 12-24-2015, 09:17 AM   #6
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
Thanks @alexibu - gotta get back into python properly. That'd be after some time looking at lua, ... and golang, er, and scala.

Damn, I wish these folks wouldn't invent a new language every time I go to bed ...
 
  


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
here's another unexplained happening with L.O. 1sweetwater! Linux - Software 2 02-09-2015 02:31 PM
compute the run time and sleep time of a process in kernel 2.4 quartaela Linux - Kernel 0 12-19-2012 09:44 PM
Unexplained download soptik Linux - Security 1 07-24-2009 11:16 PM
Setting System Time: kernel in wrong time zone warrenweiss Linux - General 7 05-15-2004 03:25 PM
unexplained traffic jarod Linux - Security 3 08-11-2003 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:27 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