Giter Club home page Giter Club logo

parallelalgorithms's Introduction

Results on an 8-core (hyperthreading) machine:
1. Primes:
	4x speedup for n = 10000000

2. PI:
	perform better than C# versions
	8x speedup with Parallel.ForEach, 5.5x speedup with PLINQ

3. NQueens:
	perform better than C# versions.
	8x speedup when pre-placing the first two queens (N = 14).

4. Sudoku:
	Failed to parallelize its depth-first search algorithm.

5. Strassens:
	perform better than C# version, but scalability seems to be strange.
	7x speedup for the standard algorithm, 6x speedup for Strassen's algorithm.

6. BootyDivision:
	perform better than C# versions.
	Some parallelism consideration with Booty Division Problem.
	Speeup is 3.5x on a 4-core machine.
	It's possible to further optimize it.

7. Geonames:
	Speedups are marginal due to sequential IO operation.
	Two versions using PLINQ and Parallel.ForEach are comparable for seq.

8. Mersenne:
	Speedups are comparable between PSeq version and Parallel.For version
	They are 3.5x on a quadcore machine.

9. EditDistance:
	Use parallel wavefront algorithm.
	3x faster than C# version.
	Speedup is around 3x.

parallelalgorithms's People

Contributors

dungpa avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.