|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
DoubleMark (Prime Benchmark) - Open Source
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#31 (permalink) | ||||||||||
|
Programmer
![]() |
Quote:
I think im going to read up on this a little more before i start changing a whole lot...
__________________
My Lego case thread. With PICS!!! ----------------------------------------------------------------------- Video card RMA database thread. I am working on an application that allows users to input their cards issues into a database, to build a knowledge base for what types of cards have a lower fail rate.
|
||||||||||
|
|
|
|
|
#32 (permalink) | ||||||||||||||
|
Luck : 10pts
![]() |
Quote:
__________________
|
||||||||||||||
|
|
|
|
#33 (permalink) | |||||||||||||
|
AMD Overclocker
![]() |
I second your second, and also think that dskina needs to inform us where he got his.
__________________
There are methods to my madness, and considering I have a great deal of madness, I obviously must have a great many methods - Michinmuri
|
|||||||||||||
|
|
|
|
|
#34 (permalink) | ||||||||||||||
|
WaterCooler
![]() |
Quote:
http://www.codeproject.com/KB/miscct...ediatimer.aspx This is accurate down to single milliseconds.
__________________
|
||||||||||||||
|
|
|
|
|
#35 (permalink) | ||||||||||||||
|
Luck : 10pts
![]() |
Quote:
__________________
|
||||||||||||||
|
|
|
|
#36 (permalink) | |||||||||||||
|
WaterCooler
![]() |
It is a custom library that uses a faster timer than DateTime. I would highly recommend it.
I work for a company that needs single-millisecond resolution and this works fine. For your purposes, it is much better than DateTime calls. I am going to take a look at your code and see what I can do. I have only been doing C# for about a year but since I pretty much do it 8 hours a day, I am getting much better.
__________________
|
|||||||||||||
|
|
|
|
|
#37 (permalink) | ||||||||||||||
|
Luck : 10pts
![]() |
Quote:
![]() I've only been going... 2 months? I think.
__________________
|
||||||||||||||
|
|
|
|
#38 (permalink) | |||||||||||||
|
Luck : 10pts
![]() |
If anyone is still interested in the project, i've started from scratch. I'm gonna have the multi-threading problem fixed totally and completely as well as completely changing the shape of the application. I think anyone who is interested will be exstatic at next release. I'm quite confident in getting support once its ready.
__________________
|
|||||||||||||
|
|
|
|
#39 (permalink) |
|
New to Overclock.net
|
I dunno what algorithms you're using to check primality (i didn't see the code), but a lot of research has been done on such stuff.
Since your objective is stressing the system for benchmarking purposes, maybe you've no actual interest in efficiency - which eventually add complexity. But maybe you might wanna consider some cleaver stuff for future releases. The "standard" algorithm to find prime numbers from 2 up to N is called Sieve of Eratosthenes. http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes It's easy to implement with a single core, but i have no idea how to adapt it for multiple cores! It sounds hard! ![]() Other than that, you might be aware of the mersenne prime search http://www.mersenne.org (which found only mersenne primes, which is a prime in the form 2^p - 1, where p is a prime number), and the math behind it http://www.mersenne.org/math.htm Hope it helps! Happy coding!
|
|
|
|
|
|
#40 (permalink) | ||||||||||||||
|
With great difficulty
![]() |
Quote:
|
||||||||||||||
|
|
![]() |
| Tags |
| benchmark, doublemark, doublemark topic, multi-thread, stress test |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|