Hi, I am trying to determine the impact of various CPU and Memory allocations on the performance of a mesos task. I don't think I am accurately controlling how a framework limits the resources used by executors.
I am using the test_framework.py in the python example and modifying the associated test_executor to run my task. To change the resources allocated, I have been changing the parameters of TASK_CPUS and TASK_MEM in test_framework.py. When a task is actively running, the Mem and CPU recorded on the Mesos framework website corresponds exactly to the values specified by those parameters. However, I am running a program with 4 threads and strangely I see no change in performance when running on 1 CPU with 32 MB vs. 8 CPU with 512 MB. This has lead me to wonder if changing those parameters does not actually limit the amount of CPU/ Memory available to a given task. Is there another way I should go about controlling resources? Thanks! Sammy

