Posted on 2004-11-16
Medium Priority
Last Modified: 2010-05-02

There is a VB procedure. It makes thousands of calculation.
This procedure is running on a Windows XP system with dual processors in HyperThread mode to emulate 4 processors. It takes 20 minutes to complete the calculation.
I am not experienced on hyperthreading (actually even multithreading). This is a curiosity question (also as I am almost sure that it couldn't be possible to use different CPUs for the same process in same application's same session but it wouldn't hurt if I am wrong!).

This is the all information I have.

Question: Is it possible to split the "same procedure" to make it processed by "4" CPUs at the same time and reduce the processing time less than 20 minutes (consider 20 minutes is the best time)?

BTW: It is actually a VBA module that works in Excel 2003 application but I am willing to update it by using a COM-Addin that is created by VB if such a thing is  possible.

PS: I will be able to read replies tomorrow, so I might not reply soon.
Question by:Suat Ozgur
LVL 48

Assisted Solution

Mikal613 earned 1000 total points
ID: 12600433

Accepted Solution

Joachim Carrein earned 1000 total points
ID: 12602559
LVL 17

Author Comment

by:Suat Ozgur
ID: 12638983
Ok, It has been ended as I expected.

Thanks for the replies and links.


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question