Vdbench distribution: vdbench50407
Issue:
While defining the file sizes in fsd , i had given size,percentages. When vdbench gets completed, it creates files but not as per percentages given.
Vdbench profile:
create_anchors=yes
fsd=fsd1,anchor=/tmp/rt/run1,depth=1,width=1,files=10,size=(1m,40,2m,40,5m,20),distribution=all
fwd=fwd1,fsd=fsd1,xfersize=1m,fileio=(random,shared),fileselect=sequential,threads=4
rd=rd1,fwd=fwd1,operations=(read,write),format=yes,fwdrate=max,elapsed=20,interval=1
Ideally it should create the below number of files:
4 - 1m files
4 - 2m files
2 - 5m files
but it creates 6 2m files, 3 1m files and 1 5m file.
root@rt:~# ls -l /tmp/rt/run1/vdb.1_1.dir/
total 20480
-rw-r--r-- 1 root root 2097152 Jul 13 10:42 vdb_f0000.file
-rw-r--r-- 1 root root 2097152 Jul 13 10:42 vdb_f0001.file
-rw-r--r-- 1 root root 1048576 Jul 13 10:42 vdb_f0002.file
-rw-r--r-- 1 root root 2097152 Jul 13 10:42 vdb_f0003.file
-rw-r--r-- 1 root root 1048576 Jul 13 10:42 vdb_f0004.file
-rw-r--r-- 1 root root 2097152 Jul 13 10:42 vdb_f0005.file
-rw-r--r-- 1 root root 5242880 Jul 13 10:42 vdb_f0006.file
-rw-r--r-- 1 root root 2097152 Jul 13 10:42 vdb_f0007.file
-rw-r--r-- 1 root root 1048576 Jul 13 10:42 vdb_f0008.file
-rw-r--r-- 1 root root 2097152 Jul 13 10:42 vdb_f0009.file
Please suggest if I am missing anything?
Regards,
-RT