Derived Channel
1.54K subscribers
252 photos
4 videos
374 files
68 links
القناة الأساسية
@stepbystep001

ومـما زادني شـرفـاً وتـيــهـاً
وكدت بأخمصي أطأ الـثريا
دخولي تحت قولك يا عبادي
وأن صـيَّرت أحمد لي نـبيـا
Download Telegram
Task Parallelism refers to the distribution of data across multiple cores
Anonymous Quiz
41%
T
59%
F
User threads are managed with OS support
Anonymous Quiz
30%
T
70%
F
Kernel threads are supported and managed directly by the OS.
Anonymous Quiz
94%
T
6%
F
in One-to-One Model Only one user thread can access the kernel at a time.
Anonymous Quiz
40%
T
60%
F
in Many-to-One Model Threads can run in parallel on multi-core systems.
Anonymous Quiz
26%
T
74%
F
in One-to-One Model Multiple threads can access the kernel at a given time
Anonymous Quiz
83%
T
17%
F
OS creates a kernel thread per user thread (can burden performance)
Anonymous Quiz
81%
One-to-One Model
19%
Many-to-Many Mode
OS creates a set of kernel threads (less than or equal to user threads)
Anonymous Quiz
10%
One-to-One Mode
90%
Many-to-Many Model
When a thread makes a blocking system call, another thread can run.
Anonymous Quiz
11%
Many-to-Many Model
11%
One-to-One Model
8%
Many-to-One Model
71%
A&B
Forwarded from Step by Step (C) (Abdelrahman Zaki)
Text / Data section
مساحتهم ثابتة
Forwarded from Step by Step (C) (Abdelrahman Zaki)
Heap/stack section -> مساحتهم متغيرة
Fork-join. works well for tasks that are asynchronous (cooperating)
Anonymous Quiz
46%
T
54%
F
The server creates a thread for each request
Anonymous Quiz
76%
Explicit Threading
24%
Implicit Threading
in Implicit Threading Programmers identify threads that can run in parallel.
Anonymous Quiz
45%
F
55%
T
can adjust the number of threads in the pool.
Anonymous Quiz
16%
sequential thread pool
84%
dynamic thread pool
Cancellation of a target thread can be asynchronous or Synchronous.
Anonymous Quiz
42%
T
58%
F
Implicit fork-join is a synchronous version of the thread pool.
Anonymous Quiz
81%
T
19%
F
A goal of memory management is not to provide a convenient abstraction for programming
Anonymous Quiz
18%
T
82%
F
A goal of memory management is to minimize performance with maximum overhead
Anonymous Quiz
22%
T
78%
F
can be solved by re-mapping between VA
(Virtual Address) and PA (Physical Address)
Anonymous Quiz
78%
External fragmentation
22%
Internal fragmentation: