antonmks / Alenka

GPU database engine
Other
1.17k stars 120 forks source link

segment size? #39

Closed sam1988 closed 11 years ago

sam1988 commented 11 years ago

why every segment size is 6200000, i think it would be ok if the size is larger if the device is 1G .and we can also we can design a strategy that based on the device memory

antonmks commented 11 years ago

You can specify the segment size with -l option when you create a binary data file. 6200000 is a default size and it works well with GPUs with 1 or 2 GB of memory. For GTX Titan with 6GB of memory I set this option to 30000000.