Solved

kernel config - debug considerations

Posted on 2002-05-28
5
311 Views
Last Modified: 2013-12-16
I am customizing a kernel starting with a RedHat premade config file. I noticed kernel debug is selected as the default; however, I will be intending to use this kernel for "production" servers. What are the caveats/considerations, etc regarding this option. On one hand I want good info in the event of a problem, but not at te expense of a considerable (say 10-15%) speed hit.
0
Comment
Question by:medent
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7040030
which one do you mean?
  CONFIG_DEBUG_ERRORS
 
0
 

Author Comment

by:medent
ID: 7040051
Here is the kernel section (default redhat config)...

CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_HIGHMEM is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_IOVIRT is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_HIGHMEM_EMULATION is not set
CONFIG_KALLSYMS=y

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7040104
AFAIK you may savely unset CONFIG_DEBUG_KERNEL and also CONFIG_MAGIC_SYSRQ.
Don't know about CONFIG_DEBUG_BUGVERBOSE, probaly RH special. Probably it's useless anyway if the other 2 are unset.
0
 

Author Comment

by:medent
ID: 7041425
I realize these are optional and I can safely unset them, I am looking for details to support having this on or off, what is the performance hit with debugging on, or what happens if you have a (driver,etc) problem w/o debugging on..?
0
 
LVL 2

Accepted Solution

by:
pheur earned 200 total points
ID: 7045297
CONFIG_DEBUG_BUGVERBOSE doesn't affect performance. Just takes about 100K of memory, an affordable thing these days. It sends via printk information that aids identifying a bug, after the boggy condition occurred.
CONFIG_MAGIC_SYSRQ is even recommended in production.
About support, I can't tell you anything, it's you the one that has to look in the support contract if you have something like that. Most Linux people live very happy without OS support contracts because it's either not necessary, or the skills needed to solve various problems are available in-house. I've seen LARGE companies that use Linux and only buy support for hardware.

--
Radu-Adrian Feurdean
Brainbench Linux MVP
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question