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


Groups > comp.programming.threads > #1878

Scalability...

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail
From aminer <aminer@toto.net>
Newsgroups comp.programming.threads, comp.programming
Subject Scalability...
Date Wed, 09 Oct 2013 18:17:43 -0700
Organization albasani.net
Lines 27
Message-ID <l34v7r$9v2$1@news.albasani.net> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net 8RNAZVrf9mPfNdN+mYyMV5FyOpZHPyf9SXUH3neJavPEdLBzBqJok+M8VSZ+CqIiSZeiarEEppV9ztrOs5Fwe9egdf0o6ilV/0mbga/vYzV/B+I1OsAT1PEOvbc3K2uU
NNTP-Posting-Date Thu, 10 Oct 2013 01:17:47 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="VSfQs+W/szROEiWDvFZ8/u25GR3WGqljUT4jUU6V+kUQB/caK3RRRTt18XDimFLSylS4bshND15hxk/KAkkwCC/JhSamffL+tTQhrymACaDJs2cv2WU4Iot9+1gq6s3I"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Windows NT 6.0; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
Cancel-Lock sha1:jXUWC8FWR/n+A+qVRl2jRBssyEc=
Xref csiph.com comp.programming.threads:1878 comp.programming:3889

Cross-posted to 2 groups.

Show key headers only | View raw


Hello,

So if you have undersood my ideas and my arguments aginst the Amdahl's 
equation, i have proved to you that the Amdahl's equation gives you the 
scalability that you will have in an IDEAL CONTENTION SCENARIO , but if 
you have less contention it will scale much better, and in a none 
contention scenario it will have a perfect scalability, so if you have a 
small serial part
let say of S = 0.1% so the Amdahl's equation says that your program will
scale to a maximum of 10, but that's false , it can scale much more
than that if you introduce randomness in the Parallel part to avoid
the ideal contention scenario, something like 
wait(random(something_like_the+time_of_your_bigger_locked_region)) or 
something like that and this will scale your application to much more 
than 10X, so the very important part is to introduce an optimal 
randomness of a more optimal wait , but you don't have to use sleep() 
for that,
just to loop around a pause asm instruction for example and this will give
you better scalability than 10X.


Thank you,
Amine Moulay Ramdane.


Back to comp.programming.threads | Previous | NextNext in thread | Find similar


Thread

Scalability... aminer <aminer@toto.net> - 2013-10-09 18:17 -0700
  Re: Scalability... Robert Wessel <robertwessel2@yahoo.com> - 2013-10-09 20:42 -0500

csiph-web