mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2016-01-02, 02:15   #243
megabit8
 
Dec 2015

23×3 Posts
Post

I have attached 2 pictures of this trivial application showing the iterations per thread before "Pause" is set in VS2015, and the "after1.png" file which shows that 2 errors appeared instantly as soon as Debug Pause is pressed then continue.
On my Skylake the error appears instantly.

I am going to leave this application running overnight to see if any errors appear on their own.
Attached Thumbnails
Click image for larger version

Name:	before.png
Views:	191
Size:	4.3 KB
ID:	13650   Click image for larger version

Name:	after1.png
Views:	192
Size:	4.6 KB
ID:	13651  
megabit8 is offline   Reply With Quote
Old 2016-01-02, 02:20   #244
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×67×73 Posts
Default

Quote:
Originally Posted by megabit8 View Post
I am going to leave this application running overnight to see if any errors appear on their own.
Dumber than bricks....
chalsall is offline   Reply With Quote
Old 2016-01-02, 03:06   #245
megabit8
 
Dec 2015

23·3 Posts
Angry Feeling Lucky ??

Mr. Chris, are you characterizing yourself ?
Do you know what's the difference between genius and "brick stupid" people ?

For those willing to make this test in Visual Studio 2015, I have attached the small project.
You need to download the 2.79 source from:
http://www.mersenne.org/ftp_root/gim...279.source.zip
and copy the p95v279.source.zip\gwnum\gwnum64.lib into the project "AVXCore" folder.
You can skip the project upgrade. That's it. Then compile.

The test itself should be almost as good as the torture test, even better because it is sensitive on every processor to every bit changed.
Attached Files
File Type: zip SkylakeVS2015Test.zip (43.7 KB, 73 views)
megabit8 is offline   Reply With Quote
Old 2016-01-02, 03:16   #246
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

978210 Posts
Default

Quote:
Originally Posted by megabit8 View Post
Mr. Chris, are you characterizing yourself ?
Possibly...

But then, maybe not....
chalsall is offline   Reply With Quote
Old 2016-01-02, 03:23   #247
megabit8
 
Dec 2015

2410 Posts
Thumbs up

Quote:
Originally Posted by chalsall View Post
Possibly...

But then, maybe not....
Maybe so or maybe no.

Ingenious people have limits and bounds whereas stupidity is unlimited... (Einstein)
What's the only thing that's infinite ?
megabit8 is offline   Reply With Quote
Old 2016-01-02, 03:31   #248
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2·67·73 Posts
Default

Quote:
Originally Posted by megabit8 View Post
What's the only thing that's infinite ?
Thought?

Let's be honest here... We might have found a bug on Intel's latest and greatest chip.

Let's figure this out. It's not really that big of a deal.
chalsall is offline   Reply With Quote
Old 2016-01-02, 03:32   #249
megabit8
 
Dec 2015

23·3 Posts
Smile It will be interesting to see if the Pause aka. Break-All issue happens on Haswell

Now someone with a Haswell processor could validate if the "Pause" issue happens on the 5'th gen Intel Processor. I was thinking of: "kracker" since he validated first the cosine rounding problem.
megabit8 is offline   Reply With Quote
Old 2016-01-02, 03:34   #250
megabit8
 
Dec 2015

23×3 Posts
Talking

Quote:
Originally Posted by chalsall View Post
Thought?

Let's be honest here... We might have found a bug on Intel's latest and greatest chip.

Let's figure this out. It's not really that big of a deal.
The only thing that's infinite is the human stupidity. (Einstein)
megabit8 is offline   Reply With Quote
Old 2016-01-02, 03:40   #251
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

At the very least, you should format your forum posts properly. Avoid unnecessary bold (and I would classify all such usage so far thusly) and use the [code] tags which were designed for code, rather than this bold nonsense.

And then: George?
Dubslow is offline   Reply With Quote
Old 2016-01-02, 05:06   #252
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

165678 Posts
Default

Quote:
Originally Posted by megabit8 View Post
I had an idea to use the Prime 95 v27.9 code to perform a 768K FFT per thread.

also need to know if I use the functions: addr and gwnum_datasize correctly so that this code does not touch memory zones outside the transform.

I have linked gwnum64.lib (non-debug library) to this project and included all the *.h files from the prime95 v27.9 "gwnum" folder.
Kudos to someone willing to delve deep into the source code and try to potentially learn something new about the problem at hand.

I did not see you using the addr function. This is fortunate. Since you are reading the raw doubles straight out of gwnum memory (looping from 0 to gwnum_datasize/8-1). The addr function is used when looping from 0 to fftlen-1). The gwnum array contains a number of unused cache lines to avoid power-of-2 strides which is why gwnum_datasize is not 768K * 8 bytes.

To make sure you are using AVX FFTs you need to call guessCpuType and then turn off
the CPU_FMA3 flag in CPU_FLAGS.

I don't know what to make of your program working standalone, but not after pausing in the debugger. Could well be a completely hardware different problem or a software problem with MSVC.

Last fiddled with by Prime95 on 2016-01-02 at 05:07
Prime95 is offline   Reply With Quote
Old 2016-01-02, 05:59   #253
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3,313 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Kudos to someone willing to delve deep into the source code and try to potentially learn something new about the problem at hand.
I wanted to chime in and say ditto. It would be nice to have an isolated bit of code that could simply be run and get the error (or not).

It would make it easier for folks to troubleshoot and walk through what's going on. I know that Intel would want to take possible problems seriously and would look into it, but getting easily replicated code would certainly let them focus on the issue itself.
Madpoo is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Skylake vs Kabylake ET_ Hardware 17 2017-05-24 16:19
Skylake and RAM scaling mackerel Hardware 34 2016-03-03 19:14
So does skylake-nonXeon actually get us anything? fivemack Hardware 36 2015-09-08 01:42
Skylake processor tha Hardware 7 2015-03-05 23:49
Skylake AVX-512 clarke Software 15 2015-03-04 21:48

All times are UTC. The time now is 04:33.


Fri Aug 6 04:33:45 UTC 2021 up 13 days, 23:02, 1 user, load averages: 2.30, 3.26, 4.38

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.