Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/Downloads$ git clone https://github.com/tugrul512bit/VirtualMultiArray.git
- Cloning into 'VirtualMultiArray'...
- remote: Enumerating objects: 16, done.
- remote: Counting objects: 100% (16/16), done.
- remote: Compressing objects: 100% (16/16), done.
- remote: Total 268 (delta 7), reused 0 (delta 0), pack-reused 252
- Receiving objects: 100% (268/268), 339.76 KiB | 169.00 KiB/s, done.
- Resolving deltas: 100% (171/171), done.
- ~/Downloads$ cd VirtualMultiArray
- ~/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"
- In file included from /usr/include/CL/cl_platform.h:20,
- from CL/cl.h:35,
- from ClPlatform.h:13,
- from GraphicsCardSupplyDepot.h:14,
- from benchmark1.cpp:1:
- /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)’
- 22 | agma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
- | ^
- In file included from GraphicsCardSupplyDepot.h:15,
- from benchmark1.cpp:1:
- ClDevice.h: In constructor ‘ClDevice::ClDevice(cl_platform_id, bool)’:
- 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]
- 47 | for(int i=0;i<*n;i++)
- | ~^~~
- In file included from benchmark1.cpp:3:
- PcieBandwidthBenchmarker.h: In lambda function:
- 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]
- 54 | for(int i=0;i<devList.size();i++)
- | ~^~~~~~~~~~~~~~~
- In file included from benchmark1.cpp:3:
- PcieBandwidthBenchmarker.h: In lambda function:
- PcieBandwidthBenchmarker.h:65:12: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
- 65 | if(idx==(j%numThr))
- | ~~~^~~~~~~~~~~~
- PcieBandwidthBenchmarker.h: In constructor ‘PcieBandwidthBenchmarker::PcieBandwidthBenchmarker(int)’:
- 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]
- 76 | for(int i=0;i<gpus.size();i++)
- | ~^~~~~~~~~~~~
- 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]
- 84 | for(int i=0;i<gpus.size();i++)
- | ~^~~~~~~~~~~~
- PcieBandwidthBenchmarker.h: In member function ‘std::vector<int> PcieBandwidthBenchmarker::bestBandwidth(int)’:
- 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]
- 101 | for(int i=0;i<bandwidthOptimizedMultipliers.size();i++)
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- benchmark1.cpp: In function ‘int main(int, char**)’:
- 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]
- 78 | for(int h=0;h<found.size();h++)
- | ~^~~~~~~~~~~~~
- In file included from benchmark1.cpp:2:
- 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]’:
- PcieBandwidthBenchmarker.h:58:79: required from here
- 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]
- 90 | if(i<memMult.size())
- | ~^~~~~~~~~~~~~~~
- VirtualMultiArray.h:144:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
- 144 | if(nDevice>size/pageSizeP)
- | ~~~~~~~^~~~~~~~~~~~~~~
- VirtualMultiArray.h:175:59: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 175 | va.get()[ctr]=VirtualArray<T>( ((extraAllocDeviceIndex>=ctr)?numInterleave:(numInterleave-1)) * pageSize,device[i],pageSize,numActivePage,usePinnedArraysOnly);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- VirtualMultiArray.h:193:60: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 193 | va.get()[ctr]=VirtualArray<T>( ((extraAllocDeviceIndex>= ctr)?numInterleave:(numInterleave-1)) * pageSize,va.get()[index].getContext(),device[i],pageSize,numActivePage,usePinnedArraysOnly);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
- 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]’:
- benchmark1.cpp:27:60: required from here
- 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]
- 90 | if(i<memMult.size())
- | ~^~~~~~~~~~~~~~~
- VirtualMultiArray.h:144:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
- 144 | if(nDevice>size/pageSizeP)
- | ~~~~~~~^~~~~~~~~~~~~~~
- VirtualMultiArray.h:175:59: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 175 | va.get()[ctr]=VirtualArray<T>( ((extraAllocDeviceIndex>=ctr)?numInterleave:(numInterleave-1)) * pageSize,device[i],pageSize,numActivePage,usePinnedArraysOnly);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- VirtualMultiArray.h:193:60: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 193 | va.get()[ctr]=VirtualArray<T>( ((extraAllocDeviceIndex>= ctr)?numInterleave:(numInterleave-1)) * pageSize,va.get()[index].getContext(),device[i],pageSize,numActivePage,usePinnedArraysOnly);
- | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
- VirtualMultiArray.h: In instantiation of ‘std::vector<long unsigned int> VirtualMultiArray<T>::find(T&, S&, int) [with S = char; T = Obj]’:
- benchmark1.cpp:69:65: required from here
- VirtualMultiArray.h:474:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
- 474 | for(int i=0;i<numDevice;i++)
- | ~^~~~~~~~~~
- VirtualMultiArray.h:489:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
- 489 | for(size_t k = 0; k<szResultI; k++)
- | ~^~~~~~~~~~
- VirtualMultiArray.h:506:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
- 506 | for(int i=0;i<numDevice;i++)
- | ~^~~~~~~~~~
- In file included from VirtualMultiArray.h:26,
- from benchmark1.cpp:2:
- VirtualArray.h: In instantiation of ‘std::vector<long unsigned int> VirtualArray<T>::find(int, S, int, int) [with S = char; T = Obj]’:
- VirtualMultiArray.h:485:51: required from ‘std::vector<long unsigned int> VirtualMultiArray<T>::find(T&, S&, int) [with S = char; T = Obj]’
- benchmark1.cpp:69:65: required from here
- VirtualArray.h:479:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
- 479 | if(memberSizeTmp!=computeFind->getArgSizeBytes("member value"))
- | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- VirtualArray.h:511:14: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
- 511 | if(numFound>foundIdListSize)
- | ~~~~~~~~^~~~~~~~~~~~~~~~
- ~/Downloads/VirtualMultiArray$ g++ -L/usr/local/cuda/lib64 -o "benchmark1_binary" benchmark.o -lOpenCL -lpthread -lgomp
- ~/Downloads/VirtualMultiArray$ ./benchmark1_binary
- preparing virtual array...
- initializing data...
- benchmarking find()...
- num found: 8
- found: 100 10000 1000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 508ms
- consumed RAM bandwidth: 0.00171654MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 100 10000 1000 10000000 100000000 1000000000
- data search: 4400MB 54ms
- consumed RAM bandwidth: 0.0161481MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000 100 10000 10000000 100000000 1000000000 1000000
- data search: 4400MB 53ms
- consumed RAM bandwidth: 0.0164528MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 100 1000 10000 10000000 100000000 1000000000 1000000
- data search: 4400MB 51ms
- consumed RAM bandwidth: 0.017098MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 10000 1000 100 10000000 100000000 1000000000 1000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100 1000 10000 10000000 100000000 1000000000 100000 1000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100 10000 1000 10000000 100000000 1000000000 100000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 10000 100 1000 10000000 100000000 1000000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000000 1000 100 10000 10000000 100000000 1000000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000 100 10000 10000000 100000000 1000000000 100000 1000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 100 10000 1000 10000000 100000000 1000000000 1000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000 100 10000 10000000 100000000 1000000000 1000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 100 10000 1000 10000000 100000000 1000000000
- data search: 4400MB 45ms
- consumed RAM bandwidth: 0.0193778MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000 100 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 49ms
- consumed RAM bandwidth: 0.0177959MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
- data search: 4400MB 45ms
- consumed RAM bandwidth: 0.0193778MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000 100 10000 10000000 100000000 1000000000 1000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 100 1000 10000 10000000 100000000 1000000000 1000000
- data search: 4400MB 45ms
- consumed RAM bandwidth: 0.0193778MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000000 100 1000 10000 10000000 100000000 1000000000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000000 10000 100 1000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000 10000 100 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 45ms
- consumed RAM bandwidth: 0.0193778MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 1000 10000 100 10000000 100000000 1000000000 100000
- data search: 4400MB 49ms
- consumed RAM bandwidth: 0.0177959MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000000 10000 100 1000 10000000 100000000 1000000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000 100 10000 10000000 100000000 1000000000 100000 1000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000000 1000 100 10000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
- data search: 4400MB 45ms
- consumed RAM bandwidth: 0.0193778MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 100 10000 1000 10000000 100000000 1000000000 1000000
- data search: 4400MB 49ms
- consumed RAM bandwidth: 0.0177959MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000 100 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 45ms
- consumed RAM bandwidth: 0.0193778MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 100 10000 1000 10000000 100000000 1000000000 1000000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000000 100 1000 10000 10000000 100000000 1000000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 100 10000 1000 10000000 100000000 1000000000 1000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000 100 10000 10000000 100000000 1000000000 1000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 10000 100 1000 10000000 100000000 1000000000 1000000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000000 100 1000 10000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100 10000 1000 10000000 100000000 1000000000 100000 1000000
- data search: 4400MB 44ms
- consumed RAM bandwidth: 0.0198182MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000 100 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 10000 100 1000 10000000 100000000 1000000000 100000 1000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 100 1000 10000 10000000 100000000 1000000000 1000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000 100 10000 10000000 100000000 1000000000 100000 1000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 1000 10000 100 10000000 100000000 1000000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 100 1000 10000 10000000 100000000 1000000000 1000000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000 100 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 45ms
- consumed RAM bandwidth: 0.0193778MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 100 10000 1000 10000000 100000000 1000000000 1000000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100 10000 1000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 1000 100 10000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100 10000 1000 10000000 100000000 1000000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 10000 100 1000 10000000 100000000 1000000000 1000000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100000 100 1000 10000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000 100 10000 10000000 100000000 1000000000 1000000
- data search: 4400MB 45ms
- consumed RAM bandwidth: 0.0193778MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000000 100 1000 10000 10000000 100000000 1000000000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100 1000 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 10000 100 1000 10000000 100000000 1000000000 100000
- data search: 4400MB 47ms
- consumed RAM bandwidth: 0.0185532MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 100000 1000000 10000 100 1000 10000000 100000000 1000000000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 1000 100 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 48ms
- consumed RAM bandwidth: 0.0181667MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000 100 10000 10000000 100000000 1000000000 1000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- num found: 8
- found: 1000000 100 1000 10000 10000000 100000000 1000000000 100000
- data search: 4400MB 46ms
- consumed RAM bandwidth: 0.0189565MB/s
- ----------------------
- ----------------------
- ----------------------
- ~/Downloads/VirtualMultiArray$ lscpu
- Architecture: x86_64
- CPU op-mode(s): 32-bit, 64-bit
- Byte Order: Little Endian
- Address sizes: 39 bits physical, 48 bits virtual
- CPU(s): 8
- On-line CPU(s) list: 0-7
- Thread(s) per core: 2
- Core(s) per socket: 4
- Socket(s): 1
- NUMA node(s): 1
- Vendor ID: GenuineIntel
- CPU family: 6
- Model: 94
- Model name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
- Stepping: 3
- CPU MHz: 800.230
- CPU max MHz: 4200.0000
- CPU min MHz: 800.0000
- BogoMIPS: 7999.96
- Virtualization: VT-x
- L1d cache: 128 KiB
- L1i cache: 128 KiB
- L2 cache: 1 MiB
- L3 cache: 8 MiB
- NUMA node0 CPU(s): 0-7
- Vulnerability Itlb multihit: KVM: Mitigation: VMX disabled
- Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
- Vulnerability Mds: Mitigation; Clear CPU buffers; SMT vulnerable
- Vulnerability Meltdown: Mitigation; PTI
- Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
- Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
- Vulnerability Spectre v2: Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling
- Vulnerability Srbds: Mitigation; Microcode
- Vulnerability Tsx async abort: Mitigation; Clear CPU buffers; SMT vulnerable
- 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
- 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
- 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
- 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
- p_notify hwp_act_window hwp_epp md_clear flush_l1d
- ~/Downloads/VirtualMultiArray$ glxinfo
- [...]
- Memory info (GL_NVX_gpu_memory_info):
- Dedicated video memory: 8192 MB
- Total available memory: 8192 MB
- Currently available dedicated video memory: 6445 MB
- OpenGL vendor string: NVIDIA Corporation
- OpenGL renderer string: GeForce GTX 1070/PCIe/SSE2
- OpenGL core profile version string: 4.6.0 NVIDIA 460.32.03
- OpenGL core profile shading language version string: 4.60 NVIDIA
- OpenGL core profile context flags: (none)
- OpenGL core profile profile mask: core profile
- [...]
- OpenGL version string: 4.6.0 NVIDIA 460.32.03
- OpenGL shading language version string: 4.60 NVIDIA
- OpenGL context flags: (none)
- OpenGL profile mask: (none)
- [...]
- ~/Downloads/VirtualMultiArray$ lsb_release -a
- No LSB modules are available.
- Distributor ID: Ubuntu
- Description: Ubuntu 20.10
- Release: 20.10
- Codename: groovy
- ~/Downloads/VirtualMultiArray$ uname -a
- 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