LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-02-2007, 07:16 PM   #1
matuk_444
Member
 
Registered: Aug 2005
Posts: 133

Rep: Reputation: 15
single core to dual core


I have updated the BIOS, do I need to recompile the kernel and if I do, how would I go about it?

Mat
 
Old 02-02-2007, 07:47 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You will need to recompile the kernel and enable SMP for multiple processors.

Brian
 
Old 02-02-2007, 08:05 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
...recompile the kernel...
Depends on the distro. I know Debian stock kernels are fine for single or multiple processors, and I assume some other distros do the same.
 
Old 02-03-2007, 01:36 AM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Before you go about recompiling the kernel, it might have already recognized your dual core.

Code:
cat /proc/cpuinfo
you can also run the `top` command and press 1 to alternate CPU's.

If not, then yes, you have to enable this in your kernel

Last edited by Micro420; 02-03-2007 at 01:38 AM.
 
Old 02-03-2007, 03:52 AM   #5
matuk_444
Member
 
Registered: Aug 2005
Posts: 133

Original Poster
Rep: Reputation: 15
I get the following output:

processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 35
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
stepping : 2
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
bogomips : 2001.59
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 35
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
stepping : 2
cpu MHz : 1000.000
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm cmp_legacy
bogomips : 2001.59
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

I guess that says it recognises both my cores. However, when I play any mpeg files, it always seems to pause and I have to shut down as nothing will work. I thought that my kernel needed to be tweaked for dual core. So what does this seem to be?

Mat
 
Old 02-03-2007, 08:47 AM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
It still may need recompiled but not familiar with Suse/Novell items where this is listed.

Now just because you are now using an smp kernel it does not necessary speed things up. It allows one to do more things at the same time. Example if Firefox starts up on cpu0 then it stays on cpu0 for the most part. So the next app would start on cpu1 and mostly do all its work on cpu1. So things that can vary is running extra scripts from within the app.

The one example I can give you is when building a kernel when you use the ' make ' command use ' make -j4 '. This will start the first build process on cpu0, Start the next on cpu1 and then put one in wait statefor each one for the next to start to build. Roughly cuts the build time in half. To see this I have have gkrellm installed and the show the cpu usage on each processor.

As far as mplayer stalling. Do you mean it halts the system and requires a reset?

If so it can be anything from the video card, its drivers, other hardware maybe failing, power supply failing. It can be so many things. Posting info on hardware specs and what they are using in modules might help.

How much ram to you have?
Is it good? Run memtest to check it out.
How much ram on videocard?
Type of video card?
Module it is using? Details from /etc/X11/xorg.conf can show most of that.
Kernel version you are running?
Distro and version you are running?

Brian
 
Old 02-03-2007, 01:35 PM   #7
matuk_444
Member
 
Registered: Aug 2005
Posts: 133

Original Poster
Rep: Reputation: 15
When Mplayer starts a video, it may go on without locking the PC up but if I skip on to another part of the video then it is prone to freezing the entire system, I then have to shutdown the system.

I have 1GB of Ram, The graphics card is GeForce 6600. I am using the xgl instead of xorg as I wanted the pretty graphics. I downloaded opensuse 10.2 straight out of the box so to speak.

I haven't had this problem before with the old single core.

Mat
 
Old 02-03-2007, 02:35 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Now some things cause problems under smp kernels. I would look into the xgl website and see if it mentions smp issues. Same applies to some nic drivers and a host of others. Sometimes it may only apply to just that version when a fix is applied to the newer release. I no really good idea of tracking down other than installing newer apps, drivers, and kernel or downgrading as well. Just a trial and error routine.

Brian
 
Old 02-03-2007, 02:50 PM   #9
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Can you try running mplayer from the terminal? This way, when it locks up, you will be able to see the output
 
  


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
multi threading slower than single threading on dual core. why? nebojsa.andjelkovic Programming 13 01-30-2007 09:56 PM
Intel Core Duo Vs Dual core zeky Linux - Hardware 4 09-23-2006 02:36 AM
High clock freq. single core or lower clock freq, dual core? ferentix Linux - General 3 04-27-2006 02:35 PM
Fedora Core 4 x86_64 on a Shuttle XPC SN25P with an AMD 64 X2 (Dual core) gwiesenekker Linux - Hardware 4 12-06-2005 11:53 PM
Dual processor vs. Dual core cs. single on home machine fincher69 Linux - Hardware 3 03-04-2005 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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