[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Quad-core test results



PureBytes Links

Trading Reference Links

OK, the BIOS reports 8M memory cache and I found an article online that says it comes in the form of 2x4M so I guess Belarc couldn't figure it out and I am good to go...  8 - )
----- Original Message -----
Sent: Friday, May 23, 2008 11:14 PM
Subject: Re: [amibroker] Quad-core test results

Hi Fred - OK, here it comes...
 
Primary
-----------
1 CPU - Intel Pentium 4, 2.6 GH, 800FSB
1 core w/ hyper-threading
8K primary memory cache, 512K secondary memory cache
2.5G total memory, DDR SDRAM at 400MH
Bus Clock - 800MH
WinXP Pro, SP3
 
Quad-Core
-----------------
1 CPU - Intel Core2 Q6600, 2.4 GH, 1066 FSB
quad core
64K primary memory cache, supposedly 8M secondary memory cache but Belarc Advisor only reports 4M, will have to look into this tomorrow...
4G total memory, DDR2 SDRAM at 800MH
Bus Clock - 266MH ( x 4 cores I believe )
WinXP Pro, SP3
 
 

----- Original Message -----

Sent: Friday, May 23, 2008 6:16 PM
Subject: Re: [amibroker] Quad-core test results

Hi Fred - Re 10X vs. 2.5X, I guess I was looking at it in terms of work done per unit of time, i.e. the quad-core will do 4 of these opts in 1/2 hour, whereas the primary machine would take 1.25 x 4 = 5 hours to do the same work. But actually it just occurred to me that I am shortchanging the primary machine - I guess I didn't think of it earlier because, as a practical matter, I never load up this machine with multiple opts anyway as I need to use it for other things throughout the day. But anyway, the primary box ( Pentium 4 ) has only one CPU but it has hyper-threading. I don't know if this is the same technology as dual-core but it does show up as 2 CPU's in Task Manager. So just now I decided to try running multiple instances on this box. The results are that 1 instance takes 50% of both "CPU's", and running 2 instances maxes out both CPU's at 100% and also increases the run times for both instances from 1:15 to 1:50. Anyway, just wanted to try it out and set the record straight. I will follow up with the other info a little later...
 
Steve
----- Original Message -----
Sent: Friday, May 23, 2008 2:21 PM
Subject: Re: [amibroker] Quad-core test results

Hi Fred - I will pull this info together later today and post it for you...
 
Steve
----- Original Message -----
Sent: Friday, May 23, 2008 12:25 AM
Subject: RE: [amibroker] Quad-core test results

Steve,

 

Can you provide some information about the differences between the machine you refer to as you faster primary machine and the new quad core ?

 

-          Number of CPU?s

-          Number of Cores

-          On Chip Cache Memory Size

-          Total Memory

-          OS System & Version & SP

 

It would appear that without splitting up the task that you are basically getting a 2.5 times improvement between your faster primary machine and the quad core i.e. 75 minutes .vs. 30 minutes.

 

This could be accounted for by several things in the configuration.

 

I find it more interesting however that you can drive the same task through all four cores on your quad at the same speed as running a single optimization.

 

I would think the implication is that there would be benefit to being able to have AB do this automatically, at least on newer hardware and of course as time goes along more and more hardware out there in the hands of users will be of this caliber.

 

Mark K,

 

The problem with trying to get IO to do something like this is that my understanding of OLE / Automation is that it is only able to see what is the first instance of AB running.  The implication is that while one could be running IO in each of the four cores they would by default all be talking to the same instance of Broker.exe.

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Steve Dugas
Sent: Thursday, May 22, 2008 8:50 PM
To: Yahoo - AmiBroker
Subject: [amibroker] Quad-core test results

 

Hi All,

 

I finished setting up the new quad-core machine and ran my first tests today, so am posting the promised test results. All I can say is Wow!  Really nice improvements, even better than I expected to see in my highest hopes. I am happy as a pig in sh*t !!     8 - )

 

For background, the test was an optimization run on a single ticker, which is how I will be running all my other tests ( ticker was QID, 468 EOD data bars ). All tests used the same code with different param settings, all tests had about 46,000 opt steps.

 

To put things in perspective and show why I am so happy, the original code was about 2,400 lines. The first time I ran it, on my old backup computer which I was using as a dedicated optimization machine, it took 7 1/2 hours to run. So then I copied the code and created a shorter version, removing everything which wasn't absolutley necessary for the optimizer, and that reduced the run time to 2 1/2 hours. Then I ran this short version on my faster primary machine and that took 1 1/4 hours, which is about what I was expecting to see on the new machine.

 

So today I started by running just ran one instance on the quad-core - that took only 30 mins and Task Manager showed it was using just 25% of the total processing power!  Well to make a long story short, I kept adding one instance at a time, all instances ran in 30 mins and each used up an additional 25% of the CPU power. In the end, I was easily running 4 simultaneous instances. This pretty much kept the CPU tached at 100% but all instances ran fine, all finished in 30 mins and I didn't experience any problems at all. I was even saving the first ones to spreadsheets while the final ones were still finishing, wow everything just worked flawlessly!  So, the quad-core can run 4 seperate opts simultaneously in 30 mins, which averages out to 7 1/2 minutes per opt, which =

 

10X improvement over running the short code on the fast machine...

20X improvement over running the short code on the old dedicated optimization machine...

60X improvement over running the original code on the old optimization machine...  Awesome !!!

 

To those who were wondering what is the best machine to get for running AB, it looks to me like quad is the way to go.  ( My machine has an Intel processor, which TJ mentioned should probably work better than AMD for this stuff )....

 

Steve



I am using the free version of SPAMfighter for private users.
It has removed 459 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___