How do you do when suffering from prolonged sleep deprivation?

I don't do very well with it! I can run a significant sleep deficit for a long time, but I need at least 5-6 hours of sleep to think somewhat clearly. Since most of my work involves thinking, sleep deprivation just wrecks me in the workplace! And puts me into a crabby mood at home...