HELDON: How to quickly create large file on linux

Publicēts: 11:52:50 10/05/14
Autors: HELDON

http://stackoverflow.com/questions/257844/quickly-create-a-large-file-on-a-linux-system

1) fallocate -l 10G gentoo_root.img
^ ātri izveido 10Gb failu

2) rsync --progress gentoo_root.img gentoo_root.img2
^ parāda reālo kopēšanas ātrumu

3) dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
^ standarta tests, ar kuru arī var spriest par datu ierakstīšanas ātrumu