use a sensible calculation to determine reboot