1. A computer-implemented method, comprising: selecting, by a host computer, a first workload of a plurality of workloads running on the host computer to be subjected to an input/output (I/O) trace; determining whether to generate the I/O trace for the first workload for a first length of time or for a second length of time, the first length of time being shorter than the second length of time, wherein the determination is based upon runtime history for the first workload, I/O trace history for the first workload, and/or workload type of the first workload; and generating the I/O trace of the first workload for the selected length of time.