According to this excellent and comprehensive research with some kernel hacking ~x33 speedup (compared to single core) is possible. For example PostgreSQL running on 48 cores gives ~x4 out of the box and after kernel/postgreSQL patches are applied it grows to ~x33. Assuming IO can keep up of course.