Author Topic: Matrix Transposing AVX versus SSE  (Read 2822 times)

felipe

  • Member
  • *****
  • Posts: 1336
  • Eagles are just great!
Re: Matrix Transposing AVX versus SSE
« Reply #15 on: July 14, 2018, 02:58:57 AM »
This is very interesting too (seems like a great day for the forum today)  :greenclp:. I don't have avx support in my machine, but in the bios configuration i can dissable stepping (or similar, don't remember now  :idea:) and a few others configurations (like the fan in full speed and other thing too) to make the hardware work to maximum all the time. I don't do it because it has not been necessary, so i prefer to do power saving. But from some time i have been wainting for a nice algo to test timmings and to compare my machine in "fullmode" and in power saving mode  :idea: .  (So jj i'm still waiting for your test piece  ;)  :idea:)

But warm the machine before with some special algos...amazing, reminds me old cars in winter.  :shock:
Felipe.

zedd151

  • Member
  • ****
  • Posts: 871
Re: Matrix Transposing AVX versus SSE
« Reply #16 on: July 14, 2018, 03:17:15 AM »
Quote
I modified the code (please redownload), now it is expected to identify AMD CPU Brand (fingers crossed  :biggrin:).

I'll take a look when I get home from work...  I'll run it from both windows 7 and windows 10. Both 64 bit..
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

Siekmanski

  • Member
  • *****
  • Posts: 2365
Re: Matrix Transposing AVX versus SSE
« Reply #17 on: July 14, 2018, 05:40:53 AM »
AVX is not faster than the previous one, SSE a little bit.

Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz
800x800 Matrix Date/Time: 2018-07-13 21:28:08
AVX(ms)=0,43 SSE(ms)=0,79


about 8 hours ago:
Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz
800x800 Matrix Date/Time: 2018-07-13 13:01:16
AVX(ms)=0,43 SSE(ms)=0,85
Creative coders use backward thinking techniques as a strategy.

zedd151

  • Member
  • ****
  • Posts: 871
Re: Matrix Transposing AVX versus SSE
« Reply #18 on: July 14, 2018, 07:36:06 AM »
Quote
now it is expected to identify AMD CPU Brand (fingers crossed  :biggrin: ).

 I'll run it from both windows 7 ..

Here is what I get from Windows 7 Professional 64 bit. Please note that I do not have the proper video drivers installed, just the stock video from M$. (No drivers available for Windows 7 yet, for my machine - if ever)  The font looks off, but it could be an issue once again with IE8,
also I believe the graphs (or charts) should not be blank.
 
Later I will throw on my backup of Windows 10 Home just for kicks, and to see what changes for me. I bet it will look a lot better.
Performance wise, I don't expect much from this 1.60 Ghz cpu.
« Last Edit: July 19, 2018, 04:17:18 PM by zedd151 »
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

AW

  • Member
  • *****
  • Posts: 2583
  • Let's Make ASM Great Again!
Re: Matrix Transposing AVX versus SSE
« Reply #19 on: July 14, 2018, 05:31:12 PM »
@Filipe,
AVX is not being much used anyway. New technologies may take up to 10 years to become widespread.

@Siekmanski
I am making the tests in real life conditions, not increasing the priority of the core, so significant fluctuations are expected in a single run.
I will modify these tests to repeat a few times and take an average.

@Zed
Your AMD is a bit slow but has not a low specification - it even supports AVX2.
I am happy the CPU brand ID worked this time. You may see it different in another OS because "It is possible to change the CPUID of AMD processors by using the AMD virtualization instructions. I hope that somebody will volunteer to make a program for this purpose - Agner Fog".
I see that the charts don't plot - IE8 is too old indeed.


zedd151

  • Member
  • ****
  • Posts: 871
Re: Matrix Transposing AVX versus SSE
« Reply #20 on: July 14, 2018, 05:50:57 PM »
I see that the charts don't plot - IE8 is too old indeed.

 :biggrin:  Just like me.  :P
 
I'll get Windows 10 up and running here shortly. Had a little trouble with the backup of Windows 10 'To Go'....   :icon_confused:
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

zedd151

  • Member
  • ****
  • Posts: 871
Re: Matrix Transposing AVX versus SSE
« Reply #21 on: July 14, 2018, 06:13:21 PM »
Okay, here's from Windows 10 Ultimate 64 bit...

I noticed a significant error in the time displayed. I ran it twice to be sure, they were both taken moments ago - but display as 2hours ago.

Also, is that what the font is supposed to look like? Also, hard to be sure on the graph which one is mine. I assume the very last entry.
« Last Edit: July 19, 2018, 04:16:54 PM by zedd151 »
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

AW

  • Member
  • *****
  • Posts: 2583
  • Let's Make ASM Great Again!
Re: Matrix Transposing AVX versus SSE
« Reply #22 on: July 14, 2018, 06:24:54 PM »
@Zed
What I have learnt from the site is that the chart show the browser time, .i.e your local time. I also calculate the local time before sending the data which is displayed correctly. The "2 hours ago" does not make sense then and it was not happening when you were using Windows 7.  :icon_eek:
PS: You may need to refresh the page  :idea:

Quote
Also, is that what the font is supposed to look like?
It is possible to customize the charts, but this is an advanced topic and I don't understand it quite well.

zedd151

  • Member
  • ****
  • Posts: 871
Re: Matrix Transposing AVX versus SSE
« Reply #23 on: July 14, 2018, 06:34:57 PM »
PS: You may need to refresh the page  :idea:

I came back in a hurry to Windows 7 because M$ was threatening an update on Windows 10. Lemme go back and try again, I'll inform of the results - I'll clear the cache before running...
 
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

zedd151

  • Member
  • ****
  • Posts: 871
Re: Matrix Transposing AVX versus SSE
« Reply #24 on: July 14, 2018, 06:43:13 PM »
Okay back in Windows 10:

Code: [Select]
AMD A6-9220e RADEON R4, 5 COMPUTE CORES 2C 3G 8000x8000 Matrix Date/Time: [b]2018-07-14 03:39:09[/b] AVX(ms)=490.97 SSE(ms)=547.48
about 2 hours ago

The date and time displayed are correct for my location Central Standard Time. But still get the 'about 2 hours ago' ....
Now I'm going to run another from Windows 7....

Bold doesn't work within the 'code' box?   :greensml:  just found that out
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

zedd151

  • Member
  • ****
  • Posts: 871
Re: Matrix Transposing AVX versus SSE
« Reply #25 on: July 14, 2018, 06:48:47 PM »
Ok, now from Windows 7:
 
Code: [Select]
AMD A6-9220e RADEON R4, 5 COMPUTE CORES 2C 3G 8000x8000 Matrix Date/Time: 2018-07-14 03:46:23 AVX(ms)=447.92 SSE(ms)=738.40
less than a minute ago
 
 AMD A6-9220e RADEON R4, 5 COMPUTE CORES 2C 3G 8000x8000 Matrix Date/Time: 2018-07-14 03:39:09 AVX(ms)=490.97 SSE(ms)=547.48
7 minutes ago
 
 AMD A6-9220e RADEON R4, 5 COMPUTE CORES 2C 3G 8000x8000 Matrix Date/Time: 2018-07-14 03:06:33 AVX(ms)=337.76 SSE(ms)=547.36
40 minutes ago

???  :icon_confused:  Doesn't really matter though - at least not for me.
 
I expect some deviation from normal with Windows 7 because of a lack of drivers for this shiny new computer, but Windows 10 has all
of the latest drivers installed, plus Windows Edge browser. So I am at a loss for any explanation for the time discrepancy.
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

AW

  • Member
  • *****
  • Posts: 2583
  • Let's Make ASM Great Again!
Re: Matrix Transposing AVX versus SSE
« Reply #26 on: July 14, 2018, 07:00:46 PM »
I expect some deviation from normal with Windows 7 because of a lack of drivers for this shiny new computer, but Windows 10 has all
of the latest drivers installed, plus Windows Edge browser. So I am at a loss for any explanation for the time discrepancy.
I tested in Edge and IE in Windows 10 and it reports correctly the time ago. I have no explanation for the "time ago" discrepancy in your Windows 10.

zedd151

  • Member
  • ****
  • Posts: 871
Re: Matrix Transposing AVX versus SSE
« Reply #27 on: July 14, 2018, 07:06:17 PM »
I have no explanation for the "time ago" discrepancy in your Windows 10.
`
 
gremlins
I'm not always the sharpest knife in the drawer, but I have my moments.  :P