answersLogoWhite

0


Best Answer

Each process in Windows Vista operating system contains its own independent virtual address space

with both code and data, protected from other processes. Each process, in turn, contains one or more

independently executing threads. A thread running within a process can create new threads, create new

independent processes, and manage communication and synchronization between the objects.

By creating and managing processes, applications canhave multiple, concurrent tasks processing files,

performing computations, or communicating with other networked systems. It is even possible to

exploit multiple processors to speed processing.

The following sections explain the basics of process management and also introduce the basic

synchronization operations.

• Job: collection of processes that share quotas and limits

• Process: container for holding resources

• Thread: Entity scheduled by the kernel

• Fiber: Lightweight thread managed entirely in user space.

Interprocess Communication

Threads can communicate in many ways including: pipes, named pipes, mailslots, sockets, remote

procedure calls, and shared files

Semaphore

A semaphore is created using function 'CreateSemaphore' API function. As Semaphores are kernel

objects and thus have security descriptors and handles. The handle for a semaphore can be duplicated

and as a result multiple process can be synchronised on the same semaphore. Calls for up

(ReleaseSemaphore) and down (WaitForSingleObject) arepresent. A calling thread can be released

eventually using WaitForSingleObject, even if the semaphore remains at 0.

Mutexes

Mutexes are kernel objects used for synchronization and are simpler than semaphores as they do not

have counters. They are locks, with API functions for locking (WaitForSingleObject) and unlocking

(releaseMutex). Like Semaphores, mutex handles can beduplicated.

Critical Sections or Critical Regions

This is the third synchronization mechanism which is similar to mutexes. It is pertinent to note that

Critical Section are not kernel objects, they do not have handles or security descriptors and cannot be

passed between the processes. Locking and unlockingis done using EnterCriticalSection and

LeaveCriticalSection, respectively. As these API functions are performed initially in user space and only

make kernel calls when blocking is needed, they are faster than mutexes.

Events

This synchronization mechanism uses kernel objects called events, which are of two types: manual-reset

events and auto-reset events. The number of Win32 APIcalls dealing with processes, threads, and fibres

is nearly 100. Windows Vistaknows nothing about fibres and fibres are implemented in user space. As a

result, the CreateFibre call does its work entirely in user space without making 12-13 system calls.

Scheduling There is no central scheduling thread in Windows Vistaoperating system. But when a thread

cannot run any more, the thread moves to kernel mode and runs the scheduler itself to see which

thread to switch to and the concurrency control is reached through the following conditions

• Thread blocks on a semaphore, mutex, event, I/O, etc.: In this situation the thread is already running in

kernel mode to carry out the operation on the dispatcher or I/O object. It cannot possibly continue, so it

must save its own context, run the scheduler to pickits successor, and load that threat's context to start

it.

• It signals an object - In this situation, thread is running in kernel mode and after signaling some object

it can continue as signaling an object never blocks.Thread runs the scheduler to verify if the result of its

action has created a higher priority thread. If so, a thread switch occurs because Windows Vistais fully

pre-emptive.

• The running thread's quantum expires: In this case, a trap to kernel mode occurs, thread executes the

scheduler to see who runs next. The same thread may beselected again and gets a new quantum and

continue running, else a thread switch takes place.

MEMORY MANAGEMENT

Windows Vistaconsists of an advanced virtual memory management system. It provides a number of

Win32 functions for using it and part of the executives and six dedicated kernel threads for managing it.

In Windows 2000, each user process has its own virtualaddress space, which is 32 bit long (or 4 GB of

virtual address space). The lower 2 GB minus approx 256MB are reserved for process's code and data;

the upper 2 GB map onto to kernel memory in a protected way. The virtual address space is demand

paged with fixed pages size.

INPUT/OUTPUT IN WINDOWS VISTA

The goal of the Windows VistaI/O system is to provide a framework for efficiently handle various I/O

devices. These includes keyboards, mice, touch pads,joysticks, scanners, still cameras, television

cameras, bar code readers, microphones, monitors, printers, plotters, beamers, CD-records, sound

cards, clocks, networks, telephones, and camcorders.

FILE SYSTEM MANAGEMENT

Windows Vistasupports several file systems like FAT-16, FAT-32, and NTFS. Windows Vistaalso supports

read-only file systems for CD-ROMs and DVDs. It is possible to have access to multiple file system types

on the same running system.

New Technology File System (NTFS)

NTFS stands for New Technology File System. Microsoft created NTFS to compensate for the features it

felt FAT was lacking. These features include increased fault tolerance and enhanced security. Individual

File names in NTFS are limited to 255 characters; full paths are limited to 32,767 characters. Files are in

Unicode. But Win32 API does not fully support case-sensitivity for file names. NTFS consists of multiple

attributes, each of which is represented by a stream of bytes

Security

NTFS has many security options. You can grant various permissions to directories and to individual files.

These permissions protect files and directories locallyand remotely. NT operating system was designed

to meet the U.S. Department of Defense's C2 (the orange book security requirements). Windows Vista

was not designed for C2 compliance, but it inherits many security properties from NT, including the

following: (1) secure login with anti-spoofing mechanism, (2) Discretionary access controls, (3) Privileged

access controls, (4) Address space protection per process, (5) New pages must be zeroed before being

mapped in, (6) security auditing

File Compression

Another advantage to NTFS is native support for file compression. The NTFS compression offers you the

chance to compress individual files and folders of your choice.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Discuss in detail the process management memory management io and file management and security and protection in windows vista operating system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Importance of security in operating system?

1)what is importance of security in operating system? 2)explain about management devices in OS? Devices in OS? 3)Discuss about security concepts in OS? 4)Differnt types of memories available in OS?


Explain the different functions of an operating system and discuss some ways that operating systems can differ from one another?

discuss the difference function of an operating system


Discuss operations management and other business specialties?

1. Discuss Operations Management and other business specialties.


What is an Operating System and discuss its various functions?

Operating Systems work as a bridge between computer hardware and user that performs tasks/functions like memory management, time management, handling of input output devices etc. Some examples of operating systems are Linux, Ubuntu, windows etc.Major functions that are perform by Operating Systems areBootingProcess ManagementMemory ManagementData SecurityDisk ManagementDisc ControllingPrinting Handling etc.


What are the barrier to management?

Discuss how management can overcome the barriers to change


Relationship management is a waste of financial resources Discuss?

Discuss the understanding by some authorities that relationship management is a waste of an organisation's resources.


Discuss the evolution of materials management?

What is the evolution of materials management? What is the evolution of materials management?


Discuss the classical theory of employmentHow far is the theory acceptable?

discuss the clasicial theories of management


Discuss the nature and scope of management accounting?

difine the nature and scope of management accounting?


Discuss the importance of studying production and operations management?

the reasons of studying management manufacturing


Discuss the Financial Management Function in organization?

F.m


Discuss the popularity of operating system?

An operating system is a necessary concept of using a modern computer. It is not a matter of "popularity."