Allocation Unit Size
I tried changing:
#define DOKAN_ALLOCATION_UNIT_SIZE 512
in public.h to 4096, and after I compiled and installed the dokan driver, the allocation size is still 512.
I tested it by creating a new txt file with just a couple of letters in it. The size on disk appeared to be 512 bytes.