Guest User

VirtualMultiArray benchmark

a guest
Feb 15th, 2021
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.79 KB | None | 0 0
  1. ~/Downloads$ git clone https://github.com/tugrul512bit/VirtualMultiArray.git
  2. Cloning into 'VirtualMultiArray'...
  3. remote: Enumerating objects: 16, done.
  4. remote: Counting objects: 100% (16/16), done.
  5. remote: Compressing objects: 100% (16/16), done.
  6. remote: Total 268 (delta 7), reused 0 (delta 0), pack-reused 252
  7. Receiving objects: 100% (268/268), 339.76 KiB | 169.00 KiB/s, done.
  8. Resolving deltas: 100% (171/171), done.
  9. ~/Downloads$ cd VirtualMultiArray
  10. ~/Downloads/VirtualMultiArray$ g++ -std=c++1y -O3 -g3 -Wall -c -fmessage-length=0 -march=native -mavx -fopenmp -pthread -fPIC -MMD -MP -MF"benchmark1.d" -MT"benchmark1.d" -o "benchmark.o" "benchmark1.cpp"
  11. In file included from /usr/include/CL/cl_platform.h:20,
  12. from CL/cl.h:35,
  13. from ClPlatform.h:13,
  14. from GraphicsCardSupplyDepot.h:14,
  15. from benchmark1.cpp:1:
  16. /usr/include/CL/cl_version.h:22:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)’
  17. 22 | agma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
  18. | ^
  19.  
  20. In file included from GraphicsCardSupplyDepot.h:15,
  21. from benchmark1.cpp:1:
  22. ClDevice.h: In constructor ‘ClDevice::ClDevice(cl_platform_id, bool)’:
  23. ClDevice.h:47:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__shared_ptr_access<unsigned int, __gnu_cxx::_S_atomic, false, false>::element_type’ {aka ‘unsigned int’} [-Wsign-compare]
  24. 47 | for(int i=0;i<*n;i++)
  25. | ~^~~
  26. In file included from benchmark1.cpp:3:
  27. PcieBandwidthBenchmarker.h: In lambda function:
  28. PcieBandwidthBenchmarker.h:54:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ClDevice>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  29. 54 | for(int i=0;i<devList.size();i++)
  30. | ~^~~~~~~~~~~~~~~
  31. In file included from benchmark1.cpp:3:
  32. PcieBandwidthBenchmarker.h: In lambda function:
  33. PcieBandwidthBenchmarker.h:65:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  34. 65 | if(idx==(j%numThr))
  35. | ~~~^~~~~~~~~~~~
  36. PcieBandwidthBenchmarker.h: In constructor ‘PcieBandwidthBenchmarker::PcieBandwidthBenchmarker(int)’:
  37. PcieBandwidthBenchmarker.h:76:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ClDevice>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  38. 76 | for(int i=0;i<gpus.size();i++)
  39. | ~^~~~~~~~~~~~
  40. PcieBandwidthBenchmarker.h:84:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ClDevice>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  41. 84 | for(int i=0;i<gpus.size();i++)
  42. | ~^~~~~~~~~~~~
  43. PcieBandwidthBenchmarker.h: In member function ‘std::vector<int> PcieBandwidthBenchmarker::bestBandwidth(int)’:
  44. PcieBandwidthBenchmarker.h:101:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<float>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  45. 101 | for(int i=0;i<bandwidthOptimizedMultipliers.size();i++)
  46. | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  47. benchmark1.cpp: In function ‘int main(int, char**)’:
  48. benchmark1.cpp:78:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  49. 78 | for(int h=0;h<found.size();h++)
  50. | ~^~~~~~~~~~~~~
  51. In file included from benchmark1.cpp:2:
  52. VirtualMultiArray.h: In instantiation of ‘VirtualMultiArray<T>::VirtualMultiArray(size_t, std::vector<ClDevice>, size_t, int, std::vector<int>, VirtualMultiArray<T>::MemMult, bool) [with T = PcieBandwidthBenchmarker::Obj; size_t = long unsigned int]’:
  53. PcieBandwidthBenchmarker.h:58:79: required from here
  54. VirtualMultiArray.h:90:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  55. 90 | if(i<memMult.size())
  56. | ~^~~~~~~~~~~~~~~
  57. VirtualMultiArray.h:144:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  58. 144 | if(nDevice>size/pageSizeP)
  59. | ~~~~~~~^~~~~~~~~~~~~~~
  60. VirtualMultiArray.h:175:59: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  61. 175 | va.get()[ctr]=VirtualArray<T>( ((extraAllocDeviceIndex>=ctr)?numInterleave:(numInterleave-1)) * pageSize,device[i],pageSize,numActivePage,usePinnedArraysOnly);
  62. | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  63. VirtualMultiArray.h:193:60: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  64. 193 | va.get()[ctr]=VirtualArray<T>( ((extraAllocDeviceIndex>= ctr)?numInterleave:(numInterleave-1)) * pageSize,va.get()[index].getContext(),device[i],pageSize,numActivePage,usePinnedArraysOnly);
  65. | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
  66. VirtualMultiArray.h: In instantiation of ‘VirtualMultiArray<T>::VirtualMultiArray(size_t, std::vector<ClDevice>, size_t, int, std::vector<int>, VirtualMultiArray<T>::MemMult, bool) [with T = Obj; size_t = long unsigned int]’:
  67. benchmark1.cpp:27:60: required from here
  68. VirtualMultiArray.h:90:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  69. 90 | if(i<memMult.size())
  70. | ~^~~~~~~~~~~~~~~
  71. VirtualMultiArray.h:144:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  72. 144 | if(nDevice>size/pageSizeP)
  73. | ~~~~~~~^~~~~~~~~~~~~~~
  74. VirtualMultiArray.h:175:59: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  75. 175 | va.get()[ctr]=VirtualArray<T>( ((extraAllocDeviceIndex>=ctr)?numInterleave:(numInterleave-1)) * pageSize,device[i],pageSize,numActivePage,usePinnedArraysOnly);
  76. | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
  77. VirtualMultiArray.h:193:60: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  78. 193 | va.get()[ctr]=VirtualArray<T>( ((extraAllocDeviceIndex>= ctr)?numInterleave:(numInterleave-1)) * pageSize,va.get()[index].getContext(),device[i],pageSize,numActivePage,usePinnedArraysOnly);
  79. | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
  80. VirtualMultiArray.h: In instantiation of ‘std::vector<long unsigned int> VirtualMultiArray<T>::find(T&, S&, int) [with S = char; T = Obj]’:
  81. benchmark1.cpp:69:65: required from here
  82. VirtualMultiArray.h:474:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  83. 474 | for(int i=0;i<numDevice;i++)
  84. | ~^~~~~~~~~~
  85. VirtualMultiArray.h:489:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
  86. 489 | for(size_t k = 0; k<szResultI; k++)
  87. | ~^~~~~~~~~~
  88. VirtualMultiArray.h:506:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  89. 506 | for(int i=0;i<numDevice;i++)
  90. | ~^~~~~~~~~~
  91. In file included from VirtualMultiArray.h:26,
  92. from benchmark1.cpp:2:
  93. VirtualArray.h: In instantiation of ‘std::vector<long unsigned int> VirtualArray<T>::find(int, S, int, int) [with S = char; T = Obj]’:
  94. VirtualMultiArray.h:485:51: required from ‘std::vector<long unsigned int> VirtualMultiArray<T>::find(T&, S&, int) [with S = char; T = Obj]’
  95. benchmark1.cpp:69:65: required from here
  96. VirtualArray.h:479:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  97. 479 | if(memberSizeTmp!=computeFind->getArgSizeBytes("member value"))
  98. | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  99. VirtualArray.h:511:14: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  100. 511 | if(numFound>foundIdListSize)
  101. | ~~~~~~~~^~~~~~~~~~~~~~~~
  102.  
  103. ~/Downloads/VirtualMultiArray$ g++ -L/usr/local/cuda/lib64 -o "benchmark1_binary" benchmark.o -lOpenCL -lpthread -lgomp
  104. ~/Downloads/VirtualMultiArray$ ./benchmark1_binary
  105. preparing virtual array...
  106. initializing data...
  107. benchmarking find()...
  108. num found: 8
  109. found: 100 10000 1000 10000000 100000000 1000000000 1000000 100000
  110. data search: 4400MB 508ms
  111. consumed RAM bandwidth: 0.00171654MB/s
  112. ----------------------
  113. ----------------------
  114. ----------------------
  115. num found: 8
  116. found: 1000000 100000 100 10000 1000 10000000 100000000 1000000000
  117. data search: 4400MB 54ms
  118. consumed RAM bandwidth: 0.0161481MB/s
  119. ----------------------
  120. ----------------------
  121. ----------------------
  122. num found: 8
  123. found: 100000 1000 100 10000 10000000 100000000 1000000000 1000000
  124. data search: 4400MB 53ms
  125. consumed RAM bandwidth: 0.0164528MB/s
  126. ----------------------
  127. ----------------------
  128. ----------------------
  129. num found: 8
  130. found: 100000 100 1000 10000 10000000 100000000 1000000000 1000000
  131. data search: 4400MB 51ms
  132. consumed RAM bandwidth: 0.017098MB/s
  133. ----------------------
  134. ----------------------
  135. ----------------------
  136. num found: 8
  137. found: 100000 10000 1000 100 10000000 100000000 1000000000 1000000
  138. data search: 4400MB 47ms
  139. consumed RAM bandwidth: 0.0185532MB/s
  140. ----------------------
  141. ----------------------
  142. ----------------------
  143. num found: 8
  144. found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
  145. data search: 4400MB 48ms
  146. consumed RAM bandwidth: 0.0181667MB/s
  147. ----------------------
  148. ----------------------
  149. ----------------------
  150. num found: 8
  151. found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
  152. data search: 4400MB 46ms
  153. consumed RAM bandwidth: 0.0189565MB/s
  154. ----------------------
  155. ----------------------
  156. ----------------------
  157. num found: 8
  158. found: 100 1000 10000 10000000 100000000 1000000000 100000 1000000
  159. data search: 4400MB 46ms
  160. consumed RAM bandwidth: 0.0189565MB/s
  161. ----------------------
  162. ----------------------
  163. ----------------------
  164. num found: 8
  165. found: 1000000 100 10000 1000 10000000 100000000 1000000000 100000
  166. data search: 4400MB 48ms
  167. consumed RAM bandwidth: 0.0181667MB/s
  168. ----------------------
  169. ----------------------
  170. ----------------------
  171. num found: 8
  172. found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
  173. data search: 4400MB 46ms
  174. consumed RAM bandwidth: 0.0189565MB/s
  175. ----------------------
  176. ----------------------
  177. ----------------------
  178. num found: 8
  179. found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
  180. data search: 4400MB 46ms
  181. consumed RAM bandwidth: 0.0189565MB/s
  182. ----------------------
  183. ----------------------
  184. ----------------------
  185. num found: 8
  186. found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
  187. data search: 4400MB 46ms
  188. consumed RAM bandwidth: 0.0189565MB/s
  189. ----------------------
  190. ----------------------
  191. ----------------------
  192. num found: 8
  193. found: 1000000 100000 10000 100 1000 10000000 100000000 1000000000
  194. data search: 4400MB 47ms
  195. consumed RAM bandwidth: 0.0185532MB/s
  196. ----------------------
  197. ----------------------
  198. ----------------------
  199. num found: 8
  200. found: 100000 1000000 1000 100 10000 10000000 100000000 1000000000
  201. data search: 4400MB 47ms
  202. consumed RAM bandwidth: 0.0185532MB/s
  203. ----------------------
  204. ----------------------
  205. ----------------------
  206. num found: 8
  207. found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
  208. data search: 4400MB 47ms
  209. consumed RAM bandwidth: 0.0185532MB/s
  210. ----------------------
  211. ----------------------
  212. ----------------------
  213. num found: 8
  214. found: 1000 100 10000 10000000 100000000 1000000000 100000 1000000
  215. data search: 4400MB 47ms
  216. consumed RAM bandwidth: 0.0185532MB/s
  217. ----------------------
  218. ----------------------
  219. ----------------------
  220. num found: 8
  221. found: 100000 100 10000 1000 10000000 100000000 1000000000 1000000
  222. data search: 4400MB 46ms
  223. consumed RAM bandwidth: 0.0189565MB/s
  224. ----------------------
  225. ----------------------
  226. ----------------------
  227. num found: 8
  228. found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
  229. data search: 4400MB 47ms
  230. consumed RAM bandwidth: 0.0185532MB/s
  231. ----------------------
  232. ----------------------
  233. ----------------------
  234. num found: 8
  235. found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
  236. data search: 4400MB 47ms
  237. consumed RAM bandwidth: 0.0185532MB/s
  238. ----------------------
  239. ----------------------
  240. ----------------------
  241. num found: 8
  242. found: 100000 1000 100 10000 10000000 100000000 1000000000 1000000
  243. data search: 4400MB 46ms
  244. consumed RAM bandwidth: 0.0189565MB/s
  245. ----------------------
  246. ----------------------
  247. ----------------------
  248. num found: 8
  249. found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
  250. data search: 4400MB 47ms
  251. consumed RAM bandwidth: 0.0185532MB/s
  252. ----------------------
  253. ----------------------
  254. ----------------------
  255. num found: 8
  256. found: 1000000 100000 100 10000 1000 10000000 100000000 1000000000
  257. data search: 4400MB 45ms
  258. consumed RAM bandwidth: 0.0193778MB/s
  259. ----------------------
  260. ----------------------
  261. ----------------------
  262. num found: 8
  263. found: 1000 100 10000 10000000 100000000 1000000000 1000000 100000
  264. data search: 4400MB 49ms
  265. consumed RAM bandwidth: 0.0177959MB/s
  266. ----------------------
  267. ----------------------
  268. ----------------------
  269. num found: 8
  270. found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
  271. data search: 4400MB 45ms
  272. consumed RAM bandwidth: 0.0193778MB/s
  273. ----------------------
  274. ----------------------
  275. ----------------------
  276. num found: 8
  277. found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
  278. data search: 4400MB 47ms
  279. consumed RAM bandwidth: 0.0185532MB/s
  280. ----------------------
  281. ----------------------
  282. ----------------------
  283. num found: 8
  284. found: 100000 1000 100 10000 10000000 100000000 1000000000 1000000
  285. data search: 4400MB 46ms
  286. consumed RAM bandwidth: 0.0189565MB/s
  287. ----------------------
  288. ----------------------
  289. ----------------------
  290. num found: 8
  291. found: 100000 100 1000 10000 10000000 100000000 1000000000 1000000
  292. data search: 4400MB 45ms
  293. consumed RAM bandwidth: 0.0193778MB/s
  294. ----------------------
  295. ----------------------
  296. ----------------------
  297. num found: 8
  298. found: 100000 1000000 100 1000 10000 10000000 100000000 1000000000
  299. data search: 4400MB 48ms
  300. consumed RAM bandwidth: 0.0181667MB/s
  301. ----------------------
  302. ----------------------
  303. ----------------------
  304. num found: 8
  305. found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
  306. data search: 4400MB 46ms
  307. consumed RAM bandwidth: 0.0189565MB/s
  308. ----------------------
  309. ----------------------
  310. ----------------------
  311. num found: 8
  312. found: 100000 1000000 10000 100 1000 10000000 100000000 1000000000
  313. data search: 4400MB 46ms
  314. consumed RAM bandwidth: 0.0189565MB/s
  315. ----------------------
  316. ----------------------
  317. ----------------------
  318. num found: 8
  319. found: 1000 10000 100 10000000 100000000 1000000000 1000000 100000
  320. data search: 4400MB 48ms
  321. consumed RAM bandwidth: 0.0181667MB/s
  322. ----------------------
  323. ----------------------
  324. ----------------------
  325. num found: 8
  326. found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
  327. data search: 4400MB 45ms
  328. consumed RAM bandwidth: 0.0193778MB/s
  329. ----------------------
  330. ----------------------
  331. ----------------------
  332. num found: 8
  333. found: 1000000 1000 10000 100 10000000 100000000 1000000000 100000
  334. data search: 4400MB 49ms
  335. consumed RAM bandwidth: 0.0177959MB/s
  336. ----------------------
  337. ----------------------
  338. ----------------------
  339. num found: 8
  340. found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
  341. data search: 4400MB 46ms
  342. consumed RAM bandwidth: 0.0189565MB/s
  343. ----------------------
  344. ----------------------
  345. ----------------------
  346. num found: 8
  347. found: 100000 1000000 10000 100 1000 10000000 100000000 1000000000
  348. data search: 4400MB 47ms
  349. consumed RAM bandwidth: 0.0185532MB/s
  350. ----------------------
  351. ----------------------
  352. ----------------------
  353. num found: 8
  354. found: 1000 100 10000 10000000 100000000 1000000000 100000 1000000
  355. data search: 4400MB 47ms
  356. consumed RAM bandwidth: 0.0185532MB/s
  357. ----------------------
  358. ----------------------
  359. ----------------------
  360. num found: 8
  361. found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
  362. data search: 4400MB 46ms
  363. consumed RAM bandwidth: 0.0189565MB/s
  364. ----------------------
  365. ----------------------
  366. ----------------------
  367. num found: 8
  368. found: 100000 1000000 1000 100 10000 10000000 100000000 1000000000
  369. data search: 4400MB 46ms
  370. consumed RAM bandwidth: 0.0189565MB/s
  371. ----------------------
  372. ----------------------
  373. ----------------------
  374. num found: 8
  375. found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
  376. data search: 4400MB 47ms
  377. consumed RAM bandwidth: 0.0185532MB/s
  378. ----------------------
  379. ----------------------
  380. ----------------------
  381. num found: 8
  382. found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
  383. data search: 4400MB 45ms
  384. consumed RAM bandwidth: 0.0193778MB/s
  385. ----------------------
  386. ----------------------
  387. ----------------------
  388. num found: 8
  389. found: 100000 100 10000 1000 10000000 100000000 1000000000 1000000
  390. data search: 4400MB 49ms
  391. consumed RAM bandwidth: 0.0177959MB/s
  392. ----------------------
  393. ----------------------
  394. ----------------------
  395. num found: 8
  396. found: 1000 100 10000 10000000 100000000 1000000000 1000000 100000
  397. data search: 4400MB 45ms
  398. consumed RAM bandwidth: 0.0193778MB/s
  399. ----------------------
  400. ----------------------
  401. ----------------------
  402. num found: 8
  403. found: 100000 100 10000 1000 10000000 100000000 1000000000 1000000
  404. data search: 4400MB 48ms
  405. consumed RAM bandwidth: 0.0181667MB/s
  406. ----------------------
  407. ----------------------
  408. ----------------------
  409. num found: 8
  410. found: 100000 1000000 100 1000 10000 10000000 100000000 1000000000
  411. data search: 4400MB 47ms
  412. consumed RAM bandwidth: 0.0185532MB/s
  413. ----------------------
  414. ----------------------
  415. ----------------------
  416. num found: 8
  417. found: 100000 100 10000 1000 10000000 100000000 1000000000 1000000
  418. data search: 4400MB 46ms
  419. consumed RAM bandwidth: 0.0189565MB/s
  420. ----------------------
  421. ----------------------
  422. ----------------------
  423. num found: 8
  424. found: 100000 1000 100 10000 10000000 100000000 1000000000 1000000
  425. data search: 4400MB 47ms
  426. consumed RAM bandwidth: 0.0185532MB/s
  427. ----------------------
  428. ----------------------
  429. ----------------------
  430. num found: 8
  431. found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
  432. data search: 4400MB 46ms
  433. consumed RAM bandwidth: 0.0189565MB/s
  434. ----------------------
  435. ----------------------
  436. ----------------------
  437. num found: 8
  438. found: 100000 10000 100 1000 10000000 100000000 1000000000 1000000
  439. data search: 4400MB 48ms
  440. consumed RAM bandwidth: 0.0181667MB/s
  441. ----------------------
  442. ----------------------
  443. ----------------------
  444. num found: 8
  445. found: 100000 1000000 100 1000 10000 10000000 100000000 1000000000
  446. data search: 4400MB 46ms
  447. consumed RAM bandwidth: 0.0189565MB/s
  448. ----------------------
  449. ----------------------
  450. ----------------------
  451. num found: 8
  452. found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
  453. data search: 4400MB 46ms
  454. consumed RAM bandwidth: 0.0189565MB/s
  455. ----------------------
  456. ----------------------
  457. ----------------------
  458. num found: 8
  459. found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
  460. data search: 4400MB 48ms
  461. consumed RAM bandwidth: 0.0181667MB/s
  462. ----------------------
  463. ----------------------
  464. ----------------------
  465. num found: 8
  466. found: 100 10000 1000 10000000 100000000 1000000000 100000 1000000
  467. data search: 4400MB 44ms
  468. consumed RAM bandwidth: 0.0198182MB/s
  469. ----------------------
  470. ----------------------
  471. ----------------------
  472. num found: 8
  473. found: 1000 100 10000 10000000 100000000 1000000000 1000000 100000
  474. data search: 4400MB 48ms
  475. consumed RAM bandwidth: 0.0181667MB/s
  476. ----------------------
  477. ----------------------
  478. ----------------------
  479. num found: 8
  480. found: 10000 100 1000 10000000 100000000 1000000000 100000 1000000
  481. data search: 4400MB 46ms
  482. consumed RAM bandwidth: 0.0189565MB/s
  483. ----------------------
  484. ----------------------
  485. ----------------------
  486. num found: 8
  487. found: 100000 100 1000 10000 10000000 100000000 1000000000 1000000
  488. data search: 4400MB 47ms
  489. consumed RAM bandwidth: 0.0185532MB/s
  490. ----------------------
  491. ----------------------
  492. ----------------------
  493. num found: 8
  494. found: 1000 100 10000 10000000 100000000 1000000000 100000 1000000
  495. data search: 4400MB 47ms
  496. consumed RAM bandwidth: 0.0185532MB/s
  497. ----------------------
  498. ----------------------
  499. ----------------------
  500. num found: 8
  501. found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
  502. data search: 4400MB 46ms
  503. consumed RAM bandwidth: 0.0189565MB/s
  504. ----------------------
  505. ----------------------
  506. ----------------------
  507. num found: 8
  508. found: 1000000 100000 1000 10000 100 10000000 100000000 1000000000
  509. data search: 4400MB 47ms
  510. consumed RAM bandwidth: 0.0185532MB/s
  511. ----------------------
  512. ----------------------
  513. ----------------------
  514. num found: 8
  515. found: 100000 100 1000 10000 10000000 100000000 1000000000 1000000
  516. data search: 4400MB 47ms
  517. consumed RAM bandwidth: 0.0185532MB/s
  518. ----------------------
  519. ----------------------
  520. ----------------------
  521. num found: 8
  522. found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
  523. data search: 4400MB 46ms
  524. consumed RAM bandwidth: 0.0189565MB/s
  525. ----------------------
  526. ----------------------
  527. ----------------------
  528. num found: 8
  529. found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
  530. data search: 4400MB 48ms
  531. consumed RAM bandwidth: 0.0181667MB/s
  532. ----------------------
  533. ----------------------
  534. ----------------------
  535. num found: 8
  536. found: 1000 100 10000 10000000 100000000 1000000000 1000000 100000
  537. data search: 4400MB 45ms
  538. consumed RAM bandwidth: 0.0193778MB/s
  539. ----------------------
  540. ----------------------
  541. ----------------------
  542. num found: 8
  543. found: 100000 100 10000 1000 10000000 100000000 1000000000 1000000
  544. data search: 4400MB 48ms
  545. consumed RAM bandwidth: 0.0181667MB/s
  546. ----------------------
  547. ----------------------
  548. ----------------------
  549. num found: 8
  550. found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
  551. data search: 4400MB 46ms
  552. consumed RAM bandwidth: 0.0189565MB/s
  553. ----------------------
  554. ----------------------
  555. ----------------------
  556. num found: 8
  557. found: 100 10000 1000 10000000 100000000 1000000000 1000000 100000
  558. data search: 4400MB 47ms
  559. consumed RAM bandwidth: 0.0185532MB/s
  560. ----------------------
  561. ----------------------
  562. ----------------------
  563. num found: 8
  564. found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
  565. data search: 4400MB 46ms
  566. consumed RAM bandwidth: 0.0189565MB/s
  567. ----------------------
  568. ----------------------
  569. ----------------------
  570. num found: 8
  571. found: 1000000 100 10000 1000 10000000 100000000 1000000000 100000
  572. data search: 4400MB 46ms
  573. consumed RAM bandwidth: 0.0189565MB/s
  574. ----------------------
  575. ----------------------
  576. ----------------------
  577. num found: 8
  578. found: 100000 10000 100 1000 10000000 100000000 1000000000 1000000
  579. data search: 4400MB 48ms
  580. consumed RAM bandwidth: 0.0181667MB/s
  581. ----------------------
  582. ----------------------
  583. ----------------------
  584. num found: 8
  585. found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
  586. data search: 4400MB 46ms
  587. consumed RAM bandwidth: 0.0189565MB/s
  588. ----------------------
  589. ----------------------
  590. ----------------------
  591. num found: 8
  592. found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
  593. data search: 4400MB 46ms
  594. consumed RAM bandwidth: 0.0189565MB/s
  595. ----------------------
  596. ----------------------
  597. ----------------------
  598. num found: 8
  599. found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
  600. data search: 4400MB 48ms
  601. consumed RAM bandwidth: 0.0181667MB/s
  602. ----------------------
  603. ----------------------
  604. ----------------------
  605. num found: 8
  606. found: 100000 1000 100 10000 10000000 100000000 1000000000 1000000
  607. data search: 4400MB 45ms
  608. consumed RAM bandwidth: 0.0193778MB/s
  609. ----------------------
  610. ----------------------
  611. ----------------------
  612. num found: 8
  613. found: 100000 1000000 100 1000 10000 10000000 100000000 1000000000
  614. data search: 4400MB 48ms
  615. consumed RAM bandwidth: 0.0181667MB/s
  616. ----------------------
  617. ----------------------
  618. ----------------------
  619. num found: 8
  620. found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
  621. data search: 4400MB 47ms
  622. consumed RAM bandwidth: 0.0185532MB/s
  623. ----------------------
  624. ----------------------
  625. ----------------------
  626. num found: 8
  627. found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
  628. data search: 4400MB 46ms
  629. consumed RAM bandwidth: 0.0189565MB/s
  630. ----------------------
  631. ----------------------
  632. ----------------------
  633. num found: 8
  634. found: 1000000 10000 100 1000 10000000 100000000 1000000000 100000
  635. data search: 4400MB 47ms
  636. consumed RAM bandwidth: 0.0185532MB/s
  637. ----------------------
  638. ----------------------
  639. ----------------------
  640. num found: 8
  641. found: 100000 1000000 10000 100 1000 10000000 100000000 1000000000
  642. data search: 4400MB 46ms
  643. consumed RAM bandwidth: 0.0189565MB/s
  644. ----------------------
  645. ----------------------
  646. ----------------------
  647. num found: 8
  648. found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
  649. data search: 4400MB 48ms
  650. consumed RAM bandwidth: 0.0181667MB/s
  651. ----------------------
  652. ----------------------
  653. ----------------------
  654. num found: 8
  655. found: 1000 100 10000 10000000 100000000 1000000000 1000000 100000
  656. data search: 4400MB 46ms
  657. consumed RAM bandwidth: 0.0189565MB/s
  658. ----------------------
  659. ----------------------
  660. ----------------------
  661. num found: 8
  662. found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
  663. data search: 4400MB 46ms
  664. consumed RAM bandwidth: 0.0189565MB/s
  665. ----------------------
  666. ----------------------
  667. ----------------------
  668. ~/Downloads/VirtualMultiArray$ lscpu
  669. Architecture: x86_64
  670. CPU op-mode(s): 32-bit, 64-bit
  671. Byte Order: Little Endian
  672. Address sizes: 39 bits physical, 48 bits virtual
  673. CPU(s): 8
  674. On-line CPU(s) list: 0-7
  675. Thread(s) per core: 2
  676. Core(s) per socket: 4
  677. Socket(s): 1
  678. NUMA node(s): 1
  679. Vendor ID: GenuineIntel
  680. CPU family: 6
  681. Model: 94
  682. Model name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
  683. Stepping: 3
  684. CPU MHz: 800.230
  685. CPU max MHz: 4200.0000
  686. CPU min MHz: 800.0000
  687. BogoMIPS: 7999.96
  688. Virtualization: VT-x
  689. L1d cache: 128 KiB
  690. L1i cache: 128 KiB
  691. L2 cache: 1 MiB
  692. L3 cache: 8 MiB
  693. NUMA node0 CPU(s): 0-7
  694. Vulnerability Itlb multihit: KVM: Mitigation: VMX disabled
  695. Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
  696. Vulnerability Mds: Mitigation; Clear CPU buffers; SMT vulnerable
  697. Vulnerability Meltdown: Mitigation; PTI
  698. Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  699. Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  700. Vulnerability Spectre v2: Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling
  701. Vulnerability Srbds: Mitigation; Microcode
  702. Vulnerability Tsx async abort: Mitigation; Clear CPU buffers; SMT vulnerable
  703. Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_p
  704. erfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic
  705. movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vp
  706. id ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hw
  707. p_notify hwp_act_window hwp_epp md_clear flush_l1d
  708.  
  709. ~/Downloads/VirtualMultiArray$ glxinfo
  710. [...]
  711. Memory info (GL_NVX_gpu_memory_info):
  712. Dedicated video memory: 8192 MB
  713. Total available memory: 8192 MB
  714. Currently available dedicated video memory: 6445 MB
  715. OpenGL vendor string: NVIDIA Corporation
  716. OpenGL renderer string: GeForce GTX 1070/PCIe/SSE2
  717. OpenGL core profile version string: 4.6.0 NVIDIA 460.32.03
  718. OpenGL core profile shading language version string: 4.60 NVIDIA
  719. OpenGL core profile context flags: (none)
  720. OpenGL core profile profile mask: core profile
  721. [...]
  722.  
  723. OpenGL version string: 4.6.0 NVIDIA 460.32.03
  724. OpenGL shading language version string: 4.60 NVIDIA
  725. OpenGL context flags: (none)
  726. OpenGL profile mask: (none)
  727. [...]
  728.  
  729. ~/Downloads/VirtualMultiArray$ lsb_release -a
  730. No LSB modules are available.
  731. Distributor ID: Ubuntu
  732. Description: Ubuntu 20.10
  733. Release: 20.10
  734. Codename: groovy
  735.  
  736. ~/Downloads/VirtualMultiArray$ uname -a
  737. Linux bab21desktop 5.8.0-43-generic #49-Ubuntu SMP Fri Feb 5 03:01:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Advertisement
Add Comment
Please, Sign In to add comment