LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-20-2017, 04:08 PM   #1
smudge
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 22

Rep: Reputation: 0
Tickless kernel / Configure boot cpu?


Hi,
I'm trying to set up a tickless kernel, and I would like CPU1 to be my maintenance CPU. However, CPU0, keeps getting removed from the nohz_full range. I added nohz_full=0,2-15 to my the kernel startup arguments. I see this in the dmesg:

Code:
[    0.000000] NO_HZ: Clearing 0 from nohz_full range for timekeeping
I can confirm every cpu except 0 and 1 are in tickless mode. According to the kernel documentation:

Code:
nohz_full=      [KNL,BOOT]
                        In kernels built with CONFIG_NO_HZ_FULL=y, set
                        the specified list of CPUs whose tick will be stopped
                        whenever possible. The boot CPU will be forced outside
                        the range to maintain the timekeeping.
                        The CPUs in this range must also be included in the
                        rcu_nocbs= set.
The nohz_full should have set the boot CPU outside the range, which is CPU1. Instead it cleared 0 from the nohz_full range. Is there a way to force the boot cpu?

I'm using kernel 3.10.
 
Old 05-20-2017, 05:31 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
I would doubt it. Chicken-and-egg scenario - the kernel has to already be active to parse the parms you passed it.
Back when I last was interested enough to investigate this, the kernel always loaded in single-CPU mode, then checked for and activated additional processors. Possibly still the case.
 
  


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
tickless kernel, 300 Hz timer solarfields Slackware 7 03-13-2011 09:01 AM
Tickless Kernel yet still get many IRQ0 timer interrupts sixerjman Linux - Kernel 2 02-23-2011 02:31 AM
tickless kernel? mcnalu Slackware 8 12-24-2009 04:16 AM
LXer: Linux: Reviewing The Tickless Kernel For x86-64 LXer Syndicated Linux News 0 07-13-2007 01:17 AM
LXer: The Impact Of A Tickless Kernel LXer Syndicated Linux News 0 02-25-2007 06:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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