I am studying parallel programming in Maple. Two words are important keys in parallel programming. The one is “task”, and another is “process”. In the help pages of Maple are said the Grid:-Map package is executed in separate “processes”, while the Threads:-Map command is tried to divide the input into separate “tasks”.
- What is the difference between the “process” and “task” conception and meaning in Threads and Grid packages?
- What is the discrepancy between Grid:-Map and Threads:-Map commands in the practice and execution?
- Between the “process” and “task”, which one of them does have the smaller run-time?
- What is the default value of “tasksize” option in Grid:-Map and Threads:-Map commands,
- Does or the larger value of the “tasksize” option results in smaller run-time either the smaller value of that?
Can anyone explain to me the above questions?
Thanks in advance,