Closed kemparaju closed 4 months ago
What distro and release version are you using? The egen code can be sensitive to c++ version.
We're using RHEL version 8.9
[root@p182n147 ~]# cat /etc/os-release NAME="Red Hat Enterprise Linux" VERSION="8.9 (Ootpa)"
Currently we're using C++ v8.5.0
[root@p182n147 ~]# g++ --version g++ (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20)
Ah, I didn't read this closely enough while I was on the road. I don't believe this is actually compiler related after all:
ERROR: missing 'series' file in '/usr/share/dbt5/patches', try "dbt5-build-egen --help" for more information.
Barring a problem with the install
rules, I'm guessing the kit wasn't installed onto the system. That's ok if you're comfortable editing your PATH environment. So hopefully all you need to do is use --include-dir, --patch-dir and --source-dir, with patches/, src/include and src directories, resp.
We're successful in building egen.
When we tried to run the benchmark test
[root@p182n147 run-data]# dbt5 run --tpcetools=/opt/egen -d 600 -u 1 pgsql /tmp/results
# DBT-5
Workload consists of 4 stages:
1. Start of the Brokerage House server
2. Start of the Market Exchange server
3. Test (Start of the Customer Emulator)
4. Processing of results
Results will be found in: /tmp/results
## 1. Starting Brokerage House server
Giving BrokerageHouseMain 1 second to start up.
## 2. Starting Market Exchange server
## 3. Starting Customer driver(s)
* 1 user starting every 1000 milliseconds.
1 user(s) started.
* User ramp up to finish in 2 s.
* Test expected to finish in 600 s.
## 4. Processing data
/root/dbt5/builds/release/dbt5-run: line 703: 3898518 Killed /opt/egen/bin/MarketExchangeMain -c 5000 -t 5000 -i /opt/egen/flat_in -o /tmp/results/mee > /tmp/results/mee/mee.out 2>&1
/root/dbt5/builds/release/dbt5-run: line 629: 3898516 Killed /opt/egen/bin/BrokerageHouseMain -d dbt5 -o /tmp/results/bh > /tmp/results/bh/bh.out 2>&1
## Primary Metric
7.83 TRTPS
Complete results are in: /tmp/results
in the above output at 4th stage 2 commands are getting killed. Is it ok to ignore or something is wrong with our configuration?
Glad to hear it's building successfully again.
The kill messages are expected. It's not elegant for at least a couple of reasons. So there is an opportunity for improvement. :)
Thus if you are getting meaningful results then it's safe to ignore.
dbt5-build-egen tool is throwing error while building the egen. Followed instructions in https://github.com/osdldbt/dbt5/blob/main/doc/user-guide.rst to build the tool
dbt5-build-egen /tmp/egen
ERROR: missing 'series' file in '/usr/share/dbt5/patches', try "dbt5-build-egen --help" for more information.
tried another way but I see different error
dbt5-build-egen --build-only /tmp/egen
`../src/../inc/TableTemplate.h: In instantiation of 'void TPCE::TableTemplate::ClearRecord() [with T = TPCE::SECURITY_ROW]':
../src/../inc/SecurityTable.h:143:25: required from here
../src/../inc/TableTemplate.h:144:32: warning: 'void memset(void, int, size_t)' clearing an object of type 'struct TPCE::SECURITY_ROW' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
void ClearRecord() { memset(&m_row, 0, sizeof(m_row)); }