Provide choice between MemoryEdgePartition and DiskEdgePartition
Choose between memory and disk in localBenchmark