LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-28-2006, 12:01 AM   #1
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Rep: Reputation: 15
Dual-Core Questions...


Hey all.

I just recently got a deal on a MB/CPU combo which has an Intel Pentium-D 805 processor. I know this is probably too "old hat" to a lot of you to be spending any money on, but it is still noticably faster than my Athlon XP 2600+ that it replaced.

Anyways, this is my first dual-core/SMP system I've ever had, so I've just got a few questions. I'm running Ubuntu Linux with the proper "686" SMP kernel, and `cat /proc/cpuinfo` indicates that two CPUs are being recognized.

1. The Pentium-D 805 CPU is essentially two identical "Pentium 4 with HyperThreading" cores on the same chip, correct?

2. The front of the CPU packaging (the box) mentions "Intel EM64T supporting 64-bit computing". This is a 32-bit processor, so what does this statement mean?

3. How, in general, does Linux and/or the hardware delegate what core does what in just a normal, desktop setting (i.e. running a graphical desktop with several, non-threaded applications running)? Does any given process "commit" to one core or the other, or does the processing load for each process get passed between the cores?

4. Is it possible to force a process to use one core or the other? For example, if I wanted to compile a kernel whilst still running other applications such as OpenOffice.Org and Firefox, could I have the kernel compile while using 100% of "core 0" and then have everything else run on "core 1"? This seems like it could offer some obvious usability advantages in such scenarios--namely, the desktop applications ought to run at close-to "full speed", correct?

Thanks!
 
Old 08-28-2006, 12:56 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by sancho
Hey all.

I just recently got a deal on a MB/CPU combo which has an Intel Pentium-D 805 processor. I know this is probably too "old hat" to a lot of you to be spending any money on, but it is still noticably faster than my Athlon XP 2600+ that it replaced.

Anyways, this is my first dual-core/SMP system I've ever had, so I've just got a few questions. I'm running Ubuntu Linux with the proper "686" SMP kernel, and `cat /proc/cpuinfo` indicates that two CPUs are being recognized.

1. The Pentium-D 805 CPU is essentially two identical "Pentium 4 with HyperThreading" cores on the same chip, correct?
Yes but I believe that the hyperthreading is disabled when you look at the cpuinfo is there an HT there or even a setting in the BIOS to turn it on because if there was you would see four cores in the cpuinfo if enabled.
Quote:
2. The front of the CPU packaging (the box) mentions "Intel EM64T supporting 64-bit computing". This is a 32-bit processor, so what does this statement mean?
That means you have a 64bit not 32bit cpu.
Quote:

3. How, in general, does Linux and/or the hardware delegate what core does what in just a normal, desktop setting (i.e. running a graphical desktop with several, non-threaded applications running)? Does any given process "commit" to one core or the other, or does the processing load for each process get passed between the cores?
Gets passed between the cores with load balancing if the task is multi-threaded then it gets run on both cores.
Quote:
4. Is it possible to force a process to use one core or the other? For example, if I wanted to compile a kernel whilst still running other applications such as OpenOffice.Org and Firefox, could I have the kernel compile while using 100% of "core 0" and then have everything else run on "core 1"? This seems like it could offer some obvious usability advantages in such scenarios--namely, the desktop applications ought to run at close-to "full speed", correct?

Thanks!
You can do that anyways there is no reason to not be able to run many tasks at once unless the intel processors are real dogs. On my AMD X2 I can encode a video, listen to music, download, surf the web and have many other widows open doing other things and not even notice any slowdown. You can if you want check into the schedutils package (this name on Debian might be different for your distro) which allows you to set the cpu affinity if you want/need too.
 
Old 08-28-2006, 07:26 AM   #3
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
Quote:
Originally Posted by sancho
4. Is it possible to force a process to use one core or the other? For example, if I wanted to compile a kernel whilst still running other applications such as OpenOffice.Org and Firefox, could I have the kernel compile while using 100% of "core 0" and then have everything else run on "core 1"? This seems like it could offer some obvious usability advantages in such scenarios--namely, the desktop applications ought to run at close-to "full speed", correct?
Actually it is better not to force this manually, that's because the schemes used to schedule tasks over the cores do a way better job then you do . In fact your processor does a lot of waiting on IO, in general. If you use OO.org or firefox your Pentium D will typically use between 2-5% processor time (of one core). Because of this it's probable that it takes longer to compile your kernel if it's compiled on a single core than if you let Linux do the scheduling.
 
Old 08-28-2006, 09:20 AM   #4
comptiger5000
Member
 
Registered: May 2005
Distribution: Fedora Core Since version 3
Posts: 193

Rep: Reputation: 30
the processor supports EM64T, so it is really a 64-bit processor. Pentium D processors are not hyperthreaded. only pentium extreme edition
 
Old 08-28-2006, 06:21 PM   #5
onedingo
Member
 
Registered: Jan 2006
Location: Pittsburgh, PA, US
Distribution: Arch
Posts: 69

Rep: Reputation: 20
And while you're at it, go to:
http://www.tomshardware.com/2006/05/..._41_ghz_cores/
so your processor is not too "old hat"
 
Old 08-30-2006, 10:22 AM   #6
sancho
Member
 
Registered: Sep 2003
Distribution: Ubuntu 9.04/9.10 (64-bit)
Posts: 149

Original Poster
Rep: Reputation: 15
Thanks for the responses!

So it really is 64-bit, eh? Since I installed this board/processor in a pre-existing machine running a 32-bit CPU (and, thus, a 32-bit install of Ubuntu), do I stand to gain any performance by reinstalling my OS with a 64-bit distro of Linux?

Thanks for the link, onedingo. I did hear about the overclockability of this CPU and might OC one day. However, with this ECS motherboard, I'm not going to overclock this thing by 1 MHz .
 
Old 08-30-2006, 10:41 AM   #7
comptiger5000
Member
 
Registered: May 2005
Distribution: Fedora Core Since version 3
Posts: 193

Rep: Reputation: 30
yes, you will see some benefit, but getting an smp kernel will give more, because it will enable use of both cores
 
  


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
Dual Socket Dual-Core Suse 9.3 x86_64 2.6.11 ryanhs Linux - Hardware 2 02-16-2007 04:01 AM
Dual Xeon appears as dual-core in 6.1 thanos155 *BSD 4 05-19-2006 12:00 PM
Questions about dual booting, dual hard drives, and partitioning Raybrandt Linux - Newbie 4 04-22-2006 08:19 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 - Hardware

All times are GMT -5. The time now is 12:34 AM.

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