To put it simple, you need to set checkpoint_segments way higher than your current value!
Link: wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных