Add write_periods_random to host_usage