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, wherein when the determination is based upon the runtime history for the workload, the first length of time is selected if the first workload has run for less than a threshold amount of time, and the second length of time is selected if the first workload has run for at least the threshold amount of time; and generating the I/O trace of the first workload for the selected length of time.