全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Greedy scheduler, work stealing?

又称: greedy scheduler · work stealing

Definition 24.6 University Computer Science — Year 3 · 第 24 章 — Parallel Programming

A greedy scheduler on pp processors never leaves a processor idle while a node is ready: at each step it runs min⁡(p,r)\min(p, r) of the rr ready nodes. Under work stealing, each processor keeps a queue of the tasks it has forked and works from it; a processor whose queue is empty takes a task from the queue of another, chosen at random.

在原文中阅读 →