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


Groups > comp.lang.java.programmer > #19089

About my threadpool engine

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From "aminer" <aminer@videotron.ca>
Newsgroups comp.lang.java.programmer
Subject About my threadpool engine
Date Wed, 3 Oct 2012 20:39:32 -0500
Organization A noiseless patient Spider
Lines 39
Message-ID <k4ilsa$n1b$1@dont-email.me> (permalink)
Injection-Date Thu, 4 Oct 2012 00:39:38 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="c43ca82f9e8d62a602307fe9d2e9b807"; logging-data="23595"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mPrAjeKbCxWDP4bxzQdtM"
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:t4o3rCe0HAo8RhJcoRjEuu4tD2M=
X-Priority 3
X-MSMail-Priority Normal
Xref csiph.com comp.lang.java.programmer:19089

Show key headers only | View raw


Hello,

I will compare the Exec() method of my threadpool engine to the bucketsort,
in the bucketsort algorithm, si if in the bucketsort the elements are
uniformly
distributed over an interval [a, b]  and buckets have not significantly
different number of elements the scalability will be optimal.
It's the same with the Exec() method of my threadpool engine,
if the load is uniformly distributed over the local lockfree FIFO MPMC
queues the scalability will be optimal, so using multiple lockfree local
queues with work-stealing and using my new Exec() method , my threadpool
engine
used as a scalable FIFO MPMC queue  can go up to 3.8x scalability on a
quadcores..

Now when i have used only a global lockfree queue on my threadpool engine,
my threadpool engine used as a scalable FIFO MPMC queue gave a negative
scalability of -2.7x on a quad cores


And using mutiple lockfree local queues with work-stealing
and using the execute() method , my threadpool engine used as
a scalable FIFO MPMC queue gave me 2.5x scalability on a quad cores.


Wha'ts important is that my threadpool engine is useful.

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.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

About my threadpool engine "aminer" <aminer@videotron.ca> - 2012-10-03 20:39 -0500
  Re: About my threadpool engine Arne Vajhøj <arne@vajhoej.dk> - 2012-10-03 21:11 -0400

csiph-web