🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Jeff-Relf.Me Sat, 14 Apr 2018 14:58
365 Million L3 Misses.
#262689
Author: Jeff-Relf.Me
Date: Sat, 14 Apr 2018 14:58
38 lines
2577 bytes
BranimirMaksimovic replied:
> for( i = 0; i < _16k; ++i ) for( j = 0; j < _16k; ++j ) mat[ j*_16k + i ] = 42 ;
> Loop1:  3.659 Seconds     5  Million L3 Misses
> Loop2:   .327 Seconds

  Loop1:  2.485 Seconds   365  Million L3 Misses  ( 430 - 65 )
  Loop2:   .080 Seconds

I've no way of knowing L4 misses; my L4 is 128 MegaBytes.

I had to compile GitHub's "Performance Counter Monitor"
as I couldn't find "PCM.EXE", Googling.
WinRing0x64.DLL/.SYS had to be downloaded, as they must be signed.

I sample for 11 seconds because it takes me at least 5 seconds
to (manually) start the Loop1 test;  65 Million Misses is normal
for this amount of time ( 11 seconds, 430 - 65  = 365 ).

    PCM  11 -i=1 -ns -nsys -nc

A ReSet ( -r ) might be required, if there's a conflict.
I ran it -many- times, to be sure that I got the right averages.

To compile it, I had to add a "#include" and
change some compiler/linker switches.  Also:

    Visual Studio -> Solution Explorer -> RightClick Solution
    -> ReTarget Solution -> to pick a "Windows SDK".

    Put my "Include", "Lib" paths in my "Microsoft.Cpp.Win32.user.props.TXT";
    Copied it too "%LocalAppData%\Microsoft\MSBuild\v4.0\";
    Removed the ".TXT" extension and ReSarted Visual Studio;
    so the CodeEditor knows where my Includes are.

    Also, I put them in:  Solution Explorer -> Select all projects
      -> Settings -> Configuration Properties -> VC++ Directories.

Jeff-Relf.Me/Microsoft.Cpp.Win32.user.props.TXT
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads