X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=microbench%2Fsetup%2Fbuild-fs;fp=microbench%2Fsetup%2Fbuild-fs;h=b17121180e248715dc2f886341510df0e6f6c7d7;hb=3b5869178bd52ca9092f3195d10f5e388cbcb7d6;hp=0000000000000000000000000000000000000000;hpb=7daddca3715fee8a3bfff417e769ff08dd7f4cbf;p=bluesky.git diff --git a/microbench/setup/build-fs b/microbench/setup/build-fs new file mode 100755 index 0000000..b171211 --- /dev/null +++ b/microbench/setup/build-fs @@ -0,0 +1,10 @@ +#!/bin/bash + +# Create a directory with a number of small files. Space out the creation of +# each file by several seconds so that for BlueSky, without running the +# cleaner, the inodes should end up in separate log files in the cloud. +mkdir small +for i in {0..15}; do + sleep 5 + dd if=/dev/urandom bs=4k count=1 of=small/file-$i +done