• Aucun résultat trouvé

Copyright Notice©2000-2005 David A. Solomon and Mark Russinovich

N/A
N/A
Protected

Academic year: 2022

Partager "Copyright Notice©2000-2005 David A. Solomon and Mark Russinovich"

Copied!
5
0
0

Texte intégral

(1)

Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze

Unit OSB: Comparing the Linux and Windows Kernels

B. Quiz

2

Copyright Notice

© 2000-2005 David A. Solomon and Mark Russinovich

These materials are part of the Windows Operating System Internals Curriculum Development Kit, developed by David A. Solomon and Mark E.

Russinovich with Andreas Polze

Microsoft has licensed these materials from David Solomon Expert Seminars, Inc. for distribution to academic organizations solely for use in academic environments (and not for commercial use)

(2)

3

Kernel Architecture

Windows has what type of kernel architecture?

a)

Microkernel

b)

Modified-Monolithic

c)

Monolithic

d)

Modular microkernel

Linux Tasks

The Windows equivalent of a Linux task is:

a)

Thread

b)

Process with no threads

c)

Process with one thread

d)

Task

(3)

5

Scheduling Priorities

The Linux equivalent of the Windows “real time” priority range is:

a)

Normal

b)

Fixed FIFO

c)

Fixed Round Robin

d)

Both (b) and (c)

6

Linux/Windows Differences

Which of the following is true for Linux, but not for Windows:

a)

Uses form of the “clock” working set management algorithm

b)

Supports more than 64 processors

c)

Supports 4/4 virtual address mode

d)

Both c and d

e)

None of the above

(4)

7

Scheduler

Which of the following are differences between the Windows scheduler and Linux scheduler?

a)

Biases scheduling decisions against processes with many threads

b)

Performs load balancing in SMP scheduling

c)

Maximum timeslice is less than 200ms

d)

Has fixed and dynamic priority ranges

Linux Features

Which of the following do not apply to Linux?

a)

Fully asynchronous I/O

b)

Re-entrant kernel

c)

Pre-emptible kernel

d)

Has an O(n) scheduler

(5)

9

SendFile/TransmitFile

The SendFile API in Linux and TransmitFile API in Windows provide for:

a)

Wake-one semantics

b)

One-copy network I/O

c)

Zero-copy network I/O

d)

Thundering herd semantics

10

CriticalSection/Futex

The difference between a Windows Critical Section and Windows Futex is:

a)

Futexes always transition to kernel mode

b)

Futexes have prioritized waits

c)

CriticalSections have prioritized waits

d)

Critical sections work across processes

Références

Documents relatifs

Threads cannot accidentally reference the address space of another process, however, unless the other process makes available part of its private address space as a shared memory

This module compares and contrasts the Linux 2.6 kernel with Windows XP and Windows Server 2003 in areas such as kernel design, process and thread model, scheduling,

The Windows Operating System Internals Curriculum Resource Kit (CRK) is a pool of materials for a course that explains operating systems (OS) concepts based on

These materials are part of the Windows Operating System Internals Curriculum Development Kit, developed by David A4. Russinovich with

a) An application passes invalid data to a kernel service b) An application attempts to directly access hardware c) A driver attempts to execute an invalid CPU instruction d)

These materials are part of the Windows Operating System Internals Curriculum Development Kit, developed by David A. Russinovich with

Which driver sends network drive letter accesses to the remote file server?. a)

Priority inversion is a situation when a low priority tasks prevents a high priority task from running. Which of the following protocols does not resolve the priority