Public bug reported:

Since Karmic is now in beta and converged on a near-final kernel and
configuration, (as a kernel-level developer) I conducted a full kernel
configuration audit on x86-64 and found some gotchas. This is inline
with keeping Karmic the best ever Ubuntu release.

Since most of these options have been in production upstream for a good
time and are stable, we have a short window to act. Commented config
options are considered more important.

-> crucial config options which should be enabled (or justify why disabled)
X86_MCE - allows processor to report corrupt state; no overhead
X86_PAT - allows Xorg to mark framebuffer pages write-combining. MTRRs are 
frequently incorrect, giving a heavy graphics penalty; also needed for 
high-performance PCI adapters
DMAR, INTR_REMAP - important on newer (large?) Intel platforms
FRAMEBUFFER_CONSOLE_DETECT_PRIMARY - prevents PCI bus scan ordering from 
getting the 'wrong' graphics head when multiple; no impact otherwise

-> development environment config options, should be disabled for production:
DEBUG_MEMORY_INIT - expensive
OPTIMIZE_INLINING - previous benchmarks show asm bitops being uninlined, 
causing performance degredation; disable until proven good?
UNUSED_SYMBOLS - prevent symbol table bloat
SCHED_DEBUG - adds a small run-time penalty, measurable at high context-switch 
rate
EARLY_PRINTK - only useful for developing on new hardware; adds a small setup 
time at boot perhaps
STRIP_ASM_SYMS - remove unneeded internal symbols
KPROBES - largely replace by trace points
K8_NUMA - deprecated by ACPI NUMA detection
CPU_FREQ_STAT - needed by powertop?
ANDROID - only useful on android hardware
INOTIFY - deprecated by other kernel implementation, exporting same interface 
to userspace
LEGACY_PTYS - only useful for quite old userspace
SND_SUPPORT_OLD_API - only needed for really old alsalibs
IEEE1394, IEEE1394_DV1394 - only used by old lib1394 userspace
AMD_IOMMU_STATS
PM_TEST_SUSPEND
PCI_LEGACY
PCMCIA_IOCTL
NF_CONNTRACK_PROC_COMPAT
NET_ACT_SIMP
IRDA_DEBUG
CFG80211_REG_DEBUG
MAC80211_DEBUGFS
MTD_MTDRAM
MTD_DOC2000
MTD_DOC2001
MTD_DOC2001PLUS
MTD_ONENAND_SIM
MTD_ONENAMD_VERIFY_WRITE
PARPORT_PC_PCMCIA
PNP_DEBUG_MESSAGES
AIC7XXX_DEBUG_ENABLE
AIC79XX_DEBUG_ENABLE
SCSI_MVSAS_DEBUG
SCSI_LPFC_DEBUG_FS
SCSI_DEBUG
MD_FAULTY
FUSION_LOGGING
I2O_CONFIG_OLD_IOCTL
8139TOO_PIO
MAC80211_HWSIM
ATH9K_DEBUG
LIBIPW_DEBUG
B43LEGACY_DEBUG
ISDN_I4L
VIDEO_ALLOW_V4L1
SND_DUMMY
SOUND_PRIME
USB_GADGET_DUMMY_HCD
USB_ZERO
INFINIBAND_AMSO1100_DEBUG
INFINIBAND_IPOIB_DEBUG
THINKPAD_ACPI_DEBUGFACILITIES
JFS_STATISTICS
OCFS2_FS_STATS
QFMT_V1
AUTOFS_FS - 
JFFS2_COMPRESSION_OPTIONS
SECURITY_SELINUX

-> config options beneficial for power-saving:
PCIEASPM - potential compatibility issues - perhaps leave for future release
CPU_FREQ_DEFAULT_GOV_ONDEMAND - presently on performance governor, for bootup 
speed, right?
SND_AC97_POWER_SAVE_DEFAULT=1, SND_HDA_POWER_SAVE_DEFAULT=1 - were these 
evaluated before?

-> config options which should be enabled for full expected functionality:
CORE_DUMP_DEFAULT_ELF_HEADERS - we have new enough GDB for this
AIC7XXX_CMDS_PER_DEVICE=32 - help text says default is 32, so why 8?
SCSI_SYM53C8XX_DEFAULT_TAGS=32 - help text says default is 32, so why 8?
NFS_FSCACHE, AFS_FSCACHE - very useful over low-performance links
ASYNC_TX_DMA - used on newer platforms
HEADERS_CHECK - ensure incorrect definitions don't leak into userspace headers
BLK_DEV_BSG - important feature for some newer (eg SAS) SCSI controllers
NETFILTER_XT_TARGET_TCPOPTSTRIP
NET_DROP_MONITOR
CAN_CALC_BITTIMING
MTD_ONENAND_OTP
PARPORT_PC_SUPERIO
PARIDE_EPATC8
PATA_HPT3X3_DMA
DM_LOG_USERSPACE
ENC28J60
TULIP_MWI
TULIP_MMIO
TULIP_NAPI
FORCEDETH_NAPI
R6040
DL2K
IWLWIFI_SPECTRUM_MEASUREMENT
B43LEGACY_DMA_MODE
PC300TOO
SBNI_MULTILINE
DEFXX_MMIO
ROADRUNNER_LARGE_RINGS
NETPOLL_TRAP
MOUSE_PS2_TOUCHKIT
INPUT_APANEL
ISI
LP_CONSOLE
HP_WATCHDOG
SSB_PCMCIAHOST
REGULATOR_FIXED_VOLTAGE
USB_GSPCA_SN9C20X_EVDEV
LEDS_CLEVO_MAIL
ACCESSIBILITY
A11Y_BRAILE_CONSOLE
INFINIBAND_NES
OTUS
STLC45XX
VT6655 (?)
GFS2_FS_LOCKING_DLM
JFFS2_SUMMARY
JFFS2_FS_XATTR
IMA

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
karmic kernel configuration gotchas...
https://bugs.launchpad.net/bugs/446480
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to