Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Very bad performance with recent kernels
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1152
Location: Austria

PostPosted: Thu Jul 25, 2013 4:43 pm    Post subject: Very bad performance with recent kernels Reply with quote

Hi guys,

I am facing the problem, that my laptop performance gets worse every new kernel version. Recently I discovered ksoftirqd (8 processes!) hogging up most of the CPU.

The box is a Lenovo Thinkpad W530

Code:
freya ~ # lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K2000M] (rev a1)
02:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 08)
02:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 3e)
freya ~ #


Kernel Config: http://bpaste.net/show/117296/

any ideas?

regards
Rei
_________________
Blog | btrfs | Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6253
Location: Goose Creek SC

PostPosted: Thu Jul 25, 2013 5:21 pm    Post subject: Reply with quote

http://askubuntu.com/questions/7858/why-is-ksoftirqd-0-process-using-all-my-cpu
discussion
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=39308 says following fixes:
I did find out how to fix this. In the kernel command line (/etc/grub.conf), add "nohz=off"

my kernel which is sourced from pappy's kernel seeds has
Quote:
#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_HZ_PERIODIC=y
# CONFIG_NO_HZ_IDLE is not set
# CONFIG_NO_HZ_FULL is not set
# CONFIG_NO_HZ is not set
CONFIG_HIGH_RES_TIMERS=y
which appears to be another way to do the same thing. I have no independent knowledge of timers subsystem.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6253
Location: Goose Creek SC

PostPosted: Thu Jul 25, 2013 5:31 pm    Post subject: Reply with quote

dupe
_________________
Defund the FCC.


Last edited by DONAHUE on Sun Jul 28, 2013 3:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1152
Location: Austria

PostPosted: Sun Jul 28, 2013 2:46 pm    Post subject: Reply with quote

this is pretty weird. Looks like the tickless system is an issue
_________________
Blog | btrfs | Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
handsoul
n00b
n00b


Joined: 20 Mar 2012
Posts: 10
Location: Xi'an

PostPosted: Sat Aug 24, 2013 3:40 pm    Post subject: CONFIG_NO_HZ_FULL seems to cause the problem. Reply with quote

for kernel version >= 3.10, Set the option as following might help.

Code:
General setup >
  Timers subsystem->
    Timer tick handling (Idle dynticks system (tickless idle)) ->
        ( ) Periodic timer ticks (constant rate, no dynticks)       
        (X) Idle dynticks system (tickless idle)
        ( ) Full dynticks system (tickless)


if you choose "Full dynticks system" here , wired things might happen: all cores keep runing at the full frequence , and cpu frequence scaling settings do not have any effect. I've no idea about this. The problem's seen on i3-2330M.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1533
Location: Just over the horizon

PostPosted: Sat Aug 24, 2013 4:10 pm    Post subject: Reply with quote

ToeiRei wrote:
this is pretty weird. Looks like the tickless system is an issue


According to Linus, full-tickless is not quite ready for prime time...it's evolving, but not there yet:

http://lwn.net/Articles/549580/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum