mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2010-09-01, 21:43   #353
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

100010101112 Posts
Default

Hello!

Find attached mfaktc 0.11.
Again, thank you Luigi, Dave, Kevin and Ethan for testing, comments, ...!

---

It is faster than the previous version:
- the 75 bit kernel is ~2% faster
- the sieve is 20% faster (measured on Intel Core i7)

The new debug code (you usually don't have to care about the debug code, it is used only during development) revealed on computational bug.

mfaktc compiled for compute capability 1.x:
Code:
factor size    | chance to miss a factor
---------------+------------------------
2^24 to 2^24.2 | < 0.1%
2^56 to 2^56.2 | < 0.1%
2^88 to 2^88.2 | < 0.1%
other ranges   | < 0.001%
mfaktc compiled for compute capability 2.x:
Code:
factor size    | chance to miss a factor
---------------+------------------------
2^24 to 2^24.2 | < 0.1%
2^56 to 2^56.2 | < 0.1%
2^88 to 2^88.2 | < 0.1%
other ranges   | very small if not 0%
The ranges around 2^24, 2^56 and 2^88 occur only in the 75 and 95 bit kernel when the most significant "digit" is in the range 2^24 to 2^24.2 (this can't happen in the 71 bit kernel). I think that these ranges don't affect typical mfaktc jobs so this issue isn't critical, right?

The "other ranges" issue has a very low chance so I would say it is not critical, too. This affects all kernels.

< 0.1% means that out of 1000 factors "less than" one factor isn't detected in average.

This issues are related to floating point accuracy. I was a bit too greedy on quotient estimate during long division.

---
Note on upgrading: mfaktc refuses to read checkpoint files from other versions than its own version. Continue your work with your current version until you've finished a bit level or exponent.

Oliver
Attached Files
File Type: gz mfaktc-0.11.tar.gz (88.6 KB, 112 views)
TheJudger is offline   Reply With Quote
Old 2010-09-01, 21:51   #354
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

3×137 Posts
Default

Now, who can compile that for Windows?
Karl M Johnson is offline   Reply With Quote
Old 2010-09-02, 00:12   #355
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

2×5×53 Posts
Default

Quote:
Originally Posted by Karl M Johnson View Post
Now, who can compile that for Windows?
Win64, compute capability 1.x, puh-leeze...
ckdo is offline   Reply With Quote
Old 2010-09-02, 11:07   #356
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

11×101 Posts
Default

Hi Karl, ckdo,

for now I can't provide precompiled Windows binaries... but I'm working on this.

I'm still unsure which Windows version I should choose.
Windows 7 64bit... so far, so good... but which variant?
I don't want "desktop effects"! E.g. when I click on a minimized windows I don't want an animation the window just should open in virtually no time!
I want a small taskbar and small icons, too.
This is what I hate on modern GUIs...they are overloaded with stupid animations etc.

I think I might try Windows 7 "Professional". This is the "smallest" release with XP mode, doesn't install games by default and (according to wikipedia) allows the taskbar to act like in WinXP...

Any hints/suggestions?

Oliver

P.S. on Linux I'm using Xfce
P.P.S. my current Windows XP (32bit) installation runs the "classic" GUI with some modifications.. turned of all desktop effects, even mouse shadow...
I like it simple and fast!
TheJudger is offline   Reply With Quote
Old 2010-09-02, 11:15   #357
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

12D316 Posts
Default

Quote:
Originally Posted by TheJudger View Post
Hi Karl, ckdo,

for now I can't provide precompiled Windows binaries... but I'm working on this.

I'm still unsure which Windows version I should choose.
Windows 7 64bit... so far, so good... but which variant?
I don't want "desktop effects"! E.g. when I click on a minimized windows I don't want an animation the window just should open in virtually no time!
I want a small taskbar and small icons, too.
This is what I hate on modern GUIs...they are overloaded with stupid animations etc.

I think I might try Windows 7 "Professional". This is the "smallest" release with XP mode, doesn't install games by default and (according to wikipedia) allows the taskbar to act like in WinXP...

Any hints/suggestions?

Oliver

P.S. on Linux I'm using Xfce
P.P.S. my current Windows XP (32bit) installation runs the "classic" GUI with some modifications.. turned of all desktop effects, even mouse shadow...
I like it simple and fast!
If you plan a GUI, you may give an eye to Nokia Qt development system: based on GCC and Mingw, offers cross-compatibility with Linux, MAC and Windows to source level.

Luigi
ET_ is offline   Reply With Quote
Old 2010-09-02, 11:31   #358
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

21278 Posts
Default

Hi Luigi,

Quote:
Originally Posted by ET_ View Post
If you plan a GUI, you may give an eye to Nokia Qt development system: based on GCC and Mingw, offers cross-compatibility with Linux, MAC and Windows to source level.

Luigi
false hope, I don't plan a GUI for mfaktc.
I was talking about the GUIs of Windows / Linux / whatever.

Oliver
TheJudger is offline   Reply With Quote
Old 2010-09-02, 11:37   #359
Karl M Johnson
 
Karl M Johnson's Avatar
 
Mar 2010

3×137 Posts
Default

Oliver, If you're working on compiling mfaktc on windows that's good news!
IMO, first get it compiling for windows, then make a GUI for it.
Hm, actually, does it need a GUI ?
Easy to learn application
Karl M Johnson is offline   Reply With Quote
Old 2010-09-02, 12:50   #360
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

61×79 Posts
Default

Quote:
Originally Posted by TheJudger View Post
Hi Luigi,



false hope, I don't plan a GUI for mfaktc.
I was talking about the GUIs of Windows / Linux / whatever.

Oliver
I see...

Luigi
ET_ is offline   Reply With Quote
Old 2010-09-02, 14:38   #361
lavalamp
 
lavalamp's Avatar
 
Oct 2007
Manchester, UK

101010011012 Posts
Default

Quote:
Originally Posted by TheJudger View Post
I'm still unsure which Windows version I should choose.
Windows 7 64bit... so far, so good... but which variant?
I don't want "desktop effects"! E.g. when I click on a minimized windows I don't want an animation the window just should open in virtually no time!
I want a small taskbar and small icons, too.
This is what I hate on modern GUIs...they are overloaded with stupid animations etc.

I think I might try Windows 7 "Professional". This is the "smallest" release with XP mode, doesn't install games by default and (according to wikipedia) allows the taskbar to act like in WinXP...
You'll find that there are a multitude of settings to alter the GUI you can pick and choose from, these can be as general as changing the whole theme to "classic", and as individual as disabling that minimise animation. I've attached a screen shot with these options highlighted.

I'm using Windows Vista, but the options will no doubt be similar for Windows 7.
Attached Thumbnails
Click image for larger version

Name:	options.png
Views:	127
Size:	85.5 KB
ID:	5644  
lavalamp is offline   Reply With Quote
Old 2010-09-02, 15:05   #362
lavalamp
 
lavalamp's Avatar
 
Oct 2007
Manchester, UK

101010011012 Posts
Default

Here's the shot of the same options in Windows 7. I should also point out that you can do all of the other stuff you said you wanted to do, like changing to the classic start menu, in any version of windows.
Attached Thumbnails
Click image for larger version

Name:	win 7 options.png
Views:	129
Size:	164.9 KB
ID:	5645  

Last fiddled with by lavalamp on 2010-09-02 at 15:06
lavalamp is offline   Reply With Quote
Old 2010-09-02, 19:53   #363
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

21278 Posts
Default

Thank you lavalamp!
The classic schema look familiar to me

---
In my 0.12 development version I've changed the statistic line a little bit:

old style:
Code:
class 0: tested 105633251328 candidates in 2243766ms (47078550/sec) (avg. wait: 11115usec)
new style:
Code:
class 0: tested 105.63G candidates in 2244s (47.08M/sec) (avg. wait: 11115usec)
The number of candidates changes between M and G, depending on the number.
The time changes between milliseconds (time is less than 100s) and seconds (time greater or equal 100s)

Which variant do you prefer? (I think I won't make this a runtime option!)


Oliver
TheJudger is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1676 2021-06-30 21:23
The P-1 factoring CUDA program firejuggler GPU Computing 753 2020-12-12 18:07
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 32 2020-11-11 19:56
mfaktc 0.21 - CUDA runtime wrong keisentraut Software 2 2020-08-18 07:03
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51

All times are UTC. The time now is 06:00.


Fri Aug 6 06:00:55 UTC 2021 up 14 days, 29 mins, 1 user, load averages: 3.13, 3.16, 3.14

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.