OS: mbw memory bandwidth benchmark program
Jump to navigation
Jump to search
MBW menentukan bandwidth memory yang tersedia dengan menyalin data array besar dalam memori.
MBW menentukan "copy" bandwidth memori yang tersedia untuk program userspace. Model yang digunakan merupakan pendekatan sederhana terhadap aplikasi nyata. Model tersebut tidak disetel ke ekstrim dan tidak mengetahui arsitektur perangkat keras, seperti halnya umumnya paket perangkat lunak.
Instalasi
apt-get install mbw
Menjalankan
Untuk 1 MB
mbw 1
Untuk 2 MB
mbw 2
Contoh Hasil
mbw 2
Long uses 8 bytes. Allocating 2*262144 elements = 4194304 bytes of memory. Using 262144 bytes as blocks for memcpy block copy test. Getting down to business... Doing 10 runs per test. 0 Method: MEMCPY Elapsed: 0.00215 MiB: 2.00000 Copy: 930.233 MiB/s 1 Method: MEMCPY Elapsed: 0.00225 MiB: 2.00000 Copy: 888.889 MiB/s 2 Method: MEMCPY Elapsed: 0.00166 MiB: 2.00000 Copy: 1206.273 MiB/s 3 Method: MEMCPY Elapsed: 0.00189 MiB: 2.00000 Copy: 1055.966 MiB/s 4 Method: MEMCPY Elapsed: 0.00165 MiB: 2.00000 Copy: 1211.387 MiB/s 5 Method: MEMCPY Elapsed: 0.00162 MiB: 2.00000 Copy: 1232.286 MiB/s 6 Method: MEMCPY Elapsed: 0.00189 MiB: 2.00000 Copy: 1059.322 MiB/s 7 Method: MEMCPY Elapsed: 0.00201 MiB: 2.00000 Copy: 993.049 MiB/s 8 Method: MEMCPY Elapsed: 0.00193 MiB: 2.00000 Copy: 1036.807 MiB/s 9 Method: MEMCPY Elapsed: 0.00263 MiB: 2.00000 Copy: 761.615 MiB/s AVG Method: MEMCPY Elapsed: 0.00197 MiB: 2.00000 Copy: 1016.105 MiB/s 0 Method: DUMB Elapsed: 0.00405 MiB: 2.00000 Copy: 493.705 MiB/s 1 Method: DUMB Elapsed: 0.00167 MiB: 2.00000 Copy: 1196.888 MiB/s 2 Method: DUMB Elapsed: 0.00267 MiB: 2.00000 Copy: 748.783 MiB/s 3 Method: DUMB Elapsed: 0.00326 MiB: 2.00000 Copy: 614.439 MiB/s 4 Method: DUMB Elapsed: 0.00272 MiB: 2.00000 Copy: 735.024 MiB/s 5 Method: DUMB Elapsed: 0.00296 MiB: 2.00000 Copy: 676.361 MiB/s 6 Method: DUMB Elapsed: 0.00271 MiB: 2.00000 Copy: 736.920 MiB/s 7 Method: DUMB Elapsed: 0.00233 MiB: 2.00000 Copy: 856.898 MiB/s 8 Method: DUMB Elapsed: 0.00231 MiB: 2.00000 Copy: 867.303 MiB/s 9 Method: DUMB Elapsed: 0.00199 MiB: 2.00000 Copy: 1005.025 MiB/s AVG Method: DUMB Elapsed: 0.00267 MiB: 2.00000 Copy: 749.906 MiB/s 0 Method: MCBLOCK Elapsed: 0.00154 MiB: 2.00000 Copy: 1297.017 MiB/s 1 Method: MCBLOCK Elapsed: 0.00182 MiB: 2.00000 Copy: 1096.491 MiB/s 2 Method: MCBLOCK Elapsed: 0.00169 MiB: 2.00000 Copy: 1184.133 MiB/s 3 Method: MCBLOCK Elapsed: 0.00177 MiB: 2.00000 Copy: 1130.582 MiB/s 4 Method: MCBLOCK Elapsed: 0.00154 MiB: 2.00000 Copy: 1297.017 MiB/s 5 Method: MCBLOCK Elapsed: 0.00124 MiB: 2.00000 Copy: 1615.509 MiB/s 6 Method: MCBLOCK Elapsed: 0.00109 MiB: 2.00000 Copy: 1834.862 MiB/s 7 Method: MCBLOCK Elapsed: 0.00107 MiB: 2.00000 Copy: 1863.933 MiB/s 8 Method: MCBLOCK Elapsed: 0.00121 MiB: 2.00000 Copy: 1650.165 MiB/s 9 Method: MCBLOCK Elapsed: 0.00162 MiB: 2.00000 Copy: 1230.769 MiB/s AVG Method: MCBLOCK Elapsed: 0.00146 MiB: 2.00000 Copy: 1369.488 MiB/s