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 |
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.
|
Quote:
The amount of performance difference very much depends on the type of programs you are running. But usually not much difference. Quote:
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. |
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?
|
Quote:
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. |
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.. |
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. |
Quote:
http://www.java.com/en/download/manual.jsp Regards. The trooper. |
I use Lenny 64bit and the Java browser plugin works fine. 64-bit Flash (nonfree), too.
|
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* Code:
siim@Shiva:~$ sudo apt-get install sun-java6-plugin Code:
siim@Shiva:~$ uname -a |
Quote:
|
Native 64-bit Java plugin is in Debian as of 5.0. Sorry, don't know about Ubuntu.
|
I couldn't find the plugin at the link the trooper posted. But the debian version was easy to install.
Thanks! Ott |
Quote:
Quote:
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? |
All times are GMT -5. The time now is 01:10 PM. |