メモリの転送速度測定ツール もともとは、solarisやlinuxでのコマンドプログラム。 ダウンロードファイルと別にcygwin1.dllも必要。 stream.exeとcygwin1.dllを同一のフォルダに配置、cmdより実行。 動作確認 ・Windows Server 2008 32bit C:\Users\Administrator>c:\tmp\stream.exe ------------------------------------------------------------- STREAM version $Revision: 5.8 $ ------------------------------------------------------------- This system uses 8 bytes per DOUBLE PRECISION word. ------------------------------------------------------------- Array size = 2000000, Offset = 0 Total memory required = 45.8 MB. Each test is run 10 times, but only the *best* time for each is used. ------------------------------------------------------------- Printing one line per active thread.... ------------------------------------------------------------- Your clock granularity/precision appears to be 999 microseconds. Each test below will take on the order of 5999 microseconds. (= 6 clock ticks) Increase the size of the arrays if this shows that you are not getting at least 20 clock ticks per test. ------------------------------------------------------------- WARNING -- The above is only a rough guideline. For best results, please be sure you know the precision of your system timer. ------------------------------------------------------------- Function Rate (MB/s) Avg time Min time Max time Copy: 3200.0319 0.0100 0.0100 0.0100 Scale: 3555.5527 0.0102 0.0090 0.0130 Add: 3692.3306 0.0134 0.0130 0.0140 Triad: 3692.3268 0.0132 0.0130 0.0140 ------------------------------------------------------------- Solution Validates ------------------------------------------------------------- 実際、ディスクの転送速度とメモリの転送速度を比較すると、一桁は変わることが分かる。 |