Yeah, but IMO even better could be:

    (real_bytes_per_second / pessimistic_factor + 1).floor