Alexander Kuzmenkov
3f855cb714
more
2021-04-22 20:18:21 +03:00
Alexander Kuzmenkov
6a1414663f
upload cpu model to perf test db
2021-04-22 19:48:32 +03:00
Azat Khuzhin
6fba6f7ddd
Disable min_bytes_to_use_mmap_io by default
...
Reading files using mmap() does not have any significant benefits over
plain read() [1].
[1]: https://gist.github.com/azat/3d6c8d82bdd91e7a38d997fd6bcfd574
And not only it does not have significant benefits, it also has some
issues, due to max_server_memory_usage (default to 90% of available
RAM), since when you read files with mmap() eventually process RSS may
exceed max_server_memory_usage, and in this case any allocation will
fail (with "Memory limit exceeded (total)") error (yes kernel will
unload pages, but likely it will happens after queries will starting to
fail), like in this test [2].
[2]: https://gist.github.com/azat/4813489828162e6c2ce131963c6a1acb
TL;DR;
Note that there was also an idea to take those mmap()'ed regions in
memory tracking (#23211 ), but there are some drawbacks (since accounting
mmap() is tricky, first of all you need to account only once per inode
for file and plus kernel can unload some pages and those memory will not
be used by the server anymore).
And as an adddition to #23211 there was #23212 , that adds
max_bytes_to_use_mmap_io, but since mmap is not a subject for memory
accounting there is no need in it.
2021-04-20 00:25:16 +03:00
Alexander Kuzmenkov
2a4bcb6e3f
Merge pull request #23159 from ClickHouse/aku/merge-fusecount
...
merging sumCount fusion PR #21337
2021-04-19 16:47:13 +03:00
Azat Khuzhin
7083d126f7
Disable postgresql_port in perf tests
...
To avoid port overlaps
2021-04-17 15:28:09 +03:00
Alexander Kuzmenkov
2489b6af96
cleanup
2021-04-15 19:40:49 +03:00
alexey-milovidov
0c70b06960
Merge branch 'master' into system-querylog-map
2021-03-31 04:54:30 +03:00
Alexander Tokmakov
9925110713
rename other occurrances
2021-03-29 23:04:50 +03:00
Alexander Kuzmenkov
b0284f20c3
Merge branch 'master' into aku/laglead
2021-03-22 21:16:27 +03:00
Alexander Kuzmenkov
5ae5134147
Merge pull request #21846 from ClickHouse/aku/perf-test-error
...
more robust error handling in perf test
2021-03-22 17:18:37 +03:00
Alexander Kuzmenkov
1beba597ca
Merge remote-tracking branch 'origin/master' into HEAD
2021-03-19 02:11:08 +03:00
Alexander Kuzmenkov
6aa9039f7d
float frames and lag/lead_in_frame
2021-03-19 02:05:43 +03:00
Alexander Kuzmenkov
8ab778e26a
Merge pull request #21754 from ClickHouse/aku/fuzzer-ci-sources
...
make the fuzzer use sources from the CI
2021-03-18 18:02:13 +03:00
Alexander Kuzmenkov
f2ac17cfba
Update compare.sh
2021-03-18 17:59:49 +03:00
Alexander Kuzmenkov
065faf1318
more robust error handling in perf test
2021-03-18 01:32:55 +03:00
Alexander Kuzmenkov
a78b234a6d
fixes
2021-03-15 21:45:57 +03:00
Denis Glazachev
6f4e883d8d
Factor out settings
...
Enable parallel insert select
Reduce the amount of data to process
2021-03-06 15:09:45 +04:00
Nikolai Kochetov
a195e783d2
Try fix perftests.
2021-03-04 13:25:49 +03:00
Alexander Kuzmenkov
f169be740a
Merge pull request #21381 from ClickHouse/aku/perf-negative
...
fix a rare false negative in perf tests
2021-03-03 15:55:14 +03:00
Nikolai Kochetov
019513d869
Try fix perftests.
2021-03-03 13:42:44 +03:00
Alexander Kuzmenkov
08148e062f
Fix a rare false negative in perf tests
2021-03-02 19:21:30 +03:00
Azat Khuzhin
9a26409147
Fix performance tests (by avoid sharding status file for right and left server)
...
Since cp -al (hard links):
2021.02.21 01:09:09.991771 [ 243 ] {} <Information> StatusFile: Status file right/db/status already exists - unclean restart. Contents:
PID: 241
Started at: 2021-02-21 01:09:09
Revision: 54448
2021.02.21 01:09:09.992007 [ 243 ] {} <Error> Application: DB::Exception: Cannot lock file right/db/status. Another server instance in same directory is already running.
2021-02-21 10:56:48 +03:00
Alexey Milovidov
0d2d2dc2ed
Merge branch 'master' into sundy-li/system-querylog-map
2021-02-18 00:47:54 +03:00
Alexander Kuzmenkov
c18749a704
fix a bug and add some tests
2021-02-09 17:44:04 +03:00
sundyli
77194e4a5d
Merge branch 'master' into system-querylog-map
2021-01-28 09:59:41 +08:00
Amos Bird
a2ceca3fa1
Fix recursive propagation
2021-01-26 10:29:12 +08:00
sundy-li
339133f32a
Support Map for OpenTelemetrySpanLog && improve docs update
2021-01-22 13:16:13 +08:00
Azat Khuzhin
de7909211d
Try using top_level_domains from the patched performance archive
...
If there is top_level_domains list in the upstream/master, use from the
patched version (this is required to run all performance tests for
upstream/master in the PR).
2021-01-02 17:27:03 +03:00
Azat Khuzhin
469b631ca6
Fix performance comparison
...
In #18113 the top_level_domains list copying was moved into
docker/packager/binary/build.sh, this was done to avoid symlinks (since
Dockerfile cannot dereference them).
But the patch was wrong, since it copied into the root (/), which is not
included into performance.tgz and also compare.sh was not modified.
This wasn't showed up with CI checks since the docker image wasn't
updated and it still included that top_level_domains, once it was
modified the image was updated and it became broken.
Cc: @akuzm
2021-01-02 17:09:20 +03:00
Azat Khuzhin
95c35b318e
Avoid using symlinks for top_level_domains
...
Move the main copy into the tests/config and ship it to the perf tests
via the perf package.
2020-12-15 21:58:46 +03:00
Alexander Kuzmenkov
5f424f7c5c
Update zzz-perf-comparison-tweaks-config.xml
2020-12-14 20:08:32 +03:00
Alexander Kuzmenkov
e7f93b5563
Merge pull request #18058 from azat/perf-test-zk-port-fix
...
Remove test_keeper_server in perf tests
2020-12-14 17:54:47 +03:00
Alexander Kuzmenkov
2edabd5519
Update zzz-perf-comparison-tweaks-config.xml
2020-12-14 17:45:58 +03:00
Azat Khuzhin
653ddab63e
Remove test_keeper_server in perf tests
...
To avoid port overlaps for right and left server (anyway it is not
used).
2020-12-14 10:59:01 +03:00
Azat Khuzhin
6f2c559398
Convert top_level_domains_lists.xml into regular file
...
docker/test/performance-comparison/config/config.d is not allowed to has
symlinks, since it is copied with the COPY docker command.
2020-12-10 21:01:17 +03:00
Azat Khuzhin
0f1d9f3a6f
Put top_level_domains into the docker/test/performance-comparison/config
...
Since in docker/test/performance-comparison there is Dockerfile that is
runned from that directory, so it cannot COPY anything outside of it.
2020-12-09 21:08:31 +03:00
Azat Khuzhin
8a4b29495b
perf: override top_level_domains_path via command line arguments
2020-12-09 21:08:31 +03:00
Azat Khuzhin
7b0c720922
Add top_level_domains into perf tests
...
And change Dockerfile to trigger image rebuild
2020-12-09 21:08:31 +03:00
Azat Khuzhin
79e6348282
perf: load overrides last of all
2020-12-09 07:31:54 +03:00
Azat Khuzhin
d33b0ad33b
Use interserver_http_port remove=remove over auto-port
...
Revert "perf: fix port conflict for tcp_with_proxy_port"
This reverts commit 89b3566824e5c0a87b6310fc4b6f9d300d2e17db.
2020-12-09 00:11:12 +03:00
Azat Khuzhin
75f9640fc2
perf: fix port conflict for tcp_with_proxy_port
...
Simply use zero port to do auto allocation, anyway it is not used in
perf tests.
2020-12-08 23:29:38 +03:00
Azat Khuzhin
f1ac8775db
perf: override config directives via command line over sed by config.xml
2020-12-08 21:25:03 +03:00
Azat Khuzhin
3696916f44
perf: add setuptools into docker image (to built clikchouse-driver)
2020-11-27 07:20:41 +03:00
Azat Khuzhin
04a93f18e8
perf: fail on unknown settings
2020-11-27 00:16:41 +03:00
Azat Khuzhin
a591886740
perf: remove outdated comments from perf.py
...
Refs: https://github.com/ClickHouse/ClickHouse/pull/17255#discussion_r528822709
2020-11-27 00:16:41 +03:00
Azat Khuzhin
a38628d967
perf: use the latest available clickhouse-driver (from git)
...
Since later setting_is_important will be used, but there is no release
with this feature included.
2020-11-27 00:16:41 +03:00
myrrc
fbb0e6e6aa
Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted
2020-11-24 16:04:17 +03:00
Alexander Kuzmenkov
a543c8e468
Add an option to use existing tables to perf.py
2020-11-23 21:05:54 +03:00
Azat Khuzhin
d676e2f5c5
Pass settings for perf tests via protocol over SET query
...
Thus they will be applied on reconnects, since clickhouse-driver may
implicitly do it if the connection has been failed.
2020-11-21 14:02:33 +03:00
Azat Khuzhin
3ddb0ac53e
Configure logging for perf test runner
2020-11-21 14:02:33 +03:00
Azat Khuzhin
f6d16ee43e
Force clickhouse-driver >= 1.1.5 for settings-as-strings support for perf-tests image
2020-11-21 14:02:33 +03:00
Alexander Kuzmenkov
b0e660651a
cleanup
2020-11-16 19:09:58 +03:00
Alexander Kuzmenkov
030419db90
Try 12 threads max in perf test.
...
This will allow us to use more machines, not only Gold 6320.
2020-11-09 19:14:05 +03:00
Alexander Kuzmenkov
dc665d7c43
Update compare.sh
2020-11-06 13:45:42 +03:00
Alexander Kuzmenkov
ac487ab26a
Update compare.sh
2020-11-05 23:45:58 +03:00
Alexander Kuzmenkov
8d5fe1148c
add client config
2020-11-04 18:07:34 +03:00
Alexander Kuzmenkov
5cb708a50a
fixup
2020-11-04 04:19:53 +03:00
Alexander Kuzmenkov
4245c470ac
fixes
2020-11-03 17:37:54 +03:00
Alexander Kuzmenkov
a25996ed8d
Upload perf test results to the CI database
2020-11-03 02:10:19 +03:00
Mikhail Filimonov
41971e073a
Fix typos reported by codespell
2020-10-27 12:04:03 +01:00
Alexander Kuzmenkov
e27dd538fd
performance comparison
2020-10-26 19:35:37 +03:00
Alexander Kuzmenkov
0275e9c010
work around docker weirdness
2020-10-22 19:42:31 +03:00
Alexander Kuzmenkov
ac7af67ede
fixup
2020-10-22 15:52:43 +03:00
Alexander Kuzmenkov
6293d1dbbe
Merge remote-tracking branch 'origin/master' into HEAD
2020-10-21 18:39:59 +03:00
Alexander Kuzmenkov
a678f03229
fixup
2020-10-21 18:21:54 +03:00
Alexander Kuzmenkov
c10dada3d4
try node 1
2020-10-21 18:06:42 +03:00
Alexander Kuzmenkov
abcb3c2ff9
Update report.py
2020-10-20 20:06:51 +03:00
Alexander Kuzmenkov
6b0225ab8c
Update README.md
2020-10-20 19:52:37 +03:00
Alexander Kuzmenkov
242ec7e56c
make some tests faster
2020-10-20 15:12:06 +03:00
Alexander Kuzmenkov
764f19820b
max threads
2020-10-19 17:39:52 +03:00
Alexander Kuzmenkov
38a2dd55ce
fix numactl parameters
2020-10-19 17:31:02 +03:00
Alexander Kuzmenkov
2241ea9f33
not sure what's going on...
2020-10-16 17:44:59 +03:00
Alexander Kuzmenkov
0825b8f4c2
Merge remote-tracking branch 'origin/master' into HEAD
2020-10-16 17:41:40 +03:00
Azat Khuzhin
9cb3c743bd
Convert to python3 ( #15007 )
2020-10-02 19:54:07 +03:00
Alexander Kuzmenkov
13c325597a
Merge remote-tracking branch 'origin/master' into HEAD
2020-10-01 13:57:04 +03:00
Alexander Kuzmenkov
74f8e41b55
calculate on all nodes
2020-10-01 13:56:56 +03:00
Alexander Kuzmenkov
499e0766e5
Check docker scripts with shellcheck
2020-09-30 20:06:46 +03:00
Alexander Kuzmenkov
aa543a2d3d
quotes
2020-09-30 17:40:24 +03:00
Alexander Kuzmenkov
9f63e882c7
fixup
2020-09-30 15:03:52 +03:00
Alexander Kuzmenkov
1617442242
fixup
2020-09-30 14:55:24 +03:00
Alexander Kuzmenkov
824d5b093c
bind everything to node 0
2020-09-30 14:32:49 +03:00
Alexander Kuzmenkov
b1abed7d37
Merge remote-tracking branch 'origin/aku/debug-perf' into HEAD
2020-09-30 14:22:20 +03:00
Alexander Kuzmenkov
f8047102fe
fixup
2020-09-29 22:06:45 +03:00
Alexander Kuzmenkov
dc15bceadc
Merge remote-tracking branch 'origin/aku/debug-perf' into HEAD
2020-09-29 16:41:38 +03:00
Alexander Kuzmenkov
ac4f0cdf22
fix
2020-09-29 14:07:31 +03:00
Alexander Kuzmenkov
6671b26f20
fixes
2020-09-28 21:43:47 +03:00
Alexander Kuzmenkov
3d1456a55d
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-28 21:19:53 +03:00
Alexander Kuzmenkov
c48d212320
performance comparison
2020-09-28 15:09:08 +03:00
Alexander Kuzmenkov
1e7a0f0e5f
typo
2020-09-28 14:44:49 +03:00
Alexander Kuzmenkov
425150e783
bind to different nodes
2020-09-25 13:19:37 +03:00
Alexander Kuzmenkov
3ff16325d8
fix the profiler
2020-09-25 12:52:09 +03:00
Alexander Kuzmenkov
40209f9ed2
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-25 11:28:47 +03:00
Alexander Kuzmenkov
651518566a
performance comparison
2020-09-24 16:24:44 +03:00
Alexander Kuzmenkov
dee34a834f
debug perf test run time
2020-09-24 14:46:03 +03:00
Alexander Kuzmenkov
26abe8cb30
Update compare.sh
2020-09-24 12:24:30 +03:00
Alexander Kuzmenkov
c2b11221a3
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-23 23:56:15 +03:00
Alexander Kuzmenkov
21f9cc65c9
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-23 23:54:55 +03:00
Alexander Kuzmenkov
179807b0b4
performance comparison
2020-09-23 23:45:39 +03:00
Alexander Kuzmenkov
d96c89972c
Update compare.sh
2020-09-23 12:04:13 +03:00
Alexander Kuzmenkov
bb51aade56
Update docker/test/performance-comparison/compare.sh
...
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2020-09-23 12:02:22 +03:00
Alexander Kuzmenkov
833c07f1f7
Update compare.sh
2020-09-23 11:31:18 +03:00
Alexander Kuzmenkov
2b6f4134eb
Parallel create/fill in perf test
2020-09-23 11:22:54 +03:00
Alexander Kuzmenkov
5eaa2a08d4
Update report.py
2020-09-23 10:28:28 +03:00
Alexander Kuzmenkov
0b01e62050
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-22 14:29:54 +03:00
Alexander Kuzmenkov
4937159f85
Merge pull request #14990 from ClickHouse/aku/longer-perf
...
If perf test definition changed, run everything + longer (as in master)
2020-09-22 13:25:49 +03:00
Alexander Kuzmenkov
4696e22799
Update perf.py
2020-09-21 22:08:41 +03:00
alexey-milovidov
5e56f14d5f
Merge pull request #15027 from ClickHouse/perf-test-separate-profiler
...
Separate profile runs in performance test
2020-09-21 21:07:14 +03:00
Alexander Kuzmenkov
679c5278e4
reword the diagnostic about short queries in perf test
2020-09-21 15:14:47 +03:00
Alexander Kuzmenkov
2f8d7ae208
fix the conditions
2020-09-21 15:01:27 +03:00
Alexander Kuzmenkov
85be1f1685
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-21 14:57:25 +03:00
Alexey Milovidov
ef800b5083
Perf test: development
2020-09-19 21:21:29 +03:00
Alexey Milovidov
35e8a895b6
Calculate profiler data in separate query runs
2020-09-19 20:38:21 +03:00
Alexey Milovidov
03aec83aec
Remove obsolete code from performance test
2020-09-19 19:27:37 +03:00
Alexander Kuzmenkov
8995140ffb
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-18 18:06:41 +03:00
Alexander Kuzmenkov
840586bd98
Merge pull request #14386 from ClickHouse/aku/perf-short
...
[wip] an experiment with short queries in perf test
2020-09-18 17:54:50 +03:00
Alexander Kuzmenkov
e7b9319e12
If perf test definition changed, run everything + longer (as in master)
...
Also some other perf test fixes
2020-09-18 16:28:46 +03:00
Alexander Kuzmenkov
7f029ee03c
Update perf.py
2020-09-18 11:27:27 +03:00
Alexander Kuzmenkov
4fc86f05da
some fixes + docs + report queries that are not short
2020-09-17 19:21:59 +03:00
Alexander Kuzmenkov
b1d7df80cd
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-17 18:20:14 +03:00
Alexander Kuzmenkov
ada1c7c4a0
fixup
2020-09-17 13:15:46 +03:00
Alexander Kuzmenkov
dda88eebd1
test again
2020-09-16 18:35:27 +03:00
Alexander Kuzmenkov
d55e3cd214
Update perf.py
2020-09-16 14:39:44 +03:00
Alexander Kuzmenkov
3b8ca1f262
Update compare.sh
2020-09-16 12:16:07 +03:00
Alexander Kuzmenkov
c5c5faf8ee
fixup
2020-09-16 12:06:42 +03:00
Alexander Kuzmenkov
e333a7bad4
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-16 12:05:22 +03:00
Alexander Kuzmenkov
df95f91d7c
Merge remote-tracking branch 'origin/master' into HEAD
2020-09-15 13:53:50 +03:00
Alexander Kuzmenkov
24dd33d5cb
Update compare.sh
2020-09-15 13:44:21 +03:00
Alexey Milovidov
b87c108246
Enable remap in performance tests
2020-09-14 21:14:28 +03:00
Alexander Kuzmenkov
ab6bc1ed59
Update compare.sh
2020-09-14 20:25:17 +03:00
Alexander Kuzmenkov
9e3797b252
Merge pull request #14710 from ClickHouse/aku/faster-perf
...
Do less runs in perf test
2020-09-14 19:17:34 +03:00
Alexander Kuzmenkov
b3138605c7
performance comparison
2020-09-14 19:16:59 +03:00
Alexander Kuzmenkov
3113aa6cfe
Avoid extra error in perf report on broken queries
2020-09-14 10:59:45 +03:00
Alexander Kuzmenkov
c701a15271
fixup
2020-09-14 10:27:46 +03:00
Alexander Kuzmenkov
8689797efc
Run only some queries in perf tests, not all combos
2020-09-10 19:57:26 +03:00
Alexander Kuzmenkov
26348ad014
fixup
2020-09-10 18:48:39 +03:00
Alexander Kuzmenkov
ca2a33008b
faster
2020-09-10 17:55:54 +03:00
Alexander Kuzmenkov
0904433c87
Temporarily remove UInt256 perf test broken in https://github.com/ClickHouse/ClickHouse/pull/14229
...
Also add one more timeout to perf test runner.
2020-09-07 09:33:57 +03:00
Alexander Kuzmenkov
1978968067
performance comparison
2020-09-07 02:49:34 +03:00
Alexander Kuzmenkov
a321d6970c
adjust report and increase time
2020-09-03 04:42:25 +03:00
Alexander Kuzmenkov
8e8e195e45
geomean
2020-09-03 03:58:40 +03:00
Alexander Kuzmenkov
00c924b0dd
whitespace
2020-09-02 06:31:53 +03:00
Alexander Kuzmenkov
5fcb9bd163
short queries
2020-09-02 06:29:36 +03:00
Alexander Kuzmenkov
e622e108f7
readme
2020-09-02 06:29:16 +03:00
Alexander Kuzmenkov
0db5b4a72c
Remove concurrent benchmark from the perf test
...
It's not stable enough and has only secondary utility.
2020-09-02 02:43:23 +03:00
Alexander Kuzmenkov
a6486490a2
performance comparison
2020-09-01 22:05:57 +03:00
Alexander Kuzmenkov
b601dd4596
cosmetic fixes for performance report
2020-08-29 01:46:04 +03:00
Alexander Kuzmenkov
bb28320107
cosmetic fixes in performance report
2020-08-29 01:14:48 +03:00
alexey-milovidov
5d31442fa8
Delete perf.py.orig
2020-08-26 03:26:54 +03:00
Alexander Kuzmenkov
a348bc4641
performance comparison
2020-08-24 17:15:11 +03:00
Alexander Kuzmenkov
f43457454e
warn on undefined shell variables
2020-08-19 18:34:23 +03:00