LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-02-2007, 11:23 AM   #1
bughead1
Member
 
Registered: Jul 2002
Posts: 78

Rep: Reputation: 15
SMP performance gains?


Some (okay, all) of my server machines are getting a bit old and creaky and I'm looking at some much needed hardware upgrades at our small (very small) business. I run Slackware on almost everything, including X terminal workstations, except for one PC DOS and two Win 98 boxes that run legacy industrial apps and keep their data in sync via a slackware Samba/NFS/print server.

I've been thinking about dual core/dual processor machines, particularly as an upgrade to the PIII XDMCP server that all the X terminals connect to, but also on the Samba server.

A friend loaned/gave me an old 200 MHz Pentium Pro dual processor box with 256 MB and both IDE and scsi to experiment with and I set it up with Slackware 11 and the generic 2.6.17 smp kernel from "extra." Seems to work fine, but the thing is, it's old too and I really don't have much to compare it with. By my casual observations, I'd say this dual processor box seems to multi-task with KDE and desktop apps as well or better than a much faster PII with the same amount of ram, but that could be the result of cache, or scsi, or my imagination, or whatever. I wouldn't know how to run, or interpret, any sort of benchmarking test if my life depended on it...I'm the administrator only because I can't run away very quickly.

So, the question being, have any of you really had an opportunity to compare smp performance versus single core/single processor performance in a multi-user environment running typical desktop apps like openoffice in KDE, and if so, did you conclude that this sort of use warrants the additional expense of SMP, or did the results persuade you that a faster, single processor machine, was the way to go?

As I said, this is a very small business, and number crunching/database stuff is minimal.
 
Old 06-02-2007, 12:02 PM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Quote:
Originally Posted by bughead1
I'm the administrator only because I can't run away very quickly.
Funny...

Well, to the best of my knowledge, said program has to take advantage of using 2 procs to begin with. But, I'm not overly knowledgeable on this subject. The only real performance gain I see on my core 2 duo machine is when I'm compiling something with MAKEOPTS set. But then, that's a function of GCC that allows for the use of a multi core system...

But, I think even a newer single proc box would outshine what your running now. Maybe you should rather focus on an actual MHZ speed increase rather than multiple procs? Just a thought. Atleast that wouldn't break the bank and you would definately notice some performance gains.
 
Old 06-02-2007, 12:12 PM   #3
bughead1
Member
 
Registered: Jul 2002
Posts: 78

Original Poster
Rep: Reputation: 15
Sort of what I was wondering...an application like openoffice would probably have to be built to take advantage of dual processors...BUT...

Just as a "for instance"...suppose I have four or five users logged in on the XDMCP/application server. Most of them are running, say, Firefox and openoffice, at the same time...would there be a division of duties between the two processors, so that even though the application might only utilize one processor, different sessions might be operating on different processors for an overall performance gain?
 
Old 06-02-2007, 12:51 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, I have a desktop and a laptop. They both have 1GB RAM, and P4 processors. The desktop has a 3.06 GHz HT (SMP), and the laptop has 2.80 GHz. Other than that they are quite similar (except graphics cards). The desktop is much faster than the laptop in everything. Now, I know a P4 doesn't really have 2 cores, but it does have 2 virtual processors. This helps most in multitasking and I estimate results in a 20-25% performance increase ...
 
  


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
SMP vs Non-SMP Kernel questions paulsiu Linux - Kernel 1 05-29-2007 03:58 PM
compiling programs on an smp pc to use on non smp pc Carpo Slackware 5 03-22-2007 03:52 PM
LXer: Linux 2.6 scheduler improves JVM, SMP, real-time performance LXer Syndicated Linux News 0 07-06-2006 09:03 AM
SMP kernel performance not good? kornelix Linux - Software 12 03-21-2006 06:15 PM
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 07:06 AM

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

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