Free Essay

Process Capibility

In:

Submitted By nelson11
Words 5236
Pages 21
* Identify the reasons for using process capability studies and the limitations of these studies * Compare the applications of the three types of process capability studies (potential, short term and long term) * Determine whether a process is capable of meeting specified tolerances by using Cp and Cpk indexes * Estimate inherent variability in a process * Use calculations to determine whether a process is centered * Evaluate the potential and short term capability of a process

Welcome to Process Capability Studies. In this lesson, we will cover the following topics: * What is Process Capability? * Pittfalls of Process Capability Studies.
After completing this lesson, you should be able to: * Identify examples of real world situations in which a process capability study could be used * Identify the equations associated with process capability studies * Select the times during the life of a process where a process capability study can be run * Identify the appropriate equation for long term studies vs. single time studies * Select the common pitfalls or limitations associated with conducting a process capability study * Identify the factors that contribute to the limitations of process capability studies * Analyze a scenario that describes a process capability study.
"It is good management to reduce variation of any quality characteristic, whether this characteristic be in a state of control or not, and even when few or no defectives are being produced."
---- Dr. W. Edwards Deming

The intent of this lesson is to prepare an individual for developing a process capability study, analyzing the results from a process capability study and interpreting and using the results from a process capability study.

Welcome to What is Process Capability?

Process capability is generally thought of in terms of long term variation. That is, the total inherent variation that can be expected from a process over a long period of time, such as days, weeks or months.

In this topic, we will look at process capability studies, the preferred method for studying variation in any process

What is Process Capability?
The total variability of a particular characteristic of the product is the net result of the variations of all the factors that influence the process. When the process is operating at an acceptable level, the effects due to these factors are small, random and indistinguishable from one another. When the effects of one or more of these factors are large, they tend to dominate the total variability and, if severe enough, causes out of specification product to be produced. In order to understand these factors, process capability studies are conducted

Process Capability Studies
A process capability study is an analytical method, which can be used to: * Measure the amount of variation in the process over time * Determine if the process is stable with time * Determine if the process is inherently capable of meeting the tolerances * Determine if the process performance is on target * Identify causes of assignable variation

Common Process Situations
Process capability can be better understood by taking a brief look at some common process situations:

We've already talked about what process capability is, now let's look at how process capability is expressed.
The most widely adopted expression for process capability is:
Process capability = ±3Sp (LONG TERM)
This equation is appropriate when the study includes many days. If the study is conducted on only one day or on one shift then the variations due to day o day tolerance will not be included in the estimate of capability.
If the equation Process Capability = ±3Sp is appropriate for multi-day studies, what equation will you use if you have a short and finite amount of time to evaluate the process?
If the study must be concluded in one day or one shift, this equation provides a better estimate:
Process capability = ±4Sp (short term)
Circumstances and time constraints will be the deciding factors when it comes to choosing the best equation for expressing process capability. Take a look at this example:
Bob and Steve are mechanical engineers. They need to conduct two separate process capability studies, but under very different sets of circumstances.
Process capability studies should be run under normal operating conditions with a single set of factors making up the manufacturing process.
Calibration of equipment nt during study should be avoided
Operator should avoid adjusting or changing the process or equipment during the study

Capability studies can be run at various times during the life of the process, including: * Prior to taking delivery of new equipment * After the equipment has been delivered and setup * Just after production begins on new equipment * Just before modifying a process * Just after modifying a process * On an ongoing basis to monitor the performance of the equipment or process * When an out of specification situation is identified and the reasons are unknown
There are several factors, which affect the quality of process capability studies, including: * Sample size * Data collection * Statistical control * Sensitivity to measuring equipment

Process Capability Studies on the Job * Now that you know about when to run process capability studies, let's take a closer look at specific situations you're likely to run into on the job where process capability studies could come in handy.
To design a product, purchase new equipment, judging acceptability ogf equipment
Evaluating a new process
Scheduling workloads and selecting operators
Knowing how and when to run process capability studies in your work environment will go a long way in terms of helping you eliminate variation.

Whether you have an extended amount of time or just one shift, process capability studies can help you deal with variation when it occurs.

Welcome to Pitfalls of Process Capability Studies.

In this topic, you will take a closer look at the pitfalls and limitations inherent to process capability studies. Knowing about the limitations and pitfalls will help you avoid unsuspected trouble.
Common Pitfalls
In the course of conducting a process capability study, there are pitfalls and limitations that must be recognized in order to avoid unsuspected trouble. Process capability study pitfalls and limitations may involve: * Sample size * Time frame * Data collection * Statistical control * Sensitivity of measuring equipment
Sample Size and Time Frame * Let's take a closer look at two common pitfalls of process capability studies: sample size and time frame. How do these two elements impact process capability studies?

Time Frame: It is possible to have a process capability study where insufficient time was allowed for long term variable s or factors to surface. Long term factors include things like tool change, tool or machine wear, machine settings, machine maintenance, raw materials, etc
Sample Size: It is possible to have a process capability study where the sampling is way too narrow and the data does not represent the total process variability. Information factors such as machine number, operator, inspector, and tool number are frequently overlooked.
In addition to time frame and sample size, process capability studies can also be affected by data collection, statistical control and the sensitivity of the measuring equipment.
Measuring Equipment: It is important to be sure that the equipment is sensitive or accurate enough to measure the true performance of the process. It is important to determine, before the study, the sensitivity and accuracy of the intended measuring device.
Data Collection: Data collected by different people who did not record the same kind of information could have a negative effect on a study. The end result is that the data cannot be combined together into a large analysis with any reasonable degree of confidence.
Statistical Control: If the process was not under a state of statistical control, studies on the process will only reveal what has happened today, when the study may be different tomorrow.

You have just learned: * To select the common pitfalls or limitations associated with conducting a process capability study * To identify factors that contribute to the limitations of process capability studies

Lesson Introduction
Welcome to Types of Process Capability Studies. In this lesson, we will cover the following topics: * Process Capability Study Types * Basic Design Layout
After completing this lesson, you should be able to: * Identify the three types of process capability studies * Match the three types of process capability studies to their respective characteristics * Associate basic design layouts with their respective process capability study type * Analyze a scenario about a process capability study and determine its type based on its characteristics and design layout

You're buying a new piece of equipment. Your team will depend on this machine to work efficiently and produce products without down time or costly variation. Though the equipment seems to be what you're looking for, isn't there something you can do to test it?

How do you know the machines on your shop floor are performing up to standard? Is there room to increase efficiency? What about when machines start having trouble and producing variation?

Process capability studies are the answer to all three of these dilemmas. Do you know the various types of process capability studies and when to use each respective type? Do you know how to design and layout a process capability study? This lesson will teach you about the various types of process capability studies and provide a high-level understanding of design layout.

Welcome to Process Capability Types.
There are three types of process capability studies: * Potential studies * Short term studies * Long term studies

Take a look at the three types of process capability studies and how they differ from one another. Click on each study type to learn more about where it can be conducted. * Potential studies * Potential studies are used when there is a very short time frame to assess whether the process or equipment has the inherent capability to meet the tolerances and hit the target. * Can be conducted at either vendor’s site or users site * Short term studies * Short term studies are used to determine whether the process or equipment has the inherent capability to meet the tolerances or hit the target over a period of several shifts or days. * Performed at the users site under normal operating conditions * Long term studies * Long term studies are used to determine whether the process or equipment has the inherent capability to meet the tolerances, hit the target, and to be stable over a period of many days. * Performed at the users site under normal operating conditions

Potential Studies
Let's take a closer look at potential studies. The purpose of a potential study is to determine if the process or equipment has the inherent capability to meet the tolerances and to hit the target during a very short time period, generally, less than a day.
Potential studies are useful for assessing equipment or a process quickly. Potential studies are valuable when you're considering the purchase of a new piece of equipment, or when you've only got a few hours to assess capability.
These engineers are visiting a vendor today to assess a new drill press they're thinking of buying. They are planning on conducting a potential study while they are there. Let's take a look at what they'll do to conduct this potential study. * One run (a batch, a coil, a lot of materials, etc.) is processed. * During the run, at least ten samples or specimens are taken from the beginning, middle, and end of the run.

Short Term Studies
The purpose of a short term study is to determine if the process or equipment has the inherent capability to meet the tolerances and to hit the target over a period of several shifts or days.

Let's take a closer look at how a short term study is conducted.

When a short term study is conducted, several runs (batches, coils, lots of material. Etc) are processed. At least 10 samples are taken from beginning, the middle, and the end of each run. Also the process is studied on at least 3 different days over a 10 day period.

Remember, in a short term study: * Several batches (coils, lots, etc.) are run over three days. * At least ten samples are taken from the beginning, middle, and end of each run. * The process is studied on at least three different days over a ten day period.
What does the design layout for a short term study look like?
Long Term Studies

What is the purpose of a long term process capability study? The purpose of a long term process capability study is to determine if the process or equipment has the inherent capability to meet the tolerances, to hit the target, and to be stable over a period of many days.

A long term study several runs, batches, or coils are processed over at least 30 days. At least 10 samples are taken from the beginning, middle and the end of each run.
Actually, the design layout is similar to that of a short term study, except that the number of days is increased to at least ten days spanning at least thirty working days

Whether you're faced with the need to evaluate the capability of a process in hours, days, or weeks, there is a process capability study type designed to meet your needs.

If you need to determine if the process or equipment has the inherent capability to meet the tolerances and to hit the target during a very short period of time, a potential study will give you the information you need.

If you need to know whether the equipment or process can hit the target over a period of several shifts or days, a short term study may be the study type you choose.

Finally, if you need to know whether a process or equipment can meet the tolerances and hit the targets over a period of many days, a long term study is the optimal choice for you.

Topic Introduction

Welcome to Basic Design Layout.

Each of the three types of process capability studies is associated with a basic design layout. The design layout illustrates the way the study is set up and how and when samples were taken for study.

Whether you're conducting a potential process capability study, a short term study, or a long term study, it is essential that you follow the basic design layout.

Potential Studies

potential process capability study is conducted on one day or one shift. Its basic design layout is quite simplistic.

Based on a minimum of thirty samples (ten from the beginning, ten from the middle, and ten from the end of the batch, coil, or run), the potential study is the fastest type of process capability study to perform

Matt and his lead engineer are preparing to conduct a potential process capability study on a drill press they are thinking of buying for their plant.

When you look at the basic design layout, each X represents the result of a particular quality measure on a single item or specimen.

The basic design layout for potential studies is simple because it is based on one run on one day. In the image on the right, ten samples were taken at the beginning, middle, and end of the run. Keep in mind, however, that it is possible to take more than ten samples when conducting a potential process capability study. If fifteen samples were taken, 15 X's would appear in the basic design layout.
Short Term Studies
In a short term study, the process is studied on at least three different days over a ten day period. On each day, several runs, batches, or coils are studied.

This graphic shows the design layout for a short term study where three runs were studied on three different days.

Note that for this short term study, a total of 270 samples were taken.

Because a short term study involves multiple runs, over multiple days, and significantly more samples than a potential study, the design layout is more complex.

The example on the right shows ten samples or specimens taken at the beginning, middle and end of each run. Keep in mind, however, that ten is the minimum number of samples that can be taken from each respective section of the run. If the person performing the study feels it is warranted, more than ten samples may be taken.

Long Term Studies
The design layout for long term process capability studies is the most complex. Because long term studies look at a minimum of ten samples from the beginning, middle, and end of several runs on at least ten days, spread over a thirty-day time period, the basic design layout is quite long.

Actually, the basic design layout for a long term process capability study is fundamentally the same as that of a short term study. The primary difference is the extended number of days.

Lesson Introduction
Welcome to Process Capability Indexes. In this lesson, we will cover the following topics: * Performance Measures * Cp Index * Cpk Index * Using Cp and Cpk Indexes
After completing this lesson, you should be able to: * Match the three performance measures with their respective uses * Determine whether a process is capable of meeting specified tolerances by using Cp * Determine whether a process is capable of meeting specified tolerances by using Cpk * Apply the Cp and Cpk indexes to determine whether a process is capable when presented with a real-life scenario

Welcome to Performance Measures.
In this topic you will: * Identify the three performance measures or acceptance criteria associated with process capability studies * Match the three performance measures with their respective uses

Capability Indexes * Generally, there are three performance measures or acceptance criteria associated with process capability studies. The three are:
Capability
* is the ability of the process to meet customer specifications consistently. It is measured by estimating process capability indexes (i.e., Cp and Cpk).
Centering
* is a measure of the average performance of the process. It represents the ability of the process to hit the target or the nominal value specification range.
Stability
* is a measure of the consistency of the process with time. That is, is the process in a state of statistical control through time? Stability is estimated by comparing the total process variability and the inherent process variability.

Process Capability
The best way to judge the ability of a process to meet the tolerances is to compare ±3Sp to the product tolerances.
If ±3Sp is less than the product tolerances, then the process is capable of meeting the tolerances. If ±3Sp is greater than the product tolerance, than the process is not capable of meeting the tolerances.
Welcome to Cp Index.
In this topic you will:
Recognize the equation for Cp
Determine whether a process is capable of meeting specified tolerances by using Cp
Capability Indexes
To better understand this relationship between process capability and the product tolerance, several capability indexes have been developed. Two common capability indexes are: * Cp * Cpk * Cp is a ratio between the product tolerance range and the process capability. * Cpk is a ratio between the estimated process spread and the tolerance range. Cpk has an added feature of taking into consideration how close the process mean is to the nominal value.

Cp * The first capability index used is Cp. Cp is simply a ratio between the product tolerance range and the process variation. This ratio can be expressed as follows:

Cp= Tolerance Range/6Sp

To demonstrate the expression, consider the following example:
Dale conducted a process capability study on a cutting process. The product specification is 5.285 ± 0.005 inches. The estimated process variation of the process is Sp = 0.001. Therefore, given the equation:
Cp = Tolerance range / 6Sp
Cp = 0.010 / 6(0.001) = 1.67
Capability Guidelines
The following guidelines can be used to determine whether or not a process is capable of meeting tolerances when Cp is used. * If Cp is equal to or greater than 1.33, then the process is more than capable. * If Cp is less than 1.33, but equal to or greater than 1.0, then the process is capable, but must be closely controlled. * If Cp is less than 1.0, then the process is not capable.

Topic Introduction
Welcome to Cpk Index.
In this topic you will: * Recognize the equation for Cpk. * Determine whether a process is capable of meeting specified tolerances by using Cpk.
The Cpk Index * The Cpk Index is sometimes referred to as the Ford method because it is used extensively by the Ford Motor Company. * The Cpk index is similar to the Cp index because it is also a ratio between the estimated process spread and the tolerance range. However, it has the added feature of taking into consideration how close the process mean is to the nominal value. The general formula for the Cpk index is:
CPK=(z min)
Z1= (USL –X)/3s - USL – Upper Spec Limit, X – The process mean, S – standard deviation when in a state of control
Z2- (x-LSL) /3s - LSL – lower spec limit
Determining Capability
When using the Cpk index, the capability of the process is determined by the following guidelines: * If Cpk is equal to or greater than 1.3 than the process is considered very capable. * If Cpk is equal to or greater than 1.0 and less than 1.3, then the process is considered capable if it is closely monitored. * If Cpk is less than 1.0, then the process is considered not capable.

Topic Introduction\
Welcome to Using the Cp and Cpk Indexes. In this topic you will: * Recognize rules and standards for using Cp and Cpk * Apply the Cp and Cpk indexes to determine whether a process is capable when presented with a real-life scenario Using the Capability Indexes * The Cpk index should be used with the Cp index. The Cp index only takes into account the amount of variation in the process, while the Cpk takes into account where the process mean is located with respect to the target and the process variability.
About Cp and Cpk
Remember the following key points when using the Cp and the Cpk indexes: * Cp and Cpk can only be calculated for processes that are in control. * Cpk is always less than or equal to Cp. Capability: Cp and Cpk in Action
Cp and Cpk used together reveal important insights regarding the capability of the process.
Click on each of the items below to learn what each situation reveals about the capability of a process.
Cp = Cpk = 1.0 - Cp = Cpk = 1.0 indicates that the process is just able to meet the specifications (the process is producing 0.27% non-conforming components on the average)
Cpk > 1.0 - Cpk > 1.0 indicates that the process is capable of meeting the specifications.
Cpk < 1.0- Cpk < 1.0 indicates that the process is not capable of meeting specifications.
Cp and Cpk in Action (cont.)
Cp and Cpk values reveal important information about where a process is centered
Cp = Cpk only when the process mean is centered at the center of the specifications.
Cpk = 0 whenever the process mean is centered at either the upper specification limit or the lower specification limit.
Cpk < 0.0 indicates that the process mean is centered either below the lower specification limit or above the upper specification limit.

Testing for Normality * Testing for normality is the second step when assessing process capability. This step is very important. If the process does not follow a normal distribution, then other statistical techniques must be used to evaluate the process. * To determine if the process follows a normal distribution, formal or informal statistical techniques can be used. The informal techniques are: * Drawing histograms * Probability plots

Formal Techniques
When testing for normality, it is necessary to use statistical software. There are many programs available. The formal techniques for testing for normality include:
An Anderson-Darling Test is used to confirm that a data set comes from a specified distribution.The Anderson-Darling test makes use of the specific distribution in calculating critical values. It has the advantage of allowing a more sensitive test and the disadvantage that critical values must be calculated for each distribution

The Lin-Mudholkar test is a statistical test used to test for normal distribution in a process

The Shapiro-Wilk Test tests whether a random sample comes from (specifically) a normal distribution

The Chi Square test is used to test if a sample of data came from a population with a specific distribution.

Detecting Normality
If sufficient data has been collected (over fifty data points), the informal techniques are very effective for detecting lack of normality. Some of the SPC software packages on the market have routines for testing for normality, which can be very helpful.
Topic Introduction

Welcome to Inherent Variability. In this topic you will: * Estimate inherent variability by calculating the standard deviation * Identify alternative ways for estimating inherent variability

Estimating Inherent Variability for Normal, Stable Distributions
If the underlying distribution of a process is normal and the process is stable, (that is, in a state of statistical control) with time, then the inherent variability (Sp) can be estimated by calculating the standard deviation of all the data problems with Estimating Inherent Variability
If the underlying distribution of the process is not normal or if the process is not stable with time, then the inherent variability (Sp) cannot be estimated by calculating the standard deviation of all data.
Estimating Inherent Variability in Non-normal & Unstable Distributions
How do you estimate inherent variability when the underlying distribution of a process is not normal or when the process is not stable with time? Since you cannot rely on calculating the standard deviation, a more flexible method is needed.

Control charts for the range or control charts for standard deviation can be used.

Using Control Charts
Control charts for the range can be used to estimate the inherent variability since subgroup ranges reflect the process variability. The following steps are used when using the control chart for ranges method:
Step 1 – Select the appropriate subgroup size (generally 4-5)
Step 2 – Maintaining the time order of the data, divide the data into subgroups
Step 3 – Calculate the range (r) for each subgroup
Step 4- Plot the range in time sequence
Step 5 – Calculate the average range

Potential studies are usually performed on a single shift using one production run. They do not evaluate: * Long term capability of the process * Long term stability of the process Samples * Achieving the objectives of a potential process capability study requires that at least thirty measurements be taken from the run for the characteristic of interest. * This means that samples should be taken from the entire run (beginning, middle, and end) in order to obtain a representative picture of the performance of the process.
Design Layout * Here's a quick review on the design layout of a potential process capability study: * * If a potential process capability study requires at least thirty samples taken from the beginning, middle, and end of the run, what does the design layout look like?

Evaluating Potential Studies
To evaluate the potential process capability, follow these steps: * STEP 1: Plot the data in time sequence * STEP 2: Evaluate the data for normality * STEP 3: Determine if the process is in control * STEP 4: Estimate the inherent variability * STEP 5: Determine capability and ability to hit the target by calculating a capability index

Topic Introduction

Welcome to Using Potential Process Capability Studies.
In this topic you will: * Evaluate the potential capability of a process when presented with an example. * Apply the five steps to evaluate the capability of a potential process described in a case study

Evaluating Potential Capability
How do you evaluate the potential capability of a process? Take a look at the following example:

Ken, a process engineer, wanted to determine the potential capability of a waxing process. He decided to evaluate several coils produced by the process over a short period of time. The four coils were sampled in ten different locations along the length of each coil.

At each location, a full width specimen was taken and sent to the laboratory for testing. All the specimens were taken from the center of the sheet. The process specification is 15±3 mg/foot. The results of the study were as follows:

Step One
Follow along as Ken applies the five steps for evaluating the potential capability of a process.
The first step, when evaluating the potential capability of a process, is to plot the data in a time sequence.
The image below is the time sequence plot Ken created from his test results.
A time sequence plot represents a record of the process over time and can give a clear picture of the performance of the process with time. It can indicate if the process is stable. It can also show when trends or sudden shifts in the average performance occurred and what direction the trends or sudden shifts took. In addition, time sequence plots permit the engineer or production supervisor to determine sources of variations affecting the process.

Step Five
The final step is to determine capability and ability to hit the target by calculating a capability index.
Since the distribution is normal in Ken's waxing process, the process capability is:
±3Sp= ±3(1.21) =±3.66

Lesson Introduction

Welcome to Analyzing Process Capability.
In this lesson, we will cover the following topic: * Short Term Study Analysis

Welcome to Short Term Study Analysis.
In this topic you will: * Evaluate the short term capability of a process when presented with a case study

Short Term Studies * How do you go about conducting a short-term process capability study? Take a look at the following example: * Ed wants to determine the process capability of a cutter. The product characteristic is width and the product specification is 16 ± 2.00 inches. The process was evaluated on five different days. On each day, at least two runs were looked at and five consecutive items were measured from each run.
Conducting the Study
The steps used when conducting a short-term process capability study are the same as the steps used when conducting a potential process capability study. In a short-term study, there is more data to collect and interpret. The steps are: * Plot the data in time sequence * Evaluate the data for normality * Determine if the process is in control * Estimate the inherent variability * Determine capability and the ability to hit the target by calculating a capability index

For the Range control chart, all points are within the control limits.

For the X-Bar control chart, all points are within the control limits.

Therefore, it can be concluded that during the study, the process was in statistical control.
Step Four
The fourth step is to estimate the inherent variability for the cutting process.
The inherent variability can be estimated from the range control chart since the process is in a state of statistical contro

With a Cpk index of 0.69, it can be concluded that the cutting process Ed set out to study is not capable of meeting the product tolerances. The problem appears to be a variability issue rather than a location issue.

Remember, process capability is a measure of the ability of a process to produce to the requirements. Process capability indexes measure the relationship between actual process performance and the expectations of the process.

Remember too that regardless of the type of study you are planning on conducting, prior planning is needed in order to minimize the influence of any extraneous variables and to maximize the obtainable information.

Similar Documents

Premium Essay

Os Final

...Who is the creater of CP/M? [Kildall] Who is the head of the Multics project. [Carbato] Which OS’s process scheduler reduces priority and increases quantum. [CTSS] Which one is the difference between a semaphore and monitor. [Last choice] If a system has 16 drives and each process can have 4 drives. What is the maximum number of n that the system is deadlock free. [5] Given the sequence below which processes will cause a page fault. (for FIFO – LRU) Write a loop that would create 10 child processes. (No more than 10). If a file is shared by two processes, can have read-only and the other read-write access. If yes how, if not what prevent it. What are some of the security features in UNIX or NT. How does NTFS directory system work. How does UNIX directory system work. Pick a Unix UNIX process scheduler and explain how (not why or when) it favors I/O bound processes to CPU bound processes. Explain and compare I/O software (programmed, interrupt, DMA). What is the problem with RAID4 and explain how RAID5 solves the problem. Disk arm scheduling algorithms readuce read time but what does Linux additionally do. How does Workingset Clock algorithm work. If seektime is 8msec and each track is 160KB. What is the access time to read 4KB. Couffman listed four requirements for a deadlock. Describe fourth one and how to prevent it. What are the advantages of inverted page tables. What is a soft link. Implement soft link and hard links...

Words: 278 - Pages: 2

Free Essay

Comp3511 Hw1 Solution

...Fall 2011 COMP 3511 Homework Assignment #1 Solution Handout Date: Sept. 22, 2011 Due Date: Oct. 6, 2011 Name: ______________ ID: ___________________ E-Mail: _____________ COMP 3511 L __ Please read the following instructions carefully before answering the questions:  You should finish the homework assignment individually.  There are a total of 4 questions.  When you write your answers, please try to be precise and concise.  Fill in your name, student ID, email and Section number at the top of each page. Submissions without this information will be discarded.  Please fill in your answers in the space provided, or you can type your answers in a Word file.  Homework Collection: the hardcopy is required and the homework is collected at the collection box (#6, #7) or in class. (22 points) Please answer the following question in 2-3 sentences 1) (8 points) What is the benefit of Direct Memory Access (DMA)? Is interrupt still needed when a DMA is used? Can DMA operations possibly interfere with CPU operations? 1. Answer: This frees up the CPU during I/O operation, so the CPU can be better used; Or to improve the CPU utilization (3 points). Interrupt is still needed when the DMA operation is completed in order to inform the CPU (2 points). If a DMA and CPU access memory at the same time, it can interfere with each other (3 points). 2) (4 points) Why is it necessary to separate user mode and kernel mode? Answer: This provides some level of protection so that user programs...

Words: 1136 - Pages: 5

Free Essay

Swear as Mechanism to Pain

...Chapter 2 OPERATING SYSTEM CONCEPTS SYS-ED/ Computer Education Techniques, Inc. Solaris System Administration: Introduction Operating System Concepts Objectives You will learn: • Operating system components. • Solaris usage of processes. • File management and file systems. • Use of the Solaris Management Console. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (Solaris – System Admin: Intro - 6.5) Ch 2: Page i Solaris System Administration: Introduction 1 Operating System Concepts Operating System: Definition An operating system is the set of programs that controls a computer. The core of the operating system is the kernel. The kernel is a control program that functions in privileged state that allows all hardware instructions to be executed. It reacts to interrupts from external devices and to service requests and traps from processes. The kernel creates and terminates processes and responds to requests for service. Operating systems are resource managers. The main resource is computer hardware in the form of processors, storage, input/output devices, communication devices, and data. Operating system functions include: • Implementing the user interface. • Sharing hardware among users. • Allowing users to share data among themselves. • Preventing users from interfering with one another. • Scheduling resources among users. • Facilitating input/output. • Recovering from errors...

Words: 2421 - Pages: 10

Premium Essay

Case Study Vodacom

...UNDERSTANDING THREADS Simply put, a thread is a program's path of execution. Most programs written today run as a single thread, causing problems when multiple events or actions need to occur at the same time. Let's say, for example, a program is not capable of drawing pictures while reading keystrokes. The program must give its full attention to the keyboard input lacking the ability to handle more than one event at a time. The ideal solution to this problem is the seamless execution of two or more sections of a program at the same time. Threads allow us to do this. A process is essentially a "heavy" unit of multitasking: as an approximation, think of it as an "application" (though it can include 'background' or 'system' processes such as your battery monitor, mouse and keyboard server, PDA synchronization tool etc). A thread, on the other hand, is a more "lightweight" unit.  Threads are can be seen essentially sub processes. Informally, we can think of them as tasks that belong to a program and that can run "simultaneously". For them to run simultaneously, each of these two tasks will run in a separate thread. Depending on the number of CPUs available and the number of competing threads, some of those threads actually will run in parallel on different CPUs, whilst in other cases the illusion of simultaneous execution will be achieved by "juggling" threads in and out of the available CPUs. A part of the OS called the thread scheduler takes care of deciding...

Words: 1652 - Pages: 7

Premium Essay

Pm 586

...Chris and Pat Smith, and Martin and Miller decided it was best to have a termination contact set in place to secure all partakers in their final decisions. They noted it was best for all to have precise, clear explanations all of all essential fundamentals for the termination of their business partnership. An acknowledgement of the effective termination date would need to be set, and all potential risks, if any, should be stated for all parties. The owners and the chefs would meet for a period of 30 minutes and try to dissolve their partnership. The owners and the chefs blame each other for the failure of At Your Service; however, all partakers should act as responsible, mature adults during the meeting. It would speed up the termination process; especially if all partakers can...

Words: 368 - Pages: 2

Premium Essay

Case Study

...Case Study Tresa Jellison HCS/483 November 12, 2012 Dr. Kaderie Case Study The basic IT implementation process is the whole process of setting up and running an IT based program for a company. It starts from the beginning to the end of the process and throughout the whole process even after the last step has been taken. You have the planning stage, and this will include what exactly what you are looking for and what you want the program to do and how it will operate. Who will be using this program and who will it be beneficial to. You will have to go and get bids or quotes from companies that can provide this type of service. Depending on what is being implemented you have to do weeks, months and even years of research to ensure that the program will benefit everyone involved and that time and money is not being wasted. A lot of the things that were done are this analysis did not follow the fundamentals of implementation. During the execution of the program there where many bugs that had to be fixed that could have been prevented if the right questions and queries where ran before going live. There should have been a trial or practice run before the whole system went live. And they should have not done it at all of the sites. Only a couple of the sites should have had the program and should have been using it to get the bugs out. There were way off budget and there were a lot of hidden details that should have been reported. At least this way there would have...

Words: 581 - Pages: 3

Free Essay

Lab 4.1: Using Linux Command-Line Basics

...Labs Lab 4.1: Using Linux Command-Line Basics What is the purpose? This lab demonstrates how to redirect data from a process and how to identify and kill a process. What are the steps? • Task 1: Redirecting and piping standard output Procedure 1. Obtain a list of files from the home directory, including the hidden files. Redirect the output to a file named Listing by using the ls -a > listing command. 2. Obtain a long list of files, including the hidden files, and append the output to the same file. 3. Use the cat listing | less command to view the file and pipe the output to less. 4. Use the cat command to view the file again. However, this time, pipe the output to lpr to print the file. 5. Redirect the output of ls to the special file /dev/null. What happens? It’s redirected to dev/null Why? It’s null. • Task 2: Putting tasks in the background and terminating the job Procedure 1. Use the tail –f command to view your listing file from the previous task. The –f option tells tail to follow changes; therefore, the file will continue to run this command until you cancel the command by pressing Ctrl+C. Put the file in the background using the tail -f listing & command. You may need to press Enter again to view the command prompt. 2. Put the process in the background and display the prompt again. Run the top command in the foreground. This will provide you a list of your top 20 processes by CPU usage. Put this list in the background and stop it by pressing...

Words: 780 - Pages: 4

Free Essay

Unix/Linux vs. Mac vs. Windows

...are compared. Process Management, File Management, Memory Management, and Security are going to be compared between Windows, Linux, UNIX, and Mac operating systems. Every operating system is different and is interesting to see how every piece of software has the same outcome but has different procedures in between. Process management is defined as how the OS manages multiple programs running at the same time. A thread is a feature of an OS that enables parallel processing within a single process. UNIX, Windows, and Mach are all multitasking systems that support both processes and threads. They can be compared in several respects with regard to the process management features. When executing a program on UNIX, the system creates an environment for that program. In this setting there is everything needed to execute that program. The OS tracks processes though a five digit number Recognized as the Process ID. Each process has its own unique PID. PID’s ultimately repeat because all the probable numbers are used, and the next PID repeats the system again. At any time, no two Processes with the same PID occur in the system, because it is the PID that UNIX uses to track its processes. Each UNIX process has two ID numbers. The PID or process ID, and PPID or Parent process ID. Each user process in the system has a PPID. Normally, when a child process is killed, the parent process is told by a SIGCHLD signal. Then the parent can do another task, or restart a new process as needed. When...

Words: 452 - Pages: 2

Premium Essay

Synthesis Essay

...When being ask a question in today’s society, the automatic answer or reaction in order find a solution would be through the use of technology. We as the people have grown dependent on the world of the Internet, the accessibility of our phones and uses of clocks. A thought that we find hard to comprehend is that just about thirty years ago some of these tools did not exist. How has technology affected our minds and the way we think or even process information? Can we say we have turned our brains into a living computer, or are so dependent on outside answers that we have stopped thinking for ourselves? Now and days we have entered a state of obliviousness on how little knowledge and wisdom we truly have. It is very interesting to think about on how technology especially the television could affect our attention span and the information that is being given to us. In Postman’s “Amusing Ourselves to Death” he states a precise point “the average length of a shot on network television is only 3.5 seconds, so that the eye never rests, always has something to see” (86). This statement alone shows and proves on how peoples attention span is constantly shifting and changing focus to see what else is there is to see or what is next to come. As the Internet becoming more useful to people, written stories or narratives are becoming more extinct. In the article “The Transition to Digital Journalism” the author Paul Grabowicz’s stated, “Younger people in particular are said...

Words: 1235 - Pages: 5

Free Essay

Linux

...SYSTEM Thread of execution is the smallest sequence of programmed instructions that can be managed independently by an operating system scheduler. The scheduler itself is a light-weight process. The implementation of threads and processes differs from one operating system to another, but in most cases, a thread is contained inside a process. Multiple threads can exist within the same process and share resources such as memory, while different processes do not share these resources. In particular, the threads of a process share its code and its context . On a single processor, multithreading is generally implemented by time-division multiplexing (as in multitasking): the processor switches between different threads. This context switching generally happens frequently enough that the user perceives the threads or tasks as running at the same time. On a multiprocessor or multi-core system, threads can be truly concurrent, with every processor or core executing a separate thread simultaneously. Many modern operating systems directly support both time-sliced and multiprocessor threading with a process scheduler. The kernel of an operating system allows programmers to manipulate threads via the system call interface. Some implementations are called a kernel thread, whereas a lightweight process (LWP) is a specific type of kernel thread that shares the same state and information. Threads are created like normal tasks, with the exception that the clone() system call...

Words: 993 - Pages: 4

Free Essay

Os Study Guide

...COMP3361 Operating Systems I Mid-­term Review and Study Guide Basic Concepts: What is an operating system? A program that acts as an intermediary between a user of a computer and the computer hardware - basic functions? 1.) OS is a resource allocator 2.) manages all resources 3.) decides between conflicting requests for efficient and fair resource use 4.) OS is a control program 5.) controls execution of programs to prevent errors and improper use of the computer 6.) a program running at all times on the computer, usually called the kernel 7.)everything else is either a a.) system program: associated with the OS but not part of the kernel b.) application program: not associated with the OS user/kernel modes of operation? 1.) The operating system must ensure correct operation of the computer system. To prevent user programs from interfering with the proper operation of the system, the hardware has two modes: user mode and kernel mode. Various instructions (such as I/0 instructions and halt instructions) are privileged and can be executed only in kernel mode. 2.) Kernel Mode In Kernel mode, the executing code has complete and unrestricted access to the underlying hardware. It can execute any CPU instruction and reference any memory address. Kernel mode is generally reserved for the lowest-level, most trusted functions of the operating system. Crashes in kernel mode are catastrophic; they will halt the entire PC. 3.) User Mode In User mode...

Words: 2427 - Pages: 10

Free Essay

Littlefield

... 5 | donothing | 588,054 | 6 | mas001 | 472,296 | Exhibit 1 : OVERALL TEAM STANDING Decisions Made A summary of the rationale behind the key decisions made would perhaps best explain the results we achieved. . Decision 1 Day | Parameter | Value | 54 | station 1 machine count | 2 | When the exercise started, we decided that when the lead time hit 1 day, we would buy one station 1 machine based on our analysis that station 1 takes the longest time which is 0.221 hrs simulation time per batch. (Exhibit 2: Average time per batch of each station). As day 7 and day 8 have 0 job arrivals, we used day 1-6 figures to calculate the average time for each station to process 1 batch of job arrivals. Base on the average time taken to process 1 batch of job arrivals, we were able to figure out how many batches each machine can handle. day | number of jobs arriving each day | utilization of station 1, averaged over each day | utilization of station 2, averaged over each day | utilization of station 3, averaged over each day | 1 | 2 | 0.433 | 0.079 | 0.019 | 2 | 2 | 0.272 | 0.158 | 0.108 | 3 | 1 | 0.398 | 0.106 | 0.165 | 4 | 0 | 0 | 0.052 | 0 | 5 | 2 | 0.33 | 0.079 | 0.06 | 6...

Words: 1324 - Pages: 6

Free Essay

The Worst Discipline

...children are constantly disobedient, acting out at school or in public places, it makes the parent look bad and feel bad. At times, an anxious child likes to stick things in his or her pockets that do not belong to him or her or the child do not like to share things, when the time is appropriate. When out of control a child tends to talk back often trying to push the parent’s limits. After being loud, out of control and defiant continuously after being warned about a problem or punished in a less severe way repeatedly before actually being spanked, If the child still does not want to be obedient after the necessary steps have been taken then they should receive a more severe discipline such as a spanking. The process of spanking is a very agonizing and tormenting process. The child would suffer first by being forced to listen to a long lecture, instead of just receiving the spanking. Knowing what was coming after the speech brought a lot of fear and anxiety. It felt as if his or her stomach started cramping and his or her heart's would stop pumping at any moment during the lecture. As the time approached for the spanking, fear and nervousness grew rapidly .The...

Words: 588 - Pages: 3

Free Essay

1111

...OPNET Modeler核心函数 目录 1. 核心函数简介 3 1.1 命名规则 3 1.2 参数类型 3 1.2.1 Animation Entity 4 1.2.2 Boolean 4 1.2.3 Compcode 4 1.2.4.Distribution 4 1.2.5 Event Handle 4 1.2.6 Statistic Handle 4 1.2.7 ICI 4 1.2.8 List 5 1.2.9 Object ID 5 1.2.10 Packet 5 1.2.11 Memory Object Type 5 1.2.12 Log Handle 5 1.2.13 Procedure 5 1.2.14 Process Handle 5 1.2.15 Sar Buffer Handle 5 1.2.16 Vartype 6 1.3 多线程安全 7 2. 基本核心函数 7 2.1 内部模型访问函数集 7 2.2 分布函数集 10 2.3 进程函数集 12 2.4 事件函数集 15 2.5 仿真函数集 16 2.6 鉴定函数集 17 2.7 拓扑函数集 18 2.8 接口控制信息函数集 23 2.9 中断函数集 26 2.10 包函数集 31 2.11 子队列函数集 38 2.12 统计量函数集 40 1. 核心函数简介 1.1 命名规则 OPNET中的核心函数具有非常标准的命名规则,以增强函数在C/C++代码中的可视性,避免名称与非OPNET函或变量冲突。以下列出了一些简单的命名规则: 名称均采用op_作为前缀,以标识其为OPNET仿真内核提供的核心函数。 函数名的第二部分为函数集名,用小写字母表示,通常是函数所处理对象的名称缩写,如pk、ici、stat等。 函数名的第三部分是子函数集名,对核心函数进一步进行了分类,如核心函数op_pk_nfd_set()中的nfd。 核心函数主要用于对对象的操作。在函数名中,对象总是出现在动作之前,比如名称中的attr_set和subq_flush就将对象(attribute和subqueue)放在动作(set和flush)之前。 1.2 参数类型 大部分核心函数的参数和返回值都是标准的C/C++数据类型,如int、double、char*。除此之外,在仿真数据结构中还通过C/C++的typedef语句定义了许多参数和返回值作为特殊的OPNET数据类型。尽管用户通过核心函数来操作OPNET数据类型,可能对每个数据类型的基本内容都越来越熟悉,但用户并不需要关心数据类型确切的内部结构,因为OPNET仿真数据结构的内容因软件版本的不同而有所改变。表1-1列举了部分特殊的数据类型。 表1-1 OPNET中部分特殊数据类型 |基本数据类型 |声明示例 ...

Words: 4240 - Pages: 17

Free Essay

Soy Full O Chick

...called a process. Some operating systems use the term ‘task‘ to refer to a program that is being executed. A process is always stored in the main memory also termed as the primary memory or random access memory. Therefore, a process is termed as an active entity. It disappears if the machine is rebooted. Several process may be associated with a same program. On a multiprocessor system, multiple processes can be executed in parallel. On a uni-processor system, though true parallelism is not achieved, a process scheduling algorithm is applied and the processor is scheduled to execute each process one at a time yielding an illusion of concurrency. Example: Executing multiple instances of the ‘Calculator’ program. Each of the instances are termed as a process. Thread: A thread is a subset of the process. It is termed as a ‘lightweight process’, since it is similar to a real process but executes within the context of a process and shares the same resources allotted to the process by the kernel. Usually, a process has only one thread of control – one set of machine instructions executing at a time. A process may also be made up of multiple threads of execution that execute instructions concurrently. Multiple threads of control can exploit the true parallelism possible on multiprocessor systems. On a uni-processor system, a thread scheduling algorithm is applied and the processor is scheduled to run each thread one at a time. All the threads running within a process share...

Words: 292 - Pages: 2