LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 12-06-2007, 09:16 AM   #1
Coyote34
LQ Newbie
 
Registered: Oct 2007
Posts: 13

Rep: Reputation: 0
Processor Type for Xeon Quad on Kernel 2.6.18


Helo, folks!

I have installed Debian 4 on a computer with two Xeon Quad. But when I ask some taks, the cpu use reachs only 12-20%. What processor type should I use? I am using 586/686... The SMP and Dual Core options are on.

[CODE]
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.18
# Wed Nov 28 12:35:33 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
# CONFIG_CPUSETS is not set
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=""
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# Block layer
#
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_AS is not set
CONFIG_IOSCHED_DEADLINE=y
# CONFIG_IOSCHED_CFQ is not set
# CONFIG_DEFAULT_AS is not set
CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="deadline"

#
# Processor type and features
#
CONFIG_SMP=y
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
CONFIG_M586=y
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_PPRO_FENCE=y
CONFIG_X86_F00F_BUG=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_ALIGNMENT_16=y
# CONFIG_HPET_TIMER is not set
CONFIG_NR_CPUS=8
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
# CONFIG_PREEMPT_BKL is not set
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCE_NONFATAL is not set
# CONFIG_X86_MCE_P4THERMAL is not set
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
 
Old 12-07-2007, 06:34 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
Not exactly sure what your problem is here. Do you want to see if your core(s) will fully load? If so then install the cpuburn package and use something like burnMMX || echo $? & in a console/console window eight times which will be one for each of your cores then use top and hit the 1 key to show you all eight processors in the output which should be at ~100% load. Now you will want to be monitoring the temperature of your cores when doing this as they will get hot. You will probably never see a fully loaded all eight cores in your machine doing anything other than this as your machine would have to be running a whole lot of processor intensive processes at the same time with the processes being multi-threaded at the same time so they would take advantage of the extra cores as well to have a full load on the machine. To get ~80-90% load on my quad core I had to for instance re-encode a video, compile kdebase and compile the kernel with make -j5 a few times in a row all at the same time, just to give you an idea of what it takes to load them up.
 
Old 12-07-2007, 06:58 PM   #3
wraithe
Member
 
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Blog Entries: 1

Rep: Reputation: 30
one way i know to load a cpu up, and best bit is it helps others...

download boinc and do some work units for a couple of groups, ie einstein@home, climateprediction.net, seti@home, rosetta...
thats a couple for you, and they all help the world...


when you set the preferences, set cpu usage to 100%, and watch the temp rise, oh and ensure your ready for the slow down...it will, but you may not notice until you try to do a few things at once...

one other thing, with the algorithms being used today, i dont think a quad core would use more than about 50% in general use, except maybe processing something that is cpu intensive, like encoding, or compiling...
 
Old 12-07-2007, 07:55 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,821

Rep: Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924Reputation: 924
12% would be one engine - doesn't sound like it's threaded.

No need to trash the box - just use a small background script to loop forever. Kick off 10 of them - they each run a CPU to 100%, but easily interrupted.
As above use top to split out the CPUs.
 
Old 12-10-2007, 05:54 AM   #5
Coyote34
LQ Newbie
 
Registered: Oct 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks syg00.

But I believe there is something wrong. I have a Pentium-D 3.2 that consumes 24 s to run a mysqls task. The same task on my xeon quad takes 28s. I believe the xeon quad is operating just one cpu. On the Kernel config smp and multi core are ON.

What processor type should I use on kernel 2.6.18?

Pentium III
Pentium 4
Pentium M
586/686
?

Thanks
 
Old 12-10-2007, 10:42 AM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
Quote:
Originally Posted by Coyote34 View Post
Thanks syg00.

But I believe there is something wrong. I have a Pentium-D 3.2 that consumes 24 s to run a mysqls task. The same task on my xeon quad takes 28s. I believe the xeon quad is operating just one cpu. On the Kernel config smp and multi core are ON.

What processor type should I use on kernel 2.6.18?

Pentium III
Pentium 4
Pentium M
586/686
?

Thanks
At least the 686 option and if the mysql task is not multi-threaded then yes it will only use one core and if the Pentium D is running at a higher clock rate then it will most times win over a slower clocked Xeon.
 
Old 12-10-2007, 11:00 AM   #7
Coyote34
LQ Newbie
 
Registered: Oct 2007
Posts: 13

Original Poster
Rep: Reputation: 0
How to put mysql to multi-threat?

Thanks.

Yes you are correct, the clock for Pentium D is 3.2 MHz.

But How can I put mysql to multi-threat?

Last edited by Coyote34; 12-10-2007 at 11:01 AM.
 
Old 12-10-2007, 11:20 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 62
Quote:
Originally Posted by Coyote34 View Post
Thanks.

Yes you are correct, the clock for Pentium D is 3.2 MHz.

But How can I put mysql to multi-threat?
You don't if it has already been coded that way it should use it by default unless there is some start option you need to pass to enable it or if you know how to change source code yourself to make it multi-threaded then that would work. I think you may need to get in contact with a mysql list to see how others are running it or maybe start a new thread here on the problem and see if someone knows about how to do what you want.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting Processor Type in Kernel Configuration dwhitney67 Linux - Kernel 5 08-30-2007 04:58 AM
Xeon - HyperThreading - Dual Processor becoming Quad grant-skywalker Linux - Enterprise 5 02-08-2006 06:58 AM
Quad-Xeon Mobo required with RedHat 8 support fishsponge Linux - Hardware 0 08-16-2004 08:06 AM
IBM Netfinity 7000 QUAD XEON Species8472 Linux - Hardware 0 05-12-2004 05:27 PM
kernel for redhat as 2.1 with Xeon processor bmahesh Red Hat 0 04-02-2004 05:39 AM


All times are GMT -5. The time now is 11:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration