Cassini used to only assign 24MB of shared memory to PostgreSQL, I changed that to 128MB. We mostly seemed to be IO-bound on cassini so it looks like this has helped..