How to optimize Mysql database of 250 million rows for bulk inserts and selects
Your should increase the innodb_write_io_threads to 8.
This setting configures how many threads are dedicated to writing to .ibd files from the Buffer Pool.