[mdlug] Dual Core with Hyper Threading
David Lane
dcl400m at yahoo.com
Wed May 9 09:40:41 EDT 2007
I guess it is like getting a sports car, the things that make a sports car are the performance features. If you dont use them why did you pay the extra dollars?
I guess if someone has information about Tweaking and tuning Linux for current technology let me know.
I DO know that Intel's compilers are free for Linux.
And yes the whole point (or at least one) is that I develop threaded server applications. just knowing that I can squeaze a bit more performace makes spending the extra money for a CPU makes since. Having the extra performance and not using it is a waste.
David
"Ingles, Raymond" <Raymond.Ingles at compuware.com> wrote:
> From: Aaron Kulkis
> But fortunately, the Unix model (of which Linux is an implementation)
> is fully able to grow with improved hardware with little notice for
> the user... or even admins for that matter.
Well, yes. And Unix had the concept of multitasking and asynchronous
operation from the get-go, which helps when moving to multiple CPUs.
However, it's not *quite* that simple. Taking good advantage of
parallel processing takes conscious attention and design, at least on
the application level. Some problems are easy to parallelize, but others
are much harder. (The canonical example is trying to get a baby in one
month using nine women...)
And some programs can 'get away with' un-thread-safe practices on a
single-processor system, but can break badly when run on an SMP system.
Effectively they don't bother 'protecting' sections of code from
interference by other threads/processes/whatever. When there aren't any
other processes running at the same time, no biggie. But if they are
run on a multiprocessing system, Bad Things can happen.
A few of the standard Unix and ANSI C functions essentially "assumed"
one CPU in this manner. E.g. ctime(), getlogin(), the original concept of
"errno", etc. See here:
http://www.unix.org/whitepapers/reentrant.html
That being said, the conversion to 'reentrant' code is essentially
complete for Linux and has been for years. The same for the conversion
to 64-bit processing (something Windows is still having trouble with).
Your point is basically correct, of course, but I figured a little
expansion and clarification couldn't hurt. :->
Sincerely,
Ray Ingles (313) 227-2317
"It is as useless to argue with those who have renounced the use of
reason as to administer medication to the dead." - Thomas Jefferson
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
_______________________________________________
mdlug mailing list
mdlug at mdlug.org
http://mdlug.org/mailman/listinfo/mdlug
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mdlug.org/pipermail/mdlug/attachments/20070509/124901b0/attachment-0001.html>
More information about the mdlug
mailing list