Quote:
Originally Posted by ischi
for a benchmark file it might be better to use /dev/random as a source just to get around any optimization that might be happening through compression while trenfering the file (just a thought dont know what you wnat to do excatly)
Code:
dd if=/dev/random of=./test bs=1024 count=2000000
|
Using /dev/random to create a 2GB file would take a year! /dev/random uses mouse input etc. as input to generate random numbers, and thus doesn't contain much data. It would be better to use /dev/urandom, which generates pseudo random data. However, this would still take a lot longer as generating the pseudo random data is processor intensive.