Premium Essay

Memory Access

In:

Submitted By sunnyday88
Words 378
Pages 2
Direct memory access
Anthony Ou
355
3/5/2013
Castle Phelps

Direct Memory Access
Should DMA access to main memory be given higher priority than processor access to main memory?
I believe the direct memory access should have the main priority access to main memory over the processor. Direct memory access is feature of computer hardware that allows devices to gain access to the main bus linking the processor to the system memory. Direct memory access moves data directly between the main memories or to another part of the system independently. Direct memory access can transfers memory a lot quicker than the processor itself. The processor must wait for the peripheral to respond in order to transfer any byte or words while the direct memory access directly has access and communicate with the peripheral to transfer the data.

* What is the purpose and technique of DMA logic?

Direct memory access allows some of the hardware sub-systems to access system memory independently of its CPU. Without direct memory access, when the CPU is using input/output programs, it is typically occupied by the full duration of the read or write operation, and it cannot perform other work. With direct memory access, the CPU can initiates the transfer and does other operations while the transfer is in progress, and will be interrupted by the controller of the direct memory access when the operation is completed. Direct memory access is useful when the CPU could not keep up with the data transfer rate, and while the CPU needs to perform other useful work while waiting for a slow input and output data transfer. Many hardware systems use direct memory access such as disk drive controllers, graphics cards, and network cards. Computers that have direct memory access channels can transfer data from or to devices with much less CPU overloading than computers without a direct memory

Similar Documents

Free Essay

Random Access Memory (Ram)

...Random access memory •  Sequential circuits all depend upon the presence of memory. –  A flip-flop can store one bit of information. –  A register can store a single “word,” typically 32-64 bits. •  Random access memory, or RAM, allows us to store even larger amounts of data. Today we’ll see: –  The basic interface to memory. –  How you can implement static RAM chips hierarchically. This is the last piece we need to put together a computer! •  Random Access Memory 1 Introduction to RAM •  Random-access memory, or RAM, provides large quantities of temporary •  storage in a computer system. Remember the basic capabilities of a memory: –  It should be able to store a value. –  You should be able to read the value that was saved. –  You should be able to change the stored value. A RAM is similar, except that it can store many values. –  An address will specify which memory value we’re interested in. –  Each value can be a multiple-bit word (e.g., 32 bits). We’ll refine the memory properties as follows: A RAM should be able to: - Store many words, one per address - Read the word that was saved at a particular address - Change the word that’s saved at a particular address •  •  Random Access Memory 2 Picture of memory •  You can think of computer memory as being one big array of data. –  The address serves as an array index. –  Each address refers to one word of data. You can read or modify the data at any given memory address, just like you can read...

Words: 2020 - Pages: 9

Premium Essay

Identifying the Operating System

...I currently own a Dell laptop computer which currently uses Windows 8.1 for the operating system. There are a few new features to this service pack. From some of the people that I have talked to about this I have been told that there really isn’t much difference but here is what I have found. The Power and Search buttons on the Start screen are now a little bit different. “These buttons appear in the upper-right corner of the Start screen next to your account picture. You'll be able to quickly and easily shut down your PC or search for things right from Start (Some types of PCs don't have the Power button on Start. You can shut down your PC using the Power button in the Settings charm instead.)” (http://windows.microsoft.com/en-us/windows-8/whats-new). “All open and pinned apps appear in the taskbar. If you like using the desktop, you'll see both desktop apps and apps from the Windows Store in your taskbar when they're running. You can also pin any app to the taskbar so you can quickly open or switch between apps from the desktop.” (http://windows.microsoft.com/en-us/windows-8/whats-new). You can also get to the taskbar from anywhere or go to the desktop to sign in instead of the Start screen.” If you spend more time in the desktop, you can sign in (boot) directly to the desktop instead of the Start screen. And if you want to sign in to Start instead, you can change this setting at any time.” (http://windows.microsoft.com/en-us/windows-8/whats-new). One of the other features...

Words: 656 - Pages: 3

Free Essay

Comp3511 Hw1 Solution

...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 can only run in user mode, with limited access to resources. 3) (6 points) Can you name three benefits of using virtual machine? Answer: Software emulation of an abstract machine, programming simplicity, fault isolation (e.g., easy debugging as errors cannot crash the whole machine), protection and portability (e.g., Java across many platforms).   4) (4 points) Please name one...

Words: 1136 - Pages: 5

Free Essay

Somery of the Fall

...CompTIA A+ Certification Exam Objectives EXAM NUMBER: 220-901 About the Exam Candidates are encouraged to use this document to help prepare for CompTIA A+ 220-901. In order to receive the CompTIA A+ certification, you must pass two exams: 220-901 and 220-902. CompTIA A+ 220-901 measures the necessary skills for an entry-level IT professional. Successful candidates will have the knowledge required to: • Assemble components based on customer requirements • Install, configure and maintain devices, PCs and software for end users • Understand the basics of networking and security/forensics • Properly and safely diagnose, resolve and document common hardware and software issues • Apply troubleshooting skills • Provide appropriate customer support • Understand the basics of virtualization, desktop imaging and deployment These content examples are meant to clarify the test objectives and should not be construed as a comprehensive listing of all the content of this examination. EXAM ACCREDITATION CompTIA A+ is accredited by ANSI to show compliance with the ISO 17024 Standard and, as such, undergoes regular reviews and updates to the exam objectives. EXAM DEVELOPMENT CompTIA exams result from subject matter expert workshops and industry-wide survey results regarding the skills and knowledge required of an entry-level IT professional. CompTIA AUTHORIZED MATERIALS USE POLICY CompTIA Certifications, LLC is not affiliated with and does not authorize, endorse or condone...

Words: 4474 - Pages: 18

Free Essay

System Performance

...Performance How do fragments do and can affect your file and disk performance? The impact of fragmentation on system performance differs based on the usage of the fragmented files. For example, a single infrequently used Microsoft Office document is unlikely to have an impact on overall system performance. However, fragmentation of a paging file, which provides virtual memory to all applications on a system, will likely have a more noticeable impact. Desktop Storage • Storing files downloads and programs on your desktop will affect the performance of your computer. Spyware • Spyware is another major factor affecting computer performance. Spyware is malicious software that attaches itself to your computer in various ways to advertise, monitor your Internet behaviors or collect personal information. System Registry • All Windows computers have a system registry that stores the settings of all software and hardware on the computer. The accumulation of these unused files will affect the performance of your computer. Disk Space • Every time you visit a Web pages through your Web browser the page is cached for easy access the next time you visit the page and a temporary Internet file is created on your computer. These files over time can clutter your hard drive and affect the performance of your computer. While there is little dispute among IT professionals regarding the impact of disk fragmentation on system performance, no independent guidelines exist to recommend the frequency...

Words: 767 - Pages: 4

Free Essay

100% Correct Answer

...4. Explain the role of each of the following in determining the speed of a computer: RAM Clock speed Data on hard disk Data on CD ROM Data on floppy disk RAM - As a computer processes data and instructions, it temporarily stores information internally, usually on silicon random-access memory, or RAM, chips--often called semiconductor memory. Usually mounted on the main circuit board inside the computer or on peripheral cards that plug into the board, each RAM chip may consist of as many as 16 million switches, called flip-flop switches that respond to changes in electric current. Each switch can hold one bit of data: high voltage applied to a switch causes it to hold a 1; low voltage causes it to hold a 0. This kind of internal memory is also called read/write memory. http://en.wikipedia.org/wiki/Random_access_memory Every computer processor includes an oscillator that operates at a certain number of pulses per second. These pulses set the tempo for the processor; in most cases, a processor executes one or more instructions per clock cycle. Clock speeds are usually measured in millions of cycles per second (megahertz) or billions of cycles per second (gigahertz). Average processor clock speeds have gone up quite a bit over the past 10 years. As recently as 1990, a high-performance IBM 8088 processor ran at less than 5MHz. Today, processors from Intel and other vendors routinely run well over 3GHz. http://en.wikipedia.org/wiki/Clock_speed Computer data is frequently...

Words: 327 - Pages: 2

Free Essay

Test

...Basic Configuration Exercise 1-12 pg. 56-58 1. Austin’s router# configure terminal Austin’s router(config)#hostname AUS AUS(config)#end AUS# 2 .AUS > enable AUS # configure terminal AUS (config )# enable password class AUS > enable AUS # configure terminal AUS(config)# enable secret class 3. The enable secret password . you do not need to configure both. 4. AUS# conf t AUS (config) # line con 0 AUS(config-line) # login AUS (config-line) # password cisco AUS (config-line) # ^Z 5. AUS# conf t AUS (config) # line aux 0 AUS(config-line) #password cisco AUS(config-line) # login AUS (config-line) # ^Z 6. AUS(config)#service password-encryption 7. The enable secret command is used to provide an additional security over the enable password command. 8. AUS(config)#interface serial 0 AUS(config-if)#ip address (IP/Subnet) AUS(config-if)# no shutdown AUS(config-if)#exit 9. AUS(config)#interface fastethernet 0 Router(config-if)#ip address AUS(config-if)no shutdown 10. AUS(config)#Router rip AUS(config-router)#network 10.0.0.0 11. NVRAM AUS# copy running-config startup-config 12. AUS#show startup-config Exercise 1-2 pg. 59 1. Show interfaces 2. how ip interfaces brief 3. Show ip route 4. Router#show running-config 5. Router#show startup-config 6. Configuration in NVRAM will remain even when powered off, and RAM will hold a running configuration, which will be lost if powered off. 7. Press backspace until erase what need...

Words: 655 - Pages: 3

Free Essay

Nt1110 Analysis 1: Memory Cost

...Memory Cost By Frank Bolton Phillips NT1110 Friday 6p.m. This is to help me discover and appreciate the difference in the cost of RAM and ROM in today’s market as well as where is where it came from and where it is going. It is easy to find information on this subject as everyone seems to want in on the computer boom and profit from the ever growing demand for faster computers with huge memory. Ten years ago you would have found yourself spending over $2,000 to get just 1GB of RAM. As computer manufacturers recoup cost of R&D, the prices start to drop. Today it would only cost around $20 to purchase the same 1GB of DDR3 providing considerable savings over a decade ago. What appears to be the best deal for the money is 2GB on RAM which runs around $40 and slows enough memory to run most applications. There are other types of memory available to all of us if you’re willing to pay the price of admission. For example, some of the more exotic types of RAM can still run hundreds, even thousands of dollars. For instance, I found Super Talent 1TB STT RAID DRIVE GS RAID0 for $4,815.00 on Memory Suppliers.com. They also offer iRam 2GB (2 x 1GB) DDR2 SDRAM PC2-5300 667MHz for $119.00. I find this is a very nice web site that is easy to navigate through and find and compare the memory you’re looking for. The following table I got from Archive Builders web site. It shows the growth to cost difference for 32 years. This was determined by the increase of the density of disks...

Words: 928 - Pages: 4

Free Essay

Unit 6 Anaysis

...The difference in the cost of RAM and ROM in today’s market as well as where is where it came from and where it is going is pretty amazing. It’s easy to find information on this subject as the demand for faster computers with huge memory seems to grow and profit from this demand. Ten years ago you would have spent over $2,000 to get just 1GB of RAM. As computer manufacturers recoup cost of R&D, the prices start to drop. Today it would cost around $20 to purchase the same 1GB of DDR3 providing considerable savings over a decade ago. The best deal for the money is 2GB of RAM which costs around $40 and is enough memory to run most applications. There are other types of memory available to all of us if you’re willing to pay the price of admission. For example, some of the more exotic types of RAM can still run hundreds, even thousands of dollars. For instance, I found Super Talent 1TB STT RAID DRIVE GS RAID0 for $4,815.00 on Memory Suppliers.com. They also offer iRam 2GB (2 x 1GB) DDR2 SDRAM PC2-5300 667MHz for $119.00. I find this is a very nice web site that is easy to navigate through and find and compare the memory you’re looking for. The following table is from Archive Builders web site. It shows the growth to cost difference for 32 years. This was determined by the increase of the density of disks by 60% a year with an average decrease in price of 37.5%. The 60% increase is based on the growth predictions for MR head technology by IBM, which had increased...

Words: 798 - Pages: 4

Free Essay

Exploiting Memory Access Patterns to Improve Memory Performance in Data-Parallel Architectures

...Lecture critique et synthèse de: Exploiting Memory Access Patterns to Improve Memory Performance in Data-Parallel Architectures Jean-François Patenaude Département de génie logiciel et des technologies de l’information, École de technologie supérieure 1100 rue Notre-Dame Ouest, Montréal (Québec) H3C 1K3 Canada Abstract—On retrouve une quasi-ubiquité de GPU permettant les calculs en tout genre (GPGPU) sur le marché. Or, il y a encore peu de logiciels qui en prennent avantage. Une de ces raisons est la complexité du développement de logiciels parallèles sur les GPU. C’est en grande partie parce que la gestion de la mémoire est laissée aux soins du développeur. D’ailleurs, une mauvaise gestion de la mémoire peut impacter grandement la performance du logiciel, d’autant plus que les cartes graphiques sont optimisées pour offrir une très large bande passante de mémoire, mais avec des temps de réponse moins rapide. Un article portant sur une méthodologie qui permet de systématiser l’application de techniques d’amélioration de l’accès de la mémoire afin de garantir de bonnes performances a récemment été publié. Selon cette méthodologie, l’optimisation est alors fonction des différents patrons d’accès de la mémoire et de l’architecture sous-jacente : vectorielle comme les GPU d’AMD ou scalaire comme ceux de NVIDIA. Dans le présent article, une synthèse de la méthodologie sera présentée. Puis, une analyse suivra afin de discuter de la méthodologie et de la critiquer. Index Terms—General-purpose...

Words: 3534 - Pages: 15

Free Essay

There Are Many Types of Storage Devices

...information and upgrade your system. It is best to connect the motherboard to one cable by its self. There are two type of power supply. They are the Molex and Berg. The IEEE 1394 is supposed to replace the SCSI. It would be good to wire the computers in the office into one main tower. Video 1.08 They are two types of memory in the computer. They are the ROM and RAM. They are many different types for each type. Tropics * ROM * RAM * SRAM * DRAM * SIMM * DIMM * RIMM * SDRAM * DDR * DDR2 * ECC Terms * ROM means read only memory * RAM means random access memory * SRAM means Static random access memory * DRAM means dynamic random access memory * SIMM means single in-line memory module * DIMM means dual in-line memory module * RIMM means rambus in-line memory module * SDRAM means synchronous dynamic random access memory * DDR means double data rate * DDR2 means double data rate 2 * ECC means error-correcting code It would be helpful and useful for determine how much memory is being used and if they need more. It would also help so you know if the memory slots need to be filled or...

Words: 290 - Pages: 2

Free Essay

Multiprocessing

...anymore. Conversely, Symmetrical multiprocessing, or SMP, is where each CPU has the same access to the operating system, all resources, and memory. In this set-up, each CPU is identical (Englander, 2009). In a master-slave configuration, the master holds the memory and is the one who allocates the needed memory to the other CPU’s. The problem with this is that the master CPU becomes bottlenecked. A solution of this could be to enable direct access memory (DMA). DMA is an operation in which data is copied from one resource to another resource in a computer system without the involvement of the CPU (TechTerms, 2013). An example would be data being sent directly from an attached device, like a flash drive, directly to the memory. The microprocessor does not have to do anything, and therefore speeds up the overall computer operation. In SMP configuration, memory access could present a problem. All the memory access is posted to the same memory bus. If there are only a handful of CPU’s, this is fine. However, when there are larger numbers of CPU’s competing for access (anything over about 12), this could bottleneck and present a real problem. The solution to this is NUMA, which stands for Non-Uniform Memory Access. NUMA alleviates the bottlenecks by limiting the number of CPU’s on one memory bus. The CPU’s are set up into smaller systems called nodes. Each node has its own processors and memory, and is connected to the larger system through a high speed interconnector (Microsoft...

Words: 916 - Pages: 4

Free Essay

Error Codes

...Synchronous dynamic random access memory (SDRAM) - is dynamic random access memory (DRAM) that is synchronized with the system bus. Classic DRAM has an asynchronous interface, which means that it responds as quickly as possible to changes in control inputs. SDRAM has a synchronous interface, meaning that it waits for a clock signal before responding to control inputs and is therefore synchronized with the computer's system bus. The clock is used to drive an internal finite state machine that pipelines incoming commands. The data storage area is divided into several banks, allowing the chip to work on several memory access commands at a time, interleaved among the separate banks. This allows higher data access rates than an asynchronous DRAM. Single in-line memory module random access memory(SIMMRAM) - is a module containing one or several random access memory (RAM) chips on a small circuit board with pins that connect to the computer motherboard. Dynamic random-access memory (DRAM) - is a type of random-access memory that stores each bit of data in a separate capacitorwithin an integrated circuit. The capacitor can be either charged or discharged; these two states are taken to represent the two values of a bit, conventionally called 0 and 1. Since even "nonconducting" transistors always leak a small amount, the capacitors will slowly discharge, and the information eventually fades unless the capacitor charge is refreshed periodically. Because of this refresh requirement...

Words: 1906 - Pages: 8

Free Essay

It332

...We will take a brief in depth tour of the CPU, memory, processing, registers, bus and data moving to the bus. I will touch on these concepts and processes throughout the paper in hopes to clearly detail out how each works and their importance. CPU The first thing we will discuss is the function of the CPU (Central Processing Unit) and its components. There are three primary components that make up the CPU, these are the ALU or the arithmetic/logic unit, the control unit (CU) and memory. The two components that collectively make up the CPU are the ALU and CU. Let’s take a look at the diagram above and I will explain what it all means. The logic and arithmetic unit is where all the data is stored and calculations are performed. The control unit basically interprets and controls all executions and processes instructions that it is given by other input types. In a typical CPU there is a I/O (input-output) interface which handles the input and output of data when it passes through the CPU to other devices that handle input/output data. The CPU architecture is defined by the major features it has, this is also known as ISA or instruction set architecture. It is these basics that include the number and types of registers, methods and how it addresses memory and basic design. With the typical technology advances that occur today, there have been several CPU architectures over the last few decades but only a small handful that last a long time. It is the evolution and the way...

Words: 1127 - Pages: 5

Free Essay

Unit 5 Assignment 1 Video

...system Bus is usually measured in MHz and has limiting factors of speed. The multiplier is the ratio between processor and the System bus. The system bus speed x multiplier equals the processor speed. CPU manufactures have come up with different ways to make the CPU work faster. Two multi-processing requires multiple processors (In other words your system must be designed to support more than one CPU on a single motherboard). Dual Core Processors have been recently developed, that means incorporating multiple processors with multiple ALU’s inside a CPU. These ALU’s process their information individually. There’s two cache memory’s which are SRAM and DRAM. SRAM is also called Static RAM, it is faster and more expensive then DRAM, it holds memory without being refreshed and DRAM must be refreshed. There are three types of RAM which are L1 cache, L2 cache, and L3 cache. L1 cache is held on the processor chip itself, The L2 cache is inside the processor housing. The L3 cache is also inside the processor housing but is located further away from the processor chip than the L2 cache. There are plenty varieties of sockets into which a processor fits, but the ones we need to know are LGA775 socket is used by Intel’s Pentium 4 and Celeron processors and the...

Words: 644 - Pages: 3