LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-17-2009, 09:23 AM   #1
Optimistic
Member
 
Registered: Jun 2004
Location: Germany
Distribution: Debian (testing)
Posts: 276

Rep: Reputation: 33
Best kernel for Pentium Dual-Core?


I've read some conflicting info. Should I be looking at the smp kernels or the amd64 kernels? Is there much of a performance difference?

My main reason for going dual-core is so I can assign heavy tasks to one cpu while not experiencing much slowdown in other tasks. Would one kernel do this better than the other?

My Processor: Pentium Dual-Core E5200
 
Old 03-17-2009, 09:30 AM   #2
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
As far as I know, all the kernels except the -486 ones are SMP enabled now in Debian. If you are doing very intensive work, you may get a boost out of compiling your own kernel (aiming it at your processor and changing the default preemption model and timer frequency). But in many cases, the default settings are more than good enough.
 
Old 03-17-2009, 10:24 AM   #3
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by Optimistic View Post
Should I be looking at the smp kernels or the amd64 kernels? Is there much of a performance difference?
I think you're effectively asking between a 32bit kernel with smp support and a 64bit kernel with smp support.

The amount of performance difference very much depends on the type of programs you are running. But usually not much difference.

Quote:
My main reason for going dual-core is so I can assign heavy tasks to one cpu while not experiencing much slowdown in other tasks. Would one kernel do this better than the other?
Comparing 32bit vs 64bit kernels, there should be no difference in your ability to limit the heavy tasks in order to keep the high priority tasks responsive.

Forcing all the "heavy" tasks onto one core is a fair amount of effort and not necessarily a great approach for your intended purpose (but equally hard and equally effective for 32 bit vs 64 bit). Most likely almost all the responsiveness benefit you could have gotten by that restriction is available just from having dual core and setting lower priority for the "heavy" tasks.

Almost all Linux kernels do not prioritize memory use according to cpu priority. So if your "heavy" tasks are heavy in memory use, they may make your high priority tasks very non responsive regardless of strategies such as limiting them to a single core or lowering their priority, etc. That can be a hard problem to solve (short of simply having more physical ram than your heavy tasks use).

If those heavy tasks do a lot of file I/O as well, they may fill ram with file caching, again making high priority tasks less efficient. If that is an issue, you can reduce the value of "swappiness" to reduce the file caching (and performance) of tasks that do a lot of file I/O in favor of responsiveness of tasks that don't do a lot of file I/O.
 
Old 03-17-2009, 12:00 PM   #4
Optimistic
Member
 
Registered: Jun 2004
Location: Germany
Distribution: Debian (testing)
Posts: 276

Original Poster
Rep: Reputation: 33
So, are there any reasons to go with one rather than the other (32 bit versus 64) since both have smp support? Will 32 bit software run on the 64 bit kernel if I can't find a 64bit version?
 
Old 03-17-2009, 12:21 PM   #5
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by Optimistic View Post
Will 32 bit software run on the 64 bit kernel if I can't find a 64bit version?
Not being able to find a 64bit version is very rare. But if you're worried about that:

Most AMD64 Linux distributions include support for running 32bit applications. That feature is generally called "multi-lib". If the distribution says the AMD64 variant is "multi-lib", it supports 32-bit as well. If it doesn't say, it probably still supports 32bit as well (but you might want to ask).

Many 32bit applications will require that you install some extra 32bit support packages that aren't part of base install of the distribution and may not have an obvious name relative to the listed dependencies of that 32bit application. But the problem usually isn't hard to solve.

In Debian based distributions, in worst case, you can fall back on trying the application and seeing which file is missing, then use either apt-file or a convenient web page within the Ubuntu site (don't have the URL handy) that tells you which Debian packages have a specific file. (Then install that package and try again, usually finding another package you need next).

In Red Hat based distributions, that process is a little different, but probably not harder.
 
Old 03-26-2009, 02:16 AM   #6
choronozon
LQ Newbie
 
Registered: Mar 2009
Distribution: Debian lenny & squeeze servers. Mint 13 and 14 desktops
Posts: 16

Rep: Reputation: 2
I tried the AMD64 on this dual core celeron..but frankly the messiness of dragging in 32 bit support libraries some of which didn't seem to exist..wore me down, and I went 32bit.

I think if you want an easy life, stay 32 bit for now. It plays nice with the twin cores Most 3rd party stuff out there is 32 bit still..

If you want to play and spend time getting awkward stuff working, try the 64..
 
Old 03-26-2009, 02:55 AM   #7
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
64bits mostly make sense if you want to use more than 2-3G memory. 32bit apps can only address up to 2G, 32bit kernels usually either 4 or 64G (depending on if PAE is enabled). Debian & ubuntu (5.0 & 8.04) default to 4G. 64bit apps and 64bit kernel address a lot more (2^64 bits), your motherboard is the limit.

About the apps, the only significant missing app in my opinion is the java plugin for browsers. Obviously there are more stuff, e.g. I just learned secondlife only exists in 32bit version.

64bit may or may not be (slightly) faster, depending what you are doing. http://en.wikipedia.org/wiki/64bit gives you some background.
 
Old 03-26-2009, 11:57 AM   #8
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
Originally Posted by otoomet View Post
64bits mostly make sense if you want to use more than 2-3G memory. 32bit apps can only address up to 2G, 32bit kernels usually either 4 or 64G (depending on if PAE is enabled). Debian & ubuntu (5.0 & 8.04) default to 4G. 64bit apps and 64bit kernel address a lot more (2^64 bits), your motherboard is the limit.

About the apps, the only significant missing app in my opinion is the java plugin for browsers. Obviously there are more stuff, e.g. I just learned secondlife only exists in 32bit version.

64bit may or may not be (slightly) faster, depending what you are doing. http://en.wikipedia.org/wiki/64bit gives you some background.
Java is available for Linux x86_64,here's a link:

http://www.java.com/en/download/manual.jsp

Regards.
The trooper.
 
Old 03-26-2009, 01:11 PM   #9
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
I use Lenny 64bit and the Java browser plugin works fine. 64-bit Flash (nonfree), too.
 
Old 03-27-2009, 02:27 AM   #10
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
64bit java exists. 64bit java plugin??? I haven't heard of that. Do you use 32-bit plugin or is full 64bit plugin out?

Code:
siim@Shiva:~$ LC_ALL="C" dpkg -l sun-java*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                         Version                      Description
+++-============================-============================-========================================================================
un  sun-java5-jre                <none>                       (no description available)
ii  sun-java6-bin                6-10-0ubuntu2                Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
un  sun-java6-demo               <none>                       (no description available)
un  sun-java6-doc                <none>                       (no description available)
ii  sun-java6-fonts              6-10-0ubuntu2                Lucida TrueType fonts (from the Sun JRE)
ii  sun-java6-jdk                6-10-0ubuntu2                Sun Java(TM) Development Kit (JDK) 6
ii  sun-java6-jre                6-10-0ubuntu2                Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files
un  sun-java6-jre-headless       <none>                       (no description available)
un  sun-java6-plugin             <none>                       (no description available)
un  sun-java6-source             <none>                       (no description available)
Code:
siim@Shiva:~$ sudo apt-get install sun-java6-plugin
[sudo] password for siim: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package sun-java6-plugin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-plugin has no installation candidate
Code:
siim@Shiva:~$ uname -a
Linux Shiva 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
This is Ubuntu 8.10.
 
Old 03-27-2009, 08:20 AM   #11
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
64bit java exists. 64bit java plugin??? I haven't heard of that. Do you use 32-bit plugin or is full 64bit plugin out?
Did you follow the link i posted?
 
Old 03-27-2009, 10:19 AM   #12
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Native 64-bit Java plugin is in Debian as of 5.0. Sorry, don't know about Ubuntu.
 
Old 04-14-2009, 02:17 AM   #13
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
I couldn't find the plugin at the link the trooper posted. But the debian version was easy to install.

Thanks!
Ott
 
Old 04-14-2009, 05:06 AM   #14
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
Originally Posted by otoomet View Post
I couldn't find the plugin at the link the trooper posted. But the debian version was easy to install.

Thanks!
Ott
That's because the link was not for a Ubuntu flashplugin.

Quote:
This is Ubuntu 8.10.
Why use a Debian package?
If you want to risk using Debian packages in Ubuntu that's up to you.
I took the time to Google the Ubuntu version,it's in Jaunty:

http://packages.ubuntu.com/jaunty/sun-java6-plugin

Was that so hard?

Last edited by the trooper; 04-14-2009 at 01:12 PM.
 
  


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
Pentium D - Dual-Core problem DragonWisard Linux - Hardware 3 05-25-2008 09:41 PM
Pentium D 840 3.2GHz Dual-Core Processor bchaynes3 Linux - Hardware 3 09-01-2006 06:46 PM
pentium 930 dual core mikeymouse Ubuntu 1 06-30-2006 05:48 PM
Pentium D 820 Dual Core?? ingzee Linux - Hardware 2 06-01-2006 05:41 AM
It's possible runnig redhat 7 on a Pentium dual core guixzats Red Hat 4 11-14-2005 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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