There has been an error in the tests the dataset size was not 2*MEM it was 0.5*MEM i shall redo the tests and post results.
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных