Bug #76650 | sysbench read/write crashes on POWER | ||
---|---|---|---|
Submitted: | 10 Apr 2015 8:21 | Modified: | 5 Nov 2018 13:54 |
Reporter: | Stewart Smith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S1 (Critical) |
Version: | 5.7.7 | OS: | Linux (Ubuntu Vivid ppc64el) |
Assigned to: | CPU Architecture: | Any | |
Tags: | power, PowerPC |
[10 Apr 2015 8:21]
Stewart Smith
[8 Nov 2017 5:31]
Daniel Black
On 8286-42A Power8 in SMT8 tested 5.7.20 running: bin/mysqld --no-defaults --pid-file=/tmp/master.pid --port 3310 --datadir=/dev/shm/oltp_master --socket /tmp/oltp_master.sock --log-bin=/dev/shm/oltp_master/mysqlbin --server-id=120 --innodb_log_file_size=200M --innodb_log_files_in_group=5 --innodb-buffer-pool-size=6G --innodb-buffer-pool-instances=6 --innodb_file_per_table --binlog_checksum=NONE --innodb_checksum_algorithm=none --max-connections=16000 --max_prepared_stmt_count=1M --core-file With sysbench as follows: export try=50 sock=/tmp/oltp_master.sock engine=innodb export sysbench_options="--db-driver=mysql --mysql-user=root --mysql-password=mysql --test=oltp --mysql-table-engine=${engine} \ --mysql-socket=${sock} \ --num-threads=50 \ --oltp-table-size=$(( 20000000 / ${try} )) --oltp-range-size=0 \ --oltp-point-selects=0 --oltp-simple-ranges=0 --oltp-sum-ranges=0 --oltp-order-ranges=0 \ --oltp-distinct-ranges=0 --oltp-connect-delay=0 \ --oltp-nontrx-mode=update_key" for a in `seq ${try}`; do un=oltp$a; mysql -u root -pmysql -S "${sock}" -e "drop database $un" || true; mysql -u root -pmysql -S "${sock}" -e "create database $un"; sysbench ${sysbench_options} --mysql-db=$un --oltp-table-name=$un prepare & done wait for a in `seq ${try}`; do un=oltp$a; ( sysbench ${sysbench_options} --mysql-db=$un --oltp-table-name=$un run 2>&1 | tee /tmp/sysbench-run.${un}.log ) & done No errors or segfaults. Assumed to be fixed in https://github.com/mysql/mysql-server/commit/8870f822d86644fe4578be7025c76478f42100fa (release 5.7.13)
[5 Nov 2018 13:54]
MySQL Verification Team
Thank you Mr. Black on informing us that a bug is fixed interim 5.7.7 and 5.7.13. Mr. Smith, if you hit another problem on the POWER CPU, please notify us. However, make sure that your OS and CPU are still supported in the MySQL version that you are testing. ARM64 will soon be supported in MySQL 8.0 .......