From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: hpcresearch.mspk@gmail.com
Subject: BUG #17200: PostgreSQL-Support Profile Guide Optimization(Clang/GCC)?
Date: Wed, 22 Sep 2021 13:17:29 +0000
Message-ID: <17200-d5d5c376327f7197@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17200
Logged by: hpc researcher
Email address: hpcresearch.mspk@gmail.com
PostgreSQL version: 13.3
Operating system: RHEL8.4
Description:
I followed the below steps on Profile Guide Optimization with Clang
Environment.
And benchmark environment used HammedDB.
1.Build command:
------------
$ CC=clang CXX=clang++ ../configure --prefix=<path-to-install> CFLAGS='-O3
-fprofile-instr-generate' CXXFLAGS='-O3 -std=c++14 -stdlib=libc++
-fprofile-instr-generate'
2.Run HammerDB client(tpcc-schmea + test run(vu's).
3. default.profraw created in PostgreSQL(<path-to-install>)
4. convert the “raw” profile format by clang.(the merge
command:llvm-profdata tool)
5. llvm-profdata merge -output=code.profdata code- default.profraw
warning: default.profraw: Failed to uncompress data (zlib)
error: No profiles could be merged.(step5)
Ref:
https://clang.llvm.org/docs/UsersManual.html#profiling-with-instrumentation
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, hpcresearch.mspk@gmail.com
Subject: Re: BUG #17200: PostgreSQL-Support Profile Guide Optimization(Clang/GCC)?
In-Reply-To: <17200-d5d5c376327f7197@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox