InnoDB Buffer pool not showing as much I configured in MariaDB 10.5
It is unsafe to raise values arbitrarily.  It often leads to swapping, which makes performance worse.
max_allowed_packet=1G  -- dangerously high; wastes RAM; set to 1% of RAM
innodb_buffer_pool_size=3G   --Since you have only 4GB, lower to 2G
innodb_buffer_pool_instances=6  -- only 1 per GB, so: 2
innodb_log_files_in_group=1   -- Use the standard of 2
innodb_log_write_ahead_size=32M  -- waste of RAM; leave at default (8K)
innodb_write_io_threads=128  -- too high
innodb_io_capacity=10000   -- do you have a super-duper SSD?  Else too high
join_buffer_size=128M    -- lower to 1% of RAM
read_rnd_buffer_size=128M  -- lower to 1% of RAM
max_connections = 500    -- the default will save RAM

As for &quot;Buffer pool size   193296&quot; -- That is pages.  Multiply by 16K to get about 3G.  So it is not &quot;small&quot;.