🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5872

Re: How can i use AMD Dual-Core computer ?

#5872
From: Bob Gonder
Date: Tue, 28 Jun 2005 16:31
32 lines
2276 bytes
Daniel wrote:

>I'm talking about Windows-XP Home Edition version, if i'll build

I don't recall if XP-Home supports SMP or not.

>that kind of application (with 2 threads for the calculation
>function) using the old Builder 4.0,

Builder is irrelevant.
The issue is with the OS, and your Win32 code.

> AND i try to run it on this
>computer, will it run 2 times faster then the same PC with only
>one core? will it run 80% faster? 50% faster? 30% faster?
>
>"Maybe" is very nice, but i would like to get a little more 
>Determined Answer.... where are all the experts of this forum?

"Maybe" is all you will ever get without building the application and
running it. There are too many variables.

Reasons not to run twice as fast:
The OS could schedule other things, stalling a thread.
There could be memory contention between the two CPUs
There could be a difference in cache hits or page faults.
Or, it could go quite well, and run twice as fast (for a while).

Some of the above reasons have to do with your code, and how well it
is written to take into account the CPU's weaknesses and strengths.

It's all very "iffy" in the real world. Try it and find out.
Technical Details
Message-ID: <gmt2c1duvdgggvd0lg8j9tous0p46c846p@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42bfd4c7@newsgroups.borland.com> <bmf0c1thchuiqsj088mfgfs2403si61g5c@4ax.com> <42c0edd2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3c25e24c9f38e644
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How can i use AMD Dual-Core computer ? 
Date: Tue, 28 Jun 2005 09:31:13 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <gmt2c1duvdgggvd0lg8j9tous0p46c846p@4ax.com>
References: <42bfd4c7@newsgroups.borland.com> <bmf0c1thchuiqsj088mfgfs2403si61g5c@4ax.com> <42c0edd2$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.37.224
X-Trace: newsgroups.borland.com 1119976273 67.77.37.224 (28 Jun 2005 09:31:13 -0700)
Lines: 34
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail