See Chapter 20, ZooKeeper for information on configuring ZooKeeper, and see the part about having a dedicated disk.