+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: optimized sources  (Read 615760 times)

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #390 on: 31 Oct 2008, 09:34:51 pm »
LoL

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: optimized sources
« Reply #391 on: 01 Nov 2008, 03:23:51 pm »
I cant believe it, Vista 64 shows PROCESSOR_ARCHITECTURE AMD64  :o

heinz

And it's right. Cause x64 mode _IS_ AMD64 ;)

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #392 on: 03 Nov 2008, 02:48:16 pm »
Nehalem is available in Germany
http://www.kmelektronik.de/
-----------------------------------------
Intel Core i7 920 4x2.67GHz BOX seit 23.10.2008 
399,99 €
Preis inkl. MwSt. + ab 5,99 € bei Versand
Filialbestände Lieferzeit in der Versandzentrale bei Vorbestellung voraussichtlich 3-4 Wochen
-----------------------------------------------------------------------------------------------------------------------------
Intel Core i7 940 4x2.93GHz BOX seit 23.10.2008 
699,99 €
Preis inkl. MwSt. + ab 5,99 € bei Versand
Filialbestände Lieferzeit in der Versandzentrale bei Vorbestellung voraussichtlich 2-3 Wochen
------------------------------------------------------------------------------------------------------------------------------   
Intel Core i7 965 XE 4x3.2GHz BOX seit 23.10.2008 
1199,99 €
Filialbestände Lieferzeit in der Versandzentrale bei Vorbestellung voraussichtlich 3 Wochen   
----------------------------------------------------------------------------------------------------------------------------
@ Jason: Santa Claus is comming soon, wish you good luck

heinz
 

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: optimized sources
« Reply #393 on: 03 Nov 2008, 05:29:06 pm »
Good news! :) But price still high...
Does it need DDR3 too or some boards with DDR2 support exist?
What ultimate upgrade price (all parts that should be replaced) will be?

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #394 on: 03 Nov 2008, 08:39:15 pm »
VS2008 Prof (90 days) is installed now on V64.
 first compiled project was sucessful, so we can hope.
1>arprec - 0 Fehler, 3 Warnung(en)
========== Erstellen: 1 erfolgreich, Fehler bei 0, 0 aktuell, 0 übersprungen ==========

1>------ Neues Erstellen gestartet: Projekt: qd, Konfiguration: Release Win32 ------
1>Die Zwischen- und Ausgabedateien für das Projekt "qd" mit der Konfiguration "Release|Win32" werden gelöscht.
1>Kompilieren...
1>util.cpp
1>qd_real.cpp
1>qd_const.cpp
1>fpu.cpp
1>dd_real.cpp
1>dd_const.cpp
1>c_qd.cpp
1>c_dd.cpp
1>bits.cpp
1>Code wird generiert...
1>Verknüpfen...
1>   Bibliothek "C:\I\SC\vs90\qd-2.3.0-pre5-windll\Release\qd.lib" und Objekt "C:\I\SC\vs90\qd-2.3.0-pre5-windll\Release\qd.exp" werden erstellt.
1>Das Manifest wird eingebettet...
1>Das Buildprotokoll wurde unter "file://c:\I\SC\vs90\qd-2.3.0-pre5-windll\Release\qd_files\BuildLog.htm" gespeichert.
1>qd - 0 Fehler, 0 Warnung(en)
2>------ Neues Erstellen gestartet: Projekt: qd_timer, Konfiguration: Release Win32 ------
3>------ Neues Erstellen gestartet: Projekt: qd_test, Konfiguration: Release Win32 ------
2>Die Zwischen- und Ausgabedateien für das Projekt "qd_timer" mit der Konfiguration "Release|Win32" werden gelöscht.
4>------ Neues Erstellen gestartet: Projekt: pslq_test, Konfiguration: Release Win32 ------
5>------ Neues Erstellen gestartet: Projekt: quadt_test, Konfiguration: Release Win32 ------
5>Die Zwischen- und Ausgabedateien für das Projekt "quadt_test" mit der Konfiguration "Release|Win32" werden gelöscht.
4>Die Zwischen- und Ausgabedateien für das Projekt "pslq_test" mit der Konfiguration "Release|Win32" werden gelöscht.
3>Die Zwischen- und Ausgabedateien für das Projekt "qd_test" mit der Konfiguration "Release|Win32" werden gelöscht.
2>Kompilieren...
4>Kompilieren...
3>Kompilieren...
5>Kompilieren...
3>qd_test.cpp
5>tictoc.cpp
2>tictoc.cpp
4>tictoc.cpp
2>qd_timer.cpp
5>quadt_test.cpp
4>pslq_test.cpp
4>Code wird generiert...
3>Verknüpfen...
4>Verknüpfen...
2>Code wird generiert...
5>Code wird generiert...
3>Das Manifest wird eingebettet...
4>Das Manifest wird eingebettet...
2>Verknüpfen...
5>Verknüpfen...
2>Das Manifest wird eingebettet...
5>Das Manifest wird eingebettet...
3>Das Buildprotokoll wurde unter "file://c:\I\SC\vs90\qd-2.3.0-pre5-windll\Release\qd_test_files\BuildLog.htm" gespeichert.
3>qd_test - 0 Fehler, 0 Warnung(en)
4>Das Buildprotokoll wurde unter "file://c:\I\SC\vs90\qd-2.3.0-pre5-windll\Release\pslq_test_files\BuildLog.htm" gespeichert.
4>pslq_test - 0 Fehler, 0 Warnung(en)
2>Das Buildprotokoll wurde unter "file://c:\I\SC\vs90\qd-2.3.0-pre5-windll\Release\qd_timer_files\BuildLog.htm" gespeichert.
2>qd_timer - 0 Fehler, 0 Warnung(en)
5>Das Buildprotokoll wurde unter "file://c:\I\SC\vs90\qd-2.3.0-pre5-windll\Release\quadt_test_files\BuildLog.htm" gespeichert.
5>quadt_test - 0 Fehler, 0 Warnung(en)
========== Alles neu erstellen: 5 erfolgreich, Fehler bei 0, 0 übersprungen ==========

Next will be ITBB...

heinz
« Last Edit: 04 Nov 2008, 03:03:13 am by _heinz »

Offline The Grinch

  • Knight o' The Realm
  • **
  • Posts: 58
    • www.Au-Ja.de
Re: optimized sources
« Reply #395 on: 05 Nov 2008, 01:06:05 am »
Good news! :) But price still high...
Does it need DDR3 too or some boards with DDR2 support exist?
What ultimate upgrade price (all parts that should be replaced) will be?

And Motherboards are NOT still stable!
I've anybody buy now, it getting betastyle Hardware.
Hardware-Onlinemagazine sounds like "Banana-Product", finished after buy.

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #396 on: 06 Nov 2008, 11:33:25 am »
It's hard to install a full functional developer system in Vista64. Fighting with IPP, MKL, TBB and ASM...
a lot work is todo by hand...
To setup the environment for MKL you had to go to \tools\environment and execute in a dos windows mklvars64 for 64Bit environment, and mklvars32 for 32Bit environment.
You should see then somethink like the following --->
C:\>cd C:\I\INTEL\MKL\9.0\tools\environment

C:\I\INTEL\MKL\9.0\tools\environment>mklvars64

C:\I\INTEL\MKL\9.0\tools\environment>set lib=C:\I\INTEL\MKL\9.0\ia64\lib;

C:\I\INTEL\MKL\9.0\tools\environment>set include=C:\I\INTEL\MKL\9.0\include;

C:\I\INTEL\MKL\9.0\tools\environment>set path=C:\I\INTEL\MKL\9.0\ia64\bin;C:\Win
dows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Intel\DMIX;C:
\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)
\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin

C:\I\INTEL\MKL\9.0\tools\environment>mklvars32

C:\I\INTEL\MKL\9.0\tools\environment>set lib=C:\I\INTEL\MKL\9.0\ia32\lib;C:\I\IN
TEL\MKL\9.0\ia64\lib;

C:\I\INTEL\MKL\9.0\tools\environment>set include=C:\I\INTEL\MKL\9.0\include;C:\I
\INTEL\MKL\9.0\include;

C:\I\INTEL\MKL\9.0\tools\environment>set path=C:\I\INTEL\MKL\9.0\ia32\bin;C:\I\I
NTEL\MKL\9.0\ia64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:
\Program Files\Intel\DMIX;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-S
tatic;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program File
s\TortoiseSVN\bin

C:\I\INTEL\MKL\9.0\tools\environment>
----------------------------------------------------------------
with TBB it is much more complicated.. a really good setup is missing, a lot of  work by hand...uuuhhh
download tbb21_012oss_win.zip and additional msvs_plugin_20080610.zip, unzip both into the directory you want to install.
set the environment variable TBB21_INSTALL_DIR  to the directory you want to install.  goto the directory msvs_plugin_20080610 and read the file "README". You can not use a normal win-Editor. So use your Visual Studio to open the file. You see now the following Instructions --->
------------------------------------------------------------------------
Intel(R) Threading Building Blocks Integration Plug-in - README
------------------------------------------------------------------------


Contents
--------

    - Overview
    - Installation
    - Usage
    - Integration actions
    - Advanced configuration
    - Known limitations


Overview
--------

The Intel(R) Threading Building Blocks integration plug-in provides
a simple mechanism to set up the use of Intel(R) Threading Building
Blocks (TBB) in Microsoft* Visual Studio* projects.

The TBB integration plug-in adds the following settings into
Microsoft* Visual C++* projects as required by TBB:

    - the path to the TBB header files
    - the path to the TBB libraries
    - the specific TBB libraries to link with

The plug-in can be used with C++ projects created in Microsoft*
Visual Studio* 2003, 2005 and 2008.

See http://threadingbuildingblocks.org for full TBB documentation
and software information.


Installation
------------

Unzip the msvs_plugin.zip package and open the msvs_plugin folder that
is created.

Before use, the plug-in must be registered by performing the following
steps (depending on the version of Microsoft* Visual Studio* being used):

    - Microsoft* Visual Studio* 2003

   1.  Create or open the "<My Documents>\Visual Studio 2003\Addins"
       folder.

   2.  Copy all files from msvs_plugin\vc7.1 into the above folder.

   3.  If using a 32-bit version of Microsoft* Windows*, double-
       click on the tbb_integration_vc7.1_32.reg file to add infor-
       mation about the plug-in into the registry.

       If using a 64-bit version of Microsoft* Windows*, double-
       click on the tbb_integration_vc7.1_64.reg file to add infor-
       mation about the plug-in into the registry.

   4.  Register the tbb_integration_vc7.1.dll by using the
       Microsoft* regasm utility by performing these steps:

      cd "<My Documents>\Visual Studio 2003\Addins"

      regasm tbb_integration_vc7.1.dll /codebase

       where <My Documents> is the actual path to your "My
       Documents" folder.

   5.  Reset Microsoft* Visual Studio* 2003 by performing this step:

      devenv.exe /setup

    - Microsoft* Visual Studio* 2005

   1.  Create or open the "<My Documents>\Visual Studio 2005\Addins"
       folder.

   2.  Copy all files from msvs_plugin\vc8 into the above folder.

    - Microsoft* Visual Studio* 2008

   1.  Create or open the "<My Documents>\Visual Studio 2008\Addins"
       folder.

   2.  Copy all files from msvs_plugin\vc9 into the above folder.

To ensure that the registration succeeded, select Tools -> Add-in
Manager in the main Microsoft* Visual Studio* menu and check that the
TBB integration plug-in is listed in the table.  Also, the list of
installed products, in the Microsoft* Visual Studio* Help -> About
dialog, should contain an entry for "TBB Integration".

To upgrade to a new version of the TBB integration plug-in, simply
replace the previous version of the DLL installed above by the new
version.

The plugin is pre-configured to use it with commercial Intel(R) TBB
software of versions 2.0 and 2.1. To use the plugin with open-source
TBB packages, in addition to the above steps, do the following:

   1.  Determine the full path to the root directory with the content
        of the open-source TBB package.

   2.  Set TBB20_INSTALL_DIR or TBB21_INSTALL_DIR environment variable
        to contain the above path. For instructions about how to set
        an environment variable, seek Microsoft* Windows* help system.

See also "Advanced configuration" section for additional information.


Usage
-----

To enable TBB for a given C++ project, right-click on the project item
in the Microsoft* Visual Studio* Solution Explorer, and open the "Use
Intel(R) TBB" sub-menu in the project context menu.  The sub-menu
consists of the following items:

    - The list of TBB versions the plugin is configured to use with.

   Click the desired version you want to use with your project to
   add the necessary parameters to the project settings.

    - "Remove Intel(R) TBB settings".

   Select this item to delete all TBB-specific settings from your
   project.


Integration Actions
-------------------

When TBB is enabled for a C++ project as described above, the following
C++ project settings are changed:

    - The path to the TBB header files is added to "Additional Include
      Directories".

    - The path to the TBB libraries is added to "Additional Library
      Directories".

    - The TBB libraries are added into "Additional Dependencies"
      (tbb.lib for Release configuration, and tbb_debug.lib for Debug).

    - For Microsoft* Visual Studio* 2003, a command to copy TBB dynamic
      libraries (tbb.dll / tbb_debug.dll) into the OutDir directory is
      added into the list of post-build events.

    - For Microsoft* Visual Studio* 2005 or 2008, the path to the TBB
      dynamic libraries is appended to the PATH environment variable in
      "Debugging | Environment".

The above actions are sufficient to successfully use TBB in Microsoft*
Visual Studio* C++ projects.


Advanced configuration
----------------------

The plugin takes the paths to the TBB header files and libraries from
the paths.xml file located in the directory with the plug-in DLL.
For example, the following tag structure inside paths.xml provides
the plugin with the paths for TBB 2.0 installations:
  <TBB version_name="TBB 2.0">
    <TBB_INCLUDE_DIR>$(TBB20_INSTALL_DIR)\include</TBB_INCLUDE_DIR>
    <TBB_LIB_DIR mode="32">$(TBB20_INSTALL_DIR)\ia32\vc8\lib</TBB_LIB_DIR>
    <TBB_LIB_DIR mode="64">$(TBB20_INSTALL_DIR)\em64t\vc8\lib</TBB_LIB_DIR>
    <TBB_BIN_DIR mode="32">$(TBB20_INSTALL_DIR)\ia32\vc8\bin</TBB_BIN_DIR>
    <TBB_BIN_DIR mode="64">$(TBB20_INSTALL_DIR)\em64t\vc8\bin</TBB_BIN_DIR>
  </TBB>
The $(TBB20_INSTALL_DIR) is the environment variable containing the path
to the root directory of TBB 2.0 installation; it is set automatically
when commercial TBB 2.0 package is installed. Likewise TBB21_INSTALL_DIR
is used for TBB 2.1 packages, etc.

When necessary, you can specify more TBB paths by adding new <TBB> tags
to the configuration file. An example is provided there as a comment.
The version_name attribute should contain the text to be displayed in
the TBB integration menu; if missed, the whole tag is ignored. If some
directory tag under <TBB> is missed, then the corresponding setting
will not be set during integration. If TBB_INCLUDE_DIR tag is missed,
the corresponding item will be disabled in the TBB integration menu.

If there is no paths.xml file, the TBB integration menu will only have
the option to remove TBB settings.


Known Limitations
-----------------

   - The plug-in files should not be located on a remote disk due to
     known add-in loading limitations.  See
     http://msdn2.microsoft.com/en-us/library/19dax6cz(vs.80).aspx
     for details.
---------------------------------------------------------------------------------------------------

Really a lot todo, if we have 3 different  developer environments(32, 64, em64t) and  3 VS-Studios, (VS2005 Express, VS2008 Express, VS2008 Professional)....and 3 different OS(Vista64, XP64, Linux)
And if all this is done you had to go to the SDK to set the environment new....uuuhh.
And it is not simple ... for me is simple when I can click on a setup.exe file and all is done....
Such a method to make TBB available is not userfriendly !


heinz

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #397 on: 07 Nov 2008, 07:32:06 pm »
After poking around I get TBB20 running on Vista64, VS2005 Express Edition, VS2008 Express Edition and Visual Studio 2008 Professional Edition. With all 3 I compiled the fiboniacci project sucessful, although in the "Solution Explorer" the submenu "Use Intel(R) TBB" is not available(till now).  ::)
edit:
no menu "Use Intel(R) TBB"
« Last Edit: 10 Nov 2008, 07:25:43 pm by _heinz »

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: optimized sources
« Reply #398 on: 25 Nov 2008, 04:35:48 pm »
@
You are among the first to receive notification of the groundbreaking Intel® Parallel Composer Beta. Download this exciting new tool and get instant access to an advanced parallelism C/C++ compiler, debugger, and libraries that can change the way you develop parallel applications. @
 ;D
Will look...

Gecko_R7

  • Guest
Re: optimized sources
« Reply #399 on: 25 Nov 2008, 06:32:29 pm »
@
You are among the first to receive notification of the groundbreaking Intel® Parallel Composer Beta. Download this exciting new tool and get instant access to an advanced parallelism C/C++ compiler, debugger, and libraries that can change the way you develop parallel applications. @
 ;D
Will look...


Ohhhh......sounds cool!!!!  8)

Offline Raistmer

  • Working Code Wizard
  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 14349
Re: optimized sources
« Reply #400 on: 25 Nov 2008, 11:27:57 pm »
"
1.2.3
Minimum System Requirements

A PC based on an IA-32 architecture processor supporting the Intel® Streaming SIMD 2 Extensions (Intel® SSE2) instructions, or a PC based on an Intel® 64 architecture processor or 64-bit AMD* Athlon* or Opteron* processor
"
It seems now Intel directly claim that it supports AMD CPUs (usually there is "and compatible CPUs" statement)

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #401 on: 26 Nov 2008, 07:40:48 am »
Well AFAICT it's a nice thing for those with MSVS projects they'd like to parallelise, but is basically repackaged ICC/IPP/TBB & Thread profiler&checker ... already have these, but might be nice to see if they've integrated things a bit better.
« Last Edit: 26 Nov 2008, 09:28:36 am by Jason G »

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #402 on: 26 Nov 2008, 11:44:44 am »
@Heinz: Do you happen to have any single and multithreaded FFT processing times benched on your skulltrail?  Time for 1,2,4 & 8 threads would be nice for 32k element &/or 128k elements, if you have them. 

I'm trying to verify/refine some efficiency calculations & have no reference but my dual core.

Jason
« Last Edit: 26 Nov 2008, 11:53:49 am by Jason G »

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #403 on: 26 Nov 2008, 12:04:38 pm »
@Heinz: Do you happen to have any single and multithreaded FFT processing times benched on your skulltrail?  Time for 1,2,4 & 8 threads would be nice for 32k element &/or 128k elements, if you have them. 

I'm trying to verify/refine some efficiency calculations & have no reference but my dual core.

Jason

Hi Jason,
did not bench the single or multithreaded FFT, but can do this in the next days.
Time for 1,2,4 & 8 threads would be nice for 32k element &/or 128k elements, if you have them. 
I do not have them, post pm where I can get, then I will do so.
heinz

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #404 on: 26 Nov 2008, 12:06:02 pm »
Cheers!  ;D [will see what I can work out if you have no test piece, will take some time ]
« Last Edit: 26 Nov 2008, 01:19:04 pm by Jason G »

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 29
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 18
Total: 18
Powered by EzPortal