Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #1169

About my threadpool engine...

Path csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From "aminer" <aminer@videotron.ca>
Newsgroups comp.programming.threads, comp.programming
Subject About my threadpool engine...
Date Wed, 3 Oct 2012 19:30:26 -0500
Organization A noiseless patient Spider
Lines 36
Message-ID <k4ihqo$3tu$1@dont-email.me> (permalink)
Injection-Date Wed, 3 Oct 2012 23:30:32 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="c43ca82f9e8d62a602307fe9d2e9b807"; logging-data="4030"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/20ysyrtooolejN5bef6cN"
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
X-RFC2646 Format=Flowed; Original
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
Cancel-Lock sha1:BRbNER78GierGVDOIvZQIb4mwY0=
X-Priority 3
X-MSMail-Priority Normal
Xref csiph.com comp.programming.threads:1169 comp.programming:2285

Cross-posted to 2 groups.

Show key headers only | View raw


Hello,

I have used my threadpool engine as a scalable FIFO queue,
and have done some benchmarks on a quad cores using both
the execute() method and my new Exec()  method and here
is the scalability numbers:

Using one global lockfree queue, it gave a negative scalability of  -2.7x

Using mutiple lockfree local queues with work-stealing
and using the execute() method , it can go up to 2.5x scalability

And using multiple lockfree local queues with work-stealing
and using my new Exec() method , it can go up to 3.8x scalability.


Those benchmarks were run under Delphi.

But on Freepascal my threadpool engine is not scaling cause there it's a 
problem with the freepacal compiler.

You can download my threadpool engine and all my parallel libraries from:

http://pages.videotron.com/aminer/



Thank you,
Amine Moulay Ramdane.



 

Back to comp.programming.threads | Previous | Next | Find similar


Thread

About my threadpool engine... "aminer" <aminer@videotron.ca> - 2012-10-03 19:30 -0500

csiph-web