Deep sampling is a variation of statistical sampling in which precision is sacrificed for insight. Small numbers of samples are taken, with each sample containing much information. The samples are taken approximately uniformly over the resource of interest, such as time or space. It is useful for identifying large hidden problems. Examples * In the context of software performance analysis samples are taken of the call stack at random times during an execution interval. This can identify extraneous function calls as well as hot spots. * In computer disk storage management, random bytes of storage under a directory are sampled. At each sample, the directory path to the file containing the byte is recorded. This can identify files or types of files that unnecessarily consume large amounts of storage, even though they may be buried or widely distributed within the directory structure.
|