Click to See Complete Forum and Search --> : how to find an info about my kernel ?
anton
09-17-2001, 06:19 PM
Hello,
is there any way to find an info about how my kernel is compiled ... for what architecture and so on ? ...
thx :)
bdg1983
09-17-2001, 06:34 PM
Impossible to find out. It's a highly kept secret...
Could you please explain exactly what you are looking for? Are you trying to find out the default configuration for the kernel installed by your distro?
If you have Intel/AMD, then you would have a kernel compiled for the x86 architecture.
www.kernel.org (http://www.kernel.org) is a great source of information.
anton
09-17-2001, 06:42 PM
I'm trying to find out for what cpu is my kernel compiled ... b/c as I understand there's great performance difference when kernel compiled to the right cpu ?
sans-hubris
09-17-2001, 06:49 PM
uname -s
There is a performance enhancement if you compile some of the x86 kernels more specifically to the x86 generation you have. By default, most distributions are compiled for i386 for reasons of compatibility. If you have anything better than an i386, you should compile for that platform.
bdg1983
09-18-2001, 05:48 AM
If you are planning on compiling your own kernel, you have plenty of options for the different processors.
#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_TOSHIBA is not set
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_SMP is not set
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y