Skip to content

Commit

Permalink
reduce record size
Browse files Browse the repository at this point in the history
Signed-off-by: Ping Yu <yuping@pingcap.com>
  • Loading branch information
pingyu committed Feb 13, 2024
1 parent 7ceeefb commit 88bebcc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cdc/tests/integration_tests/flow_control/config/workload
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ insertproportion=0

requestdistribution=uniform

fieldcount=1
fieldlength=100
4 changes: 3 additions & 1 deletion cdc/tests/integration_tests/flow_control/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ EOF
exit 1
fi
# We set `per-changefeed-memory-quota=10M` and forbid sorter to use memory cache data,
# so maybe there is 10M of memory for data. But still needs some memory to hold related data structures.
# so maybe there is 10M of memory for data.
# Note that there is memory usage between puller & sorter, and it's limited by size of channels.
# Use small record size to reduce memory usage of this part (see flow_control/config/workload).
expected=307200 #300M
used=$(expr $rss1 - $rss0)
echo "cdc server used memory: $used"
Expand Down

0 comments on commit 88bebcc

Please sign in to comment.