Free Essay

School Administrator

In:

Submitted By krezelmaemarave
Words 1671
Pages 7
CPU and I/O Burst Cycle

* The execution of a process consists of a cycle of CPU execution and I/O wait. * A process begins with a CPU burst, followed by an I/O burst, followed by another CPU burst and so on. The last CPU burst will end will a system request to terminate the execution. * The CPU burst durations vary from process to process and computer to computer. * An I/O bound program has many very short CPU bursts. * A CPU bound program might have a few very long CPU bursts.

Histogram of CPU-burst Times

Types of Scheduling

* The key to the multiprogramming is scheduling. There are four types of scheduling that an OS has to perform. These are: * Long Term scheduling * The long term scheduling determines which programs are admitted to the system for processing. Thus, it controls the level of multiprogramming. * Once admitted, a job or a user program becomes a process and is added to the queue for the short term scheduling (in some cases added to a queue for medium term scheduling). * Long term scheduling is performed when a new process is created. * The criteria used for long-term scheduling may include first-come-first serve, priority, expected execution time, and I/O requirements. * Medium-Term Scheduling * The medium-term scheduling is a part of swapping function. This is a decision to add a process to those that are at least partially in main memory and therefore available for execution. * The swapping-in decision is made on the need to manage the degree of multiprogramming and the memory requirements of the swapped-out process. * Short-Term Scheduling * A decision of which ready process to execute next is made in short-term scheduling. * I/O Scheduling * The decision as to which process’s pending I/O requests shall be handled by the available I/O device is made in I/O scheduling.
CPU Scheduler * Whenever, the CPU becomes idle, the OS must select one of the processes in the ready-queue to be executed. * The selection process is carried out the short-term scheduler or CPU scheduler. The CPU scheduler selects a process from the ready queue and allocates the CPU to that process.

* CPU scheduling decisions may take place when a process: 1. The running process changes from running to waiting state (current CPU burst of that process is over). 2. The running process terminates 3. A waiting process becomes ready (new CPU burst of that process begins) 4. The current process switches from running to ready stat (e.g. because of timer interrupt).

* Scheduling under 1 and 2 is nonpreemptive. * Once a process is in the running state, it will continue until it terminates or blocks itself. * Scheduling under 1 and 2 is preemptive. * Currently running process may be interrupted and moved to the Ready state by OS. * Allows for better service since any one process cannot monopolize the processor for very long

Dispatcher

* Dispatcher module gives control of the CPU to the process selected by the short-term scheduler; this involves: * Switching context * Switching to user mode * Jumping to the proper location in the user program to restart that program * Dispatch latency – time it takes for the dispatcher to stop one process and start another running.

What is a Good Scheduler? Criteria * User oriented * Turnaround time: time interval from submission of job until its completion. It includes actual processing time plus time spent waiting for resources, including the processor. OR the amount of time between moment a process first enters Ready State and the moment the process exits Running State for the last time (Completed). * Waiting time: sum of periods spent waiting in ready queue. * Response time: time interval from submission of job to first response. Often a process can begin producing some output to the user while continuing to process the request. Thus this is a better measure than turnaround time from the user’s point of view. * Normalized turnaround time: ratio of turnaround time to service time. * Service Time: The amount of time process needs to be in running state (Acquired CPU) before it is completed. * System oriented * CPU utilization: percentage of time CPU is busy. CPU utilization may range from 0 to 100%. In a real system, it should range from 40% to 90%. * Throughput: number of jobs completed per time unit. This depends on the average length of the processes. * Service time, wait time, turn around time, and throughput are some of the metrics used to compare scheduling algorithms. * Any good scheduler should: * Maximize CPU utilization and throughput * Minimize turnaround time, waiting time, response time

Goals of Scheduling Algorithm for Different Systems

* All systems * Fairness – Giving each process a fair share of the CPU * Policy enforcement – seeing that stated policy is carried out. * Balance – Keeping all parts of the system busy * Batch systems * Maximize throughput (job/hour) * Minimize turnaround time * Maximize CPU utilization * Interactive systems * Minimize response time (respond to request quickly) * Proportionality – Meet users’ expectations * Real-time systems * Meeting deadlines * Predictability – avoid quality degradation in multimedia systems.

Scheduling Algorithms

* CPU scheduling deals with the problem of deciding which of the processes in the ready queue is to be allocated the CPU. There are many different CPU scheduling algorithms, which we will discuss now.

First-Come First-Served (FCFS) Scheduling

* The process that requests the CPU first is allocated the CPU first. It is nonpreemptive algorithm. * Can easily be implemented with a FIFO queue. * When a process enters the ready queue, its PCB is linked onto the tail of the queue. * When CPU is free, it is allocated to the process at the head of the queue.

* Advantages * Very simple * Disadvantages * Long average and worst-case waiting times * Poor dynamic behavior (convoy effect - short process behind long process)

Shortest-Job First Scheduling (SJF) * This algorithm associates with each process the length of its next CPU burst. * When the CPU is available, it is assigned the process that has the smallest next CPU burst. * It is a non-preemptive policy.

Preemptive SJF – Shortest Remaining Time First

* Preemptive version of SJF. * If a new process arrives with CPU burst length less than remaining time of current executing process, preempt the currently executing process and allocate the CPU to the new process. * Advantages: * Minimizes average waiting times. * Problems: * How to determine length of next CPU burst? * Problem: starvation of jobs with long CPU bursts.

Determining Length of the Next CPU burst in SJF

* Can only estimate the length. * Can be done by using the length of previous CPU bursts, using exponential averaging.

Priority Scheduling

* In priority scheduling, a priority (an integer) is associated with each process. * Priorities can be assigned either externally or internally. * The CPU is allocated to the process with the highest priority (smallest integer means highest priority). * Priority scheduling can be: * Preemptive * Nonpreemptive * Problem * Starvation or indefinite blocking – low priority processes may never execute. * Solution * Aging – as time progresses increase the priority of the process.

Round-Robin Scheduling

* Each process gets a small unit of CPU time (called time quantum), usually 10-100 milliseconds. * After this time has elapsed, the process is preempted and added to the end of the ready queue. * Ready queue is treated as a circular queue. * CPU scheduler goes around the ready queue, allocating the CPU to each process for a time interval of 1 time quantum. * Ready queue is a FIFO queue of processes. * New processes are added to the tail of the ready queue and the CPU scheduler picks the first process from the ready queue, sets a timer to interrupt after 1 time quantum and dispatches the process. * If the process has a CPU burst of less than 1 time quantum, it releases the CPU voluntarily. Otherwise, the timer will go off and will cause an interrupt to the OS. A context switch will be executed and the process will be put at the tail of the ready queue. The CPU scheduler then picks up the next process in the ready queue. * If there are n processes in the ready queue and the time quantum is q, * Each process gets 1/n of the CPU time in chunks of at most q time units at once. * No process waits more than (n-1)q time units until its next time quantum. * Example: If there are 5 processes, with a time quantum of 20 ms, then each process will get up to 20 ms every 100 ms. * Typically, RR has higher average turnaround than SJF, but better response.
RR and Time Quantum

* The performance of the RR depends heavily on the size of the time quantum. * If the time quantum is very large, then RR policy is the same as FCFS policy. * If the time quantum is very small then most of the CPU time will be spent on context switching. * Turnaround time also depends on the time quantum * A rule of thumb is that 80% of the CPU bursts should be shorter than the time quantum.

Turnaround time varies with the time quantum

Multilevel Queue Scheduling

* Ready queue is partitioned into separate queues. * Each queue may have its own scheduling algorithm.

A multilevel queue scheduling with absolute priory

* Scheduling must be done between the queues. * Fixed priority scheduling; (i.e., serve all from foreground then from background). Possibility of starvation. * Time slice – each queue gets a certain amount of CPU time which it can schedule amongst its processes; i.e., 80% to foreground in RR and 20% to background in FCFS.

Multilevel Feedback Queue Scheduling

* A process can move between the various queues; aging can be implemented this way.

* Multilevel-feedback-queue scheduler defined by the following parameters: * Number of queues * Scheduling algorithms for each queue * Method used to determine when to upgrade a process * Method used to determine when to demote a process * Method used to determine which queue a process will enter when that process needs service
Algorithm Evaluation

* Deterministic modeling – takes a particular predetermined workload and defines the performance of each algorithm for that workload. * Queueing models * Implementation

Similar Documents

Premium Essay

School Administrator

...JOB DESCRIPTION – COLLEGE ADMINISTRATOR The duties and responsibilities of a College Administrator shall include the following: Overseeing the day to day administrative management of the College; Managing and developing administrative, non-teaching staff within the college, including performance appraisal, discipline, role clarification and training; Supporting the College and the Council of Heads in the fulfilment of the functions of the College; Assisting in the preparation and the formulation of the College’s strategic and business plans, and the implementation of such plans. Providing input to the Business plan and Annual Financial Estimates Exercise and managing the section’s budget to ensure efficiency and effectiveness; Ensuring that records and statistics of all Schools in the College are accurate and up to date, including financial records and monthly management accounts as required by the DES and the College Principal; Creating and ensuring the effective maintenance of a data-management and ICT system, as required by the DES; Formulating accurate specifications in connection with calls for quotations/tenders for the procurement of services and goods, in full observance of the relevant government legislation, procedures and policies; Maintaining regular liaison with other College Administrators; Providing on-going practice guidelines, training and support to school secretaries and clerks, including those in the College Administration Team; Assuming responsibility for...

Words: 501 - Pages: 3

Premium Essay

Pursuing School Administrator

...My interest in pursuing a position as a school administrator for an elementary school system is to provide leadership for staff members and quality education for all students, and to become part of the world of education. The Benjamin Franklin School located in the Dallas School District serves as a growing population of approximately 1,070 students. The school offers a well-defined educational system for the students, and it has an overall student-to-teacher ratio of 17:1. In addition to the statewide curriculum standards, the school offers special education programs and classes for the gifted and talented. As a result of the school district rankings in the student’s performance, Benjamin Franklin School has become the worst in the district which has caused stereotyping among teachers and students. Based upon strategies planning efforts to ensure the school fosters an atmosphere where all are respected, I would like to work toward creating a positive environment where students feel valued, and supported by their teacher. I will assess data to measure students learning and improve leadership skills that value every student at Benjamin Franklin School to increase achievement. The progress toward the goal will report better performance ratings. While focusing on the many challenges of becoming an administrator, I need to focus on classroom management and improving student’s motivation to learn. I will apply to a full time teaching position so that I can prepare myself fully. I...

Words: 1365 - Pages: 6

Free Essay

Zenmap

...Zenmap Specs * Supported Operating systems: Windows, Mac, Linux, BSD * Cost: Free * Requirements: Nmap Who’s it for? Zenmap is for any network or security administrator who needs to keep a constant check on their network topology. With it’s next-to-zero learning curve, just about any network administrator can have all of the information they need quickly. Zenmap will work for any size company or even a single-user consultancy, where a quick scan of a network topology can make the difference between spotting a security issue and finding a resolution or, well…not. What problem does it solve? There are two very key issues Zenmap solves. One is making the more-challenging Nmap scanner useable for the average administrator. Nmap is a console-only tool and the majority of administrators do not want to spend their day at the console (with a nod to the old-school Linux and UNIX admins who would much rather spend their day at the command line than in a GUI tool). Zenmap also gives the administrator a topology mapping tool where they can actually see an interactive, animated visualization of the hosts on your network. Key features * Free * Easy-to-use GUI * Quickly saves scans * Uses traceroute and ping * Saves profiles for frequent run tests * Topology mapping * Compares scan results of different scans * Runs multiple scans and views them as one big scan * Plenty of default scan profiles to choose from * Searches scan results...

Words: 251 - Pages: 2

Free Essay

Nursing Home Crisis

...hard economy nursing homes have to make cuts, and unfortunately they are cutting all in the wrong places. Many times office jobs in the nursing home are the last to be cut and the nurse aides are the first to be cut, and the reason being is because many states do not have laws stating the aide to resident ratio. Today, a local nursing home has just got a new hope in recovering the problem of the loss of success that their nursing home has encountered. They have begun to cut nurse aides and have begun to run the halls short-handed, unfortunately their complaints have went up and their residents have become very unhappy. The nursing home has now decided to fire the current administrator and hire a new administrator in hope for new ideas and better success for their nursing home. Although the new administrator has many difficult problems to solve she has a lot of faith in recovering the problem the nursing home is now encountering. The new administrated began looking through past experiences working in a nursing home as a nurse aide. She remember the hard work that was endure every day, and how every resident depended on those few nurse aides that work on each hall. To be a nurse aide you have to have the heart and love for each every resident, and this administrated motto was “treat every resident as you...

Words: 1161 - Pages: 5

Premium Essay

Bus Reservation

...objective was to ensure that the Customers don’t have to leave the confines of their comfort to book a ticket, and to help them get a ticket when they need it the most. • The internet was being voted as a medium people couldn’t do without. PC and net penetration was increasing not only in urban areas, but also in rural India. Also, people were getting used to booking tickets for travel using IRCTC and private airline websites. So, why not buses? • Online system provides real time quotations, real time bus booking services for round trips, multiple payment channels, cost comparison, last minute booking, an in-house call center and even home delivery of tickets. ➢ Admin Back-End System(home page of administrator) : ➢ Able to view & edit customer details ➢ 3 types of admins, user level permissions ➢ Bus details display. ➢ Assigning drivers to buses and...

Words: 306 - Pages: 2

Free Essay

Pieces Analysis

...authorization. One main unit of those units is the help desk unit that is responsible in brief for employees' requests to set services, solve problems or incidents. There are more than one way that is used by the help desk unit to interact with employees to help them with their IT needs i.e. call center, emails and the IT services system. This paper contains a comparison and evaluation of the two systems that have been used by QOC IT department to receive users' requests (HP open view, BMC9.1 & BMC10.1) in term of PIECES framework. The evaluation of the system is based on system administrator's point of view and end users' (QOC employees) point of view. An evaluation of the current system (BMC10.1) has been conducted based on employees & administrator surveys & interviews and after the analyzing of those surveys problems with performance and input has been highlighted. A suggested solution that might be taken to improve the effectiveness and the efficiency of the system has been given. System used by the help desk unit HP open view 4.5 There are two different systems that used by IT...

Words: 1469 - Pages: 6

Free Essay

A Context of Being a School Administrator (Principal)

...A CONTEXT OF BEING A SCHOOL ADMINISTRATOR (PRINCIPAL) A school principal is the primary leader in a school building. A good leader always leads by example. A principal should be positive, enthusiastic, have their hand in the day to day activities of the school, and listen to what their constituents are saying. An effective leader is available to teachers, staff members, parents, students, and community members.  Good leaders stays calm in difficult situations, thinks before they act, and puts the needs of the school before themselves. An effective leader steps up to fill in holes as needed, even if it isn’t a part of their daily routine. Being a school principal is balanced between being rewarding and being challenging. It is a difficult job and like any job there are people that are just not cut out to handle it. There are certain characteristics of a principal that everyone is not equipped with. Besides the obvious professional requirements needed to become a principal, there are several traits that good principals must possess to effectively do their job. Each of these characteristics manifests themselves in the daily duties of a principal. The best principals possess each of these seven qualities. A principal must exhibit leadership. This is a characteristic that every principal must possess. The principal is the instructional leader of their building. A good leader has to take responsibility both in the successes and the failures of their school. A good leader puts the...

Words: 1256 - Pages: 6

Free Essay

The Career I Chose to Be My Life

...attended a school to pursue my dream of being a computer technician while in Cuba because it takes a lot of money just to study the career is not guaranteed that upon graduation you u will find a decent job doing what you studied so that you can provide for a family. The career I chose for is Network System Administration, I chose this career because of my love for computers ever since I was a little kid and what better way to have a better life and future that getting prepared on the field that you love. I am also interested in this career because of the pay rate and the flexibility on the schedule. In 2012 Network and Computer Systems Administrators were averaging $72.560 dollars a year and $34.55 an hour said the Bureau of Labor Statistics, (2014). I really like this career because on the present day computer networks are some of the strongest links on every company and the computer system administrators are responsible for the day to day operation of these networks. “In some cases, administrators help network architects design and analyze network models. They also participate in decisions about buying future hardware or software to upgrade their organization’s network. Some administrators provide technical support to computer users, and they also may supervise computer support specialists who help solve user’s problems”. The requirements of this career when it comes to education and previous work experience are very simple due to the requirement for school is the bachelor’s...

Words: 776 - Pages: 4

Premium Essay

My Chosen Career

...Essay for My Chosen Career Essay for My Chosen Career Throughout this paper I would like to discuss the required steps to achieving my chosen career as a Network Administrator. The decisions I make during my time in school will have a great impact in my success. Training: Enrolled in ITT-Tech I have made the decision to further my education and pursue a path to a new career. Having this opportunity has opened a door that has been closed to me for a long time. Taking on this responsibility I must complete all assignments on time and get good grades in my academics. After being approved to enroll in college next came the burden of financing my education as well as maintaining my personal finances. First I spoke with a loan officer to get approved for any Loans and/or Grants that I may qualify for. Then for my personal finances I’ve found ways to cut down on my spending, save as much as I can, and live within a budget. Last but not least is to find time for my classes and schedule time for homework and assignments. Keeping a planner makes it easier to keep track of my daily activities and schedule my appointments around my class schedule. Another way I can have extra time is to keep my vehicle in good running condition and keeping it current and up to date. To me the only way to earn a higher level of income is to obtain a higher level of education and continued education. If you are thinking that you would like to further your career and increase...

Words: 1059 - Pages: 5

Premium Essay

Professional Culture Report

...Table of Contents Abstract 3 What is IT 4 Culture 4-5 Language 5 Do not be left behind 5 Job Outlook 5-6 Annual income 6-7 Schooling 8 References 9-10 Abstract This report is going to cover Professional Language and Culture in the Information Technology (IT) field. It also includes a brief description of what the IT field is. Along with the job outlook projected from 2008 through 2018. One of the most important things in the IT field is to keep up to date with the latest trends. There is a chart covering the annual income of some of the careers in the field. As well as a chart that covers the annual total cost of tuition and fees for some of the best online schools. Professional Language and Culture Report What is Information Technology (IT)? IT is an acronym for “Information Technology” and you pronounce it by saying the letters individually. IT is anything related to computing such as the internet, hardware, software, networking, and even the people it takes to operate and maintain the systems. Almost all large companies have their own IT department that manage the computers, servers, networks, security, and anything else that falls into their area of expertise (Techterms, 2011). Culture According to a blog, by La Salle, “Culture has been a constant worry in the Information Technology (IT) field, since it has been observed that culture can influence on the success of IT adoption and usage” (2010). More often than not the professionals...

Words: 1279 - Pages: 6

Premium Essay

How to Become a Good School Administrator

...SOUTHWESTERN UNIVERSITY GRADUATE SCHOOL OF HEALTH SCIENCE, MANAGEMENT AND PEDAGOGY MPA 504 Reflection Paper on How to Become a Better Public Servant (Teacher) Ria P. Pachica Dr. Angelina C. Villareal (Student-Iloilo Group) (Professor) Introduction I come to education later in life and with a passion.  I did not expect that I would have a second career.  I volunteered in a kindergarten class for a few hours a week to be generous to the community.  Quickly, I discovered that I was the one receiving the gift.  The children were extraordinary; exciting, challenging, and loving.  Her teachers and the other teachers I met at her school were extraordinary as well.  Their caring, professionalism, and openheartedness moved and inspired me. Reasons for Wanting to Become a Teacher I believe that teaching is an essential and noble profession.  Next to parents, teachers are the most important foundational element in our society.  Everything important begins in childhood, especially knowledge, self-knowledge, resilience, and character.  Proper preparation is fundamental to living a full, rewarding life.  Without self-knowledge, children may follow wrong paths and end up far from their true callings; lost, sad, and unfulfilled.  Without resilience, the storms and challenges of life can turn children from their highest path, leaving them far from who they might have been.  Finally, character is the intangible force that raises society as a whole, minimizes...

Words: 1566 - Pages: 7

Free Essay

None

...My Dream Job I guess my dream job would be a combination of things. I don’t like just sitting at a desk. I need to get up and move around. I guess it would be a helpdesk role along with a systems administrator and a network administrator. I enjoy working with people hence the helpdesk role. I like the freedom to move around of the helpdesk role. Network administration is the most challenging of the roles. System admin is probably the most mundane of all. The helpdesk requires you to go to a person’s desk and interact with them. In the network admin role you work with the different devices. You may have to troubleshoot a connectivity issue, install a device, and configure the device. In the system admin role you mostly create user accounts, set shares and permissions, create e-mail accounts. To be able to land this type of job I will have to update some of my credentials. Probably go to college for at least an associate’s or maybe a bachelor’s degree. A lot of job advertisements I am seeing are requiring those now. I have experience but no degree. I need to renew my CCNA certification. That entails either going to classes or studying online. Going to classes would be the best because it would go toward a degree and give some hands on experience. The same applies to my A+ certification. Some of the other certifications also need refreshing. At my age I wonder if it would be worth the effort of working toward a degree. It would take over two years to complete...

Words: 649 - Pages: 3

Premium Essay

Service Reguest Srrm-022

...two departments to consider would be the human resource management and Information Technology departments. All the teams of professionals within these departments would have to be part and parcel of the entire system design and development process. The other departments to consider would be those of finance and operations management as they too are a fundamental part of the organization’s decision making framework. Coding As the new human resource management system is designed for Riordan Manufacturing, it is imperative to consider all its essential features and functions so as to ensure a flawless module is developed. These features and functions are tied firmly to computer programs for end users as well as those for system administrators. Databases for keeping and maintaining all the information within the system are also of prime importance during the implementation stage. It is therefore imperative that the group of professionals from the Information Technology department, more so the system developers bear in mind the usability of the system so as to ensure they generate the correct types of computer software for application within the system. The standards and procedures to use during the development of system software on which the new automated human resource management structure would be based depend entirely on the keen...

Words: 1452 - Pages: 6

Premium Essay

Service Request Sr-Rm-022, Part 3

...two departments to consider would be the human resource management and Information Technology departments. All the teams of professionals within these departments would have to be part and parcel of the entire system design and development process. The other departments to consider would be those of finance and operations management as they too are a fundamental part of the organization’s decision making framework. Coding As the new human resource management system is designed for Riordan Manufacturing, it is imperative to consider all its essential features and functions so as to ensure a flawless module is developed. These features and functions are tied firmly to computer programs for end users as well as those for system administrators. Databases for keeping and maintaining all the information within the system are also of prime importance during the implementation stage. It is therefore imperative that the group of professionals from the Information Technology department, more so the system developers bear in mind the usability of the system so as to ensure they generate the correct types of computer software for application within the system. The standards and procedures to use during the development of system software on which the new automated human resource management structure would be based depend entirely on the keen...

Words: 1452 - Pages: 6

Premium Essay

Owner

...System Administrator | ← Job Descriptions Main Page  | ESSENTIAL FUNCTIONS: The System Administrator (SA) is responsible for effective provisioning, installation/configuration, operation, and maintenance of systems hardware and software and related infrastructure. This individual participates in technical research and development to enable continuing innovation within the infrastructure. This individual ensures that system hardware, operating systems, software systems, and related procedures adhere to organizational values, enabling staff, volunteers, and Partners. This individual will assist project teams with technical issues in the Initiation and Planning phases of our standard Project Management Methodology. These activities include the definition of needs, benefits, and technical strategy; research & development within the project life-cycle; technical analysis and design; and support of operations staff in executing, testing and rolling-out the solutions. Participation on projects is focused on smoothing the transition of projects from development staff to production staff by performing operations activities within the project life-cycle. This individual is accountable for the following systems: Linux and Windows systems that support GIS infrastructure; Linux, Windows and Application systems that support Asset Management; Responsibilities on these systems include SA engineering and provisioning, operations and support, maintenance and research and development...

Words: 1105 - Pages: 5