提交 df6b88ab 编写于 作者: weixin_48148422's avatar weixin_48148422 提交者: GitHub

Merge pull request #1207 from taosdata/feature/lihui

[modify default for aarch32]
...@@ -45,13 +45,15 @@ mkdir build && cd build ...@@ -45,13 +45,15 @@ mkdir build && cd build
cmake .. && cmake --build . cmake .. && cmake --build .
``` ```
if compiling on an ARM processor(aarch64 or aarch32), you need add one parameter: To compile on an ARM processor (aarch64 or aarch32), please add option CPUTYPE as below:
```cmd
aarch64: aarch64:
```cmd
cmake .. -DCPUTYPE=aarch64 && cmake --build . cmake .. -DCPUTYPE=aarch64 && cmake --build .
```
aarch32: aarch32:
```cmd
cmake .. -DCPUTYPE=aarch32 && cmake --build . cmake .. -DCPUTYPE=aarch32 && cmake --build .
``` ```
......
...@@ -80,7 +80,12 @@ short tsNumOfVnodesPerCore = 8; ...@@ -80,7 +80,12 @@ short tsNumOfVnodesPerCore = 8;
short tsNumOfTotalVnodes = 0; short tsNumOfTotalVnodes = 0;
short tsCheckHeaderFile = 0; short tsCheckHeaderFile = 0;
#ifdef _TD_ARM_32_
int tsSessionsPerVnode = 100;
#else
int tsSessionsPerVnode = 1000; int tsSessionsPerVnode = 1000;
#endif
int tsCacheBlockSize = 16384; // 256 columns int tsCacheBlockSize = 16384; // 256 columns
int tsAverageCacheBlocks = TSDB_DEFAULT_AVG_BLOCKS; int tsAverageCacheBlocks = TSDB_DEFAULT_AVG_BLOCKS;
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册