|
|
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
1 Articles match "Algorithms","Demo"
|
Related DevelopMentor Courses
|
MORE
|
|
Azure and .NET Services: Emerging Technology Bootcamp
Demos built by some of the world's leading technologists will bring to life the capabilities of products and services announced at PDC 2008. Parallelizing algorithms and controlling concurrent access to data structures has until now been left to developers with very little help from the libraries. Note: Course duration 4 days with extended hours (9AM-9PM) Explore the .NET, NET, SQL, and Live architecture layers of Azure Create your first Azure application Deploy Azure applications and learn to control your execution environment Utilize Azure storage services Model identity using
DevelopMentor Courses
- Friday, June 12, 2009
|
4 Articles match "Algorithms","Demo"
|
The Latest from DevelopMentor
|
MORE
|
|
Microsoft's Parallel Framework extensions (Pfx) isn’t always the free lunch its cracked up to be.
I’ve seen numerous demos of Microsoft's Parallel Framework Extensions ( Pfx), and as you would expect they focus on showing how easy it is to make sequential code go faster on multiple cores. Whilst there is no disputing that the code that is run certainly scales as you add new processors, you can’t get away from the fact that a lot of these demos are contrived, heavy use of Thread.SpinWait to simulate lots of computation for each parallel task. Take away the SpinWait and do some simple one line piece of computation and you will almost certainly end up with a far worse performance than you had with sequential approach.
.NET Mutterings
- Wednesday, April 1, 2009
Pfx, Parallel Extensions take advantage of multiple cores, but be careful...
I spent a couple of days over xmas looking at it and understanding how it works. So first task was to find some code I wanted to parallelise I frequently use a piece of logic I stole from the book "How long is a piece of string" that uses many iterations to work out the value of PI as a good async demo, so I thought I would have a go at parallelising this piece of code. private const int N_ITERATIONS = 1000000000; private static double CalcPi() { double pi = 1.0; double multiply = -1;
.NET Mutterings
- Sunday, January 13, 2008
|
-
|
The Best from DevelopMentor
|
MORE
|
-
Pfx, Parallel Extensions take advantage of multiple cores, but be careful...
I spent a couple of days over xmas looking at it and understanding how it works. So first task was to find some code I wanted to parallelise I frequently use a piece of logic I stole from the book "How long is a piece of string" that uses many iterations to work out the value of PI as a good async demo, so I thought I would have a go at parallelising this piece of code. private const int N_ITERATIONS = 1000000000; private static double CalcPi() { double pi = 1.0; double multiply = -1;
.NET Mutterings
- Sunday, January 13, 2008
-
Microsoft's Parallel Framework extensions (Pfx) isn’t always the free lunch its cracked up to be.
I’ve seen numerous demos of Microsoft's Parallel Framework Extensions ( Pfx), and as you would expect they focus on showing how easy it is to make sequential code go faster on multiple cores. Whilst there is no disputing that the code that is run certainly scales as you add new processors, you can’t get away from the fact that a lot of these demos are contrived, heavy use of Thread.SpinWait to simulate lots of computation for each parallel task. Take away the SpinWait and do some simple one line piece of computation and you will almost certainly end up with a far worse performance than you had with sequential approach.
.NET Mutterings
- Wednesday, April 1, 2009
-
.NET 3.5 Brings Major (Undocumented) Changes to ThreadPool
My demo took
almost almost twice as long to run as it had the last time I did this demo a few months
ago. We speculated that this backoff algorithm makes
sense the exponential backoff algorithm keeps the thread pool from creating too many threads
too It
was was all going so smoothly.
Michael C. Kennedy's Weblog
- Wednesday, February 6, 2008
-
Free Running Threads
With the rise of multi core machines it is becoming increasingly more important to write algorithms that can scale with the availability of new cores. when I first developed this demo I did so on a single core machine and this was its first outing on a dual core, so what went wrong...all I then re-ran the demo with CPU Affinity set to a single CPU, and got the results I would have expected with Interlocked being at least an Last week I was teaching Developmentor's Effective .NET NET 2 course, as part of that course we spend at least a day looking at various patterns for building
.NET Mutterings
- Wednesday, March 21, 2007
|
|
|