Correct me if I am wrong: You want to have 64 files created, and then test using, then 8, then 16, etc.
'forfiles' won't do this; the file count is an integral part of of a file system structure and can not be changed without starting all over with a complete format.
How about using for 'workingsetsize' parameter? This won't allow you to directly specify the amount of files, but if your file sizes are all the same then you'll just have do do a little math.
I just ran this:
Note the use of 'format=once'.
This is the result:
C:\vdbench504\output>grep -i created logfile.html
10:31:59.151 FILE_CREATES Files created: 100 100/sec
10:31:59.152 DIRECTORY_CREATES Directories created: 1 1/sec
10:31:59.235 localhost-0: Created workingset=20k subset for anchor=r:\junk\fsd1 using 2 of 100 files.
10:32:03.405 localhost-0: Created workingset=40k subset for anchor=r:\junk\fsd1 using 4 of 100 files.
10:32:07.297 localhost-0: Created workingset=60k subset for anchor=r:\junk\fsd1 using 6 of 100 files.
Hope this helps,
That should take care of in Henk, thanks a bunch. I tried the forwss= earlier, but didn't have the right format= choice at the time (too many combinations!). All the files are the same size, so your solution should work nicely.
Too many combinations. Agreed. Even I don't always remember all of them.
Glad to be of help.