In Oracle MySQL 8.0 and 8.4, innodb_buffer_pool_chunk_size is a global, non-dynamic startup setting. Change it in the server startup configuration and restart MySQL; opening a new connection does not apply the change. Before a change, calculate the effect of chunk size and buffer pool instances on the effective buffer pool size, and verify the values after restart.
innodb_buffer_pool_size is a separate variable that can be resized online, subject to operational constraints.