FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Multi-core processing
Posts: 53
Joined: Wed Aug 06, 2008 05:27 PM
Multi-core processing
Posted: Fri Mar 19, 2010 11:07 AM

We are trying to run an application on a multicore platform (DELL PowerEdge 2900, 2x quad-core 1,86GHz), but our application utilizes only one core. Is there a way to utilize multiple cores or it can only run on one core? We are going to connect about 20 clients to the server using Terminal Client connection and we expect a perfomance degradation when all 20 clients connect and run our application on only one core. I forgot to mention that the operating system is Windows 2003 standard edition.
Thanks in advance.

Best regards!

Boris (FWH 20.07, xHarbour 1.2.3, Harbour 3.2.0, BCC74, MySql 5.7)
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Multi-core processing
Posted: Fri Mar 19, 2010 11:24 AM

Dear Mr.Boris,

As far as I know, a single-threaded application can generally utilize only one execution core on a multi-core processor. In order to take advantage of multiple cores, you have to introduce multi-threading into your code. I may be wrong. :)

Regards
Anser

Posts: 883
Joined: Tue Oct 11, 2005 11:57 AM
Re: Multi-core processing
Posted: Fri Mar 19, 2010 02:00 PM
Boris...

hope this clarify your doubts

http://compreviews.about.com/od/cpus/a/dualcore.htm

From Chile
Adolfo
;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650

Continue the discussion