I have been trying to figure out to tune postgres and the only rule of thumb I have seen for -B is to give it 1/4 of physical memory (or 16384 8k buffers for 512mb of memory).