Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 02-12-08   #31 (permalink)
Programmer
 
JoBlo69's Avatar
 
intel nvidia

Join Date: Jan 2007
Posts: 3,363

Rep: 170 JoBlo69 is acknowledged by manyJoBlo69 is acknowledged by many
Unique Rep: 146
Trader Rating: 15
Default

Quote:
So you know i am pretty sure the issue lies somehow within the code utilizing Kernel32.DLL.
I think the code it self is fine, more or less guessing atm. Mainly because i see some strange calls being made from some functions that look odd. Maybe it's just part of C#. I'm not all that familiar with C#. I focus a lot of my time in C++, so there are some syntax issues that I'm not sure about yet...

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.

System: The "hold-me-over-until-i-can-get-a-i7" PC
CPU
E7200
Motherboard
Gigabyte GA-EP45-DS3L
Memory
Nothing!!! (new ram pending)
Graphics Card
8800GT
Hard Drive
2 x 74gb raptor raid0
Case
craptastic!!!
OS
64x vista ult.
Monitor
24" samsung
JoBlo69 is offline JoBlo69's Gallery   Reply With Quote
Old 02-12-08   #32 (permalink)
Luck : 10pts
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Fl, US
Posts: 12,838
Blog Entries: 3

Rep: 364 Licht is a proven memberLicht is a proven memberLicht is a proven memberLicht is a proven member
Unique Rep: 241
Trader Rating: 0
Default

Quote:
Originally Posted by JoBlo69 View Post
I think the code it self is fine, more or less guessing atm. Mainly because i see some strange calls being made from some functions that look odd. Maybe it's just part of C#. I'm not all that familiar with C#. I focus a lot of my time in C++, so there are some syntax issues that I'm not sure about yet...

I think im going to read up on this a little more before i start changing a whole lot...
Like i said i'm a noob, have mercy.

System: Uzicht #4.5
CPU
Phenom II X4 920
Motherboard
Gigabyte 790X AM2+
Memory
6GB Kingston DDR2 667MHZ
Graphics Card
HD4850 + HD3870
Hard Drive
4x WD1600AAJS RAID0
Sound Card
X-Fi Extreme Gamer Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Xigmatec Rifle
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows 7 Ultimate x86-x64
Monitor
Samsung SyncMaster 19"Wide
Licht is offline Overclocked Account Licht's Gallery   Reply With Quote
Old 02-18-08   #33 (permalink)
AMD Overclocker
 
michinmuri's Avatar
 
amd ati

Join Date: Oct 2007
Location: Lexington, KY
Posts: 708

Rep: 32 michinmuri is acknowledged by some
Unique Rep: 25
Trader Rating: 0
Default

Quote:
Originally Posted by Kamakazi View Post
1st of all this is cool.

Second of all, where do I get the rad megaman background?
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

System: michincomp
CPU
5200+ x2
Motherboard
Asus M2R32-MVP
Memory
OCZ reapers 1GB x4
Graphics Card
HIS 3850 TurboX X-Fire
Hard Drive
320G Baracuda perpendicular
Sound Card
HT Omega Striker (currently onboard)
Power Supply
Raidmax 530W modular
Case
ANTEC 900
CPU cooling
GIGABYTE GH-PDU21-SC Ball CPU Cooler
GPU cooling
ICEQ-3
OS
XP Media center
Monitor
DCLCD 22" + Samsung 906bw 19"
michinmuri is offline   Reply With Quote
Old 02-18-08   #34 (permalink)
WaterCooler
 
killnine's Avatar
 
intel ati

Join Date: Aug 2005
Posts: 3,362

Rep: 161 killnine is acknowledged by manykillnine is acknowledged by many
Unique Rep: 144
FAQs Submitted: 1
Trader Rating: 9
Default

Quote:
Originally Posted by Licht View Post
It is impossible on Windows to measure a length of time more precise then this
What? I dont think so. I use a multimedia timer that is much, much MUCH more accurate than this.

http://www.codeproject.com/KB/miscct...ediatimer.aspx

This is accurate down to single milliseconds.

System: Teh System
CPU
Intel i7 920 (3.2Ghz @ 1.0V)
Motherboard
Asus Rampage II Gene
Memory
6Gb Corsair XMS DDR3 (1333)
Graphics Card
VisionTek 4870
Hard Drive
Seagate 7200rpm (160)
Sound Card
X-fi Fatal1ty Pro
Power Supply
Silverstone Strider 750W
Case
Mini P180B
CPU cooling
OCZ Vendetta 2
GPU cooling
HR-03 GT
OS
Windows 7 (x64) RC1
Monitor
Dell 2001FP 20.1"
killnine is offline   Reply With Quote
Old 02-18-08   #35 (permalink)
Luck : 10pts
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Fl, US
Posts: 12,838
Blog Entries: 3

Rep: 364 Licht is a proven memberLicht is a proven memberLicht is a proven memberLicht is a proven member
Unique Rep: 241
Trader Rating: 0
Default

Quote:
Originally Posted by killnine View Post
What? I dont think so. I use a multimedia timer that is much, much MUCH more accurate than this.

http://www.codeproject.com/KB/miscct...ediatimer.aspx

This is accurate down to single milliseconds.
The current time returned by DateTime.Now.Millisecond is accurate only to 10ms. I don't know if they are using a different methode of obtaining the start and end times or not but i know that that is only so accurate.

System: Uzicht #4.5
CPU
Phenom II X4 920
Motherboard
Gigabyte 790X AM2+
Memory
6GB Kingston DDR2 667MHZ
Graphics Card
HD4850 + HD3870
Hard Drive
4x WD1600AAJS RAID0
Sound Card
X-Fi Extreme Gamer Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Xigmatec Rifle
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows 7 Ultimate x86-x64
Monitor
Samsung SyncMaster 19"Wide
Licht is offline Overclocked Account Licht's Gallery   Reply With Quote
Old 02-19-08   #36 (permalink)
WaterCooler
 
killnine's Avatar
 
intel ati

Join Date: Aug 2005
Posts: 3,362

Rep: 161 killnine is acknowledged by manykillnine is acknowledged by many
Unique Rep: 144
FAQs Submitted: 1
Trader Rating: 9
Default

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.

System: Teh System
CPU
Intel i7 920 (3.2Ghz @ 1.0V)
Motherboard
Asus Rampage II Gene
Memory
6Gb Corsair XMS DDR3 (1333)
Graphics Card
VisionTek 4870
Hard Drive
Seagate 7200rpm (160)
Sound Card
X-fi Fatal1ty Pro
Power Supply
Silverstone Strider 750W
Case
Mini P180B
CPU cooling
OCZ Vendetta 2
GPU cooling
HR-03 GT
OS
Windows 7 (x64) RC1
Monitor
Dell 2001FP 20.1"
killnine is offline   Reply With Quote
Old 02-19-08   #37 (permalink)
Luck : 10pts
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Fl, US
Posts: 12,838
Blog Entries: 3

Rep: 364 Licht is a proven memberLicht is a proven memberLicht is a proven memberLicht is a proven member
Unique Rep: 241
Trader Rating: 0
Default

Quote:
Originally Posted by killnine View Post
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.
Only a year?

I've only been going... 2 months? I think.

System: Uzicht #4.5
CPU
Phenom II X4 920
Motherboard
Gigabyte 790X AM2+
Memory
6GB Kingston DDR2 667MHZ
Graphics Card
HD4850 + HD3870
Hard Drive
4x WD1600AAJS RAID0
Sound Card
X-Fi Extreme Gamer Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Xigmatec Rifle
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows 7 Ultimate x86-x64
Monitor
Samsung SyncMaster 19"Wide
Licht is offline Overclocked Account Licht's Gallery   Reply With Quote
Old 02-25-08   #38 (permalink)
Luck : 10pts
 
Licht's Avatar
 
amd ati

Join Date: Mar 2007
Location: Fl, US
Posts: 12,838
Blog Entries: 3

Rep: 364 Licht is a proven memberLicht is a proven memberLicht is a proven memberLicht is a proven member
Unique Rep: 241
Trader Rating: 0
Default

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.

System: Uzicht #4.5
CPU
Phenom II X4 920
Motherboard
Gigabyte 790X AM2+
Memory
6GB Kingston DDR2 667MHZ
Graphics Card
HD4850 + HD3870
Hard Drive
4x WD1600AAJS RAID0
Sound Card
X-Fi Extreme Gamer Professional
Power Supply
OCZ Game-X-Stream 700w
Case
NZXT Black Steel
CPU cooling
Xigmatec Rifle
GPU cooling
Stock Saphire 3870 Cooling
OS
Windows 7 Ultimate x86-x64
Monitor
Samsung SyncMaster 19"Wide
Licht is offline Overclocked Account Licht's Gallery   Reply With Quote
Old 02-26-08   #39 (permalink)
New to Overclock.net
 
Join Date: Aug 2007
Posts: 8

Rep: 3 shinya Unknown
Unique Rep: 3
Trader Rating: 0
Default

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!
shinya is offline   Reply With Quote
Old 02-26-08   #40 (permalink)
With great difficulty
 
rabidgnome229's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Pittsburgh
Posts: 5,210

Rep: 614 rabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famousrabidgnome229 is becoming famous
Unique Rep: 370
FAQs Submitted: 6
Trader Rating: 5
Default

Quote:
Originally Posted by Licht View Post
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.
What kind of help do you need? I'm in a class now that's entirely about the line between hardware and software, and I would be very interested in applying what I'm learning
__________________
System: It goes to eleven
CPU
E6300
Motherboard
DS3
Memory
2GB XMS2 DDR2-800
Graphics Card
EVGA 8600GTS
Hard Drive
1.294 TB
Sound Card
Audigy 2 ZS
Power Supply
Corsair 520HX
Case
Lian-Li v1000B Plus
CPU cooling
TTBT
GPU cooling
Thermalright V2
OS
Arch Linux/XP
Monitor
Samsung 226bw
rabidgnome229 is offline Overclocked Account   Reply With Quote
Reply

Tags
benchmark, doublemark, doublemark topic, multi-thread, stress test


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 02:06 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.18986 seconds with 9 queries