Nt1310 Unit 8 Lab Report

Improved Essays
1.3.1 Measurement Overhead

In this experiment, we found the latency incurred in measuring CPU cycles. This measurement of time overhead has to be subtracted from the forthcoming experiments.

Methodology:

We have used the RDTSC – RDTSCP instruction along with CPUID (serialize the instruction pipeline). This function fetches the count of CPU clock cycles. After taking the elapsed clock cycles between two successive calls to RDTSC instruction, we can divide it by the CPU clock frequency to get the absolute time. We have run this operation for 50,000 iterations and found the minimum, maximum, average and steady point(mode). We are convinced that “Steady Point” is the best method to measure a quantity because this excludes the outliers and variations that occur in the system. An alternate method is to exclude the 5 minimum and maximum values and compute the average of the remaining values.
…show more content…
To measure the loop overhead, we have enclosed a for (j = 0; j < 1; j++) loop inside a averaging loop of 500,00 times and summarized the results.

Predictions:

Reading time includes (1) allocating register, (2) copy the clock cycles to register, (3) store in a variable (4) to and from jumps and this repeats for measuring start and end time, so twice the number of instructions. Assuming 1 clock cycle / instruction, our base hardware estimate was 5 clock cycles. So to measure start and end time, it will be 10 clock cycles.

Software estimate includes validation of asm routine, assembling instructions, protection checks and register checks. Mathematically we computed that these will add to 6 clock cycles. So to read start and end will take 12 clock cycles.

Related Documents

  • Improved Essays

    Nt1310 Unit 5 Lab Report

    • 483 Words
    • 2 Pages

    6/10/2015 Mrs Rummins | GRUJICIC, Marko Background: Another name for I/V characteristics is current-voltage. Current and voltage are the factors that are being investigated, there characteristics and effects in diodes of different colours. The Current or I in I/V characteristics refers to the flow of an electric charge.…

    • 483 Words
    • 2 Pages
    Improved Essays
  • Great Essays

    Question 1: a) A: Promoter B: Splice site C: 5’ UTR D: Start codon E: Stop codon F: 3’ UTR b) The sum of the exons and introns (all in kilobases) (1.2+8+0.7+27+0.4+11+3.1) = 51.4 kb. c) The sum of the exons (all in kilobases) (1.2+0.7+0.4+3.1) = 5.4 kb.…

    • 699 Words
    • 3 Pages
    Great Essays
  • Decent Essays

    Nt1310 Unit 2 Lab Report

    • 214 Words
    • 1 Pages

    On the way from solar cell to the solar module, the output efficiency decreases. For example when a multi-crystalline PV solar cells of 17.8% efficiency is used, the resulting efficiency of a module is around 15.9 to 16.3%. This decrease in efficiency is mainly because of three distinct losses listed below. 1. Optical losses generated by material reflectance and absorption 2.…

    • 214 Words
    • 1 Pages
    Decent Essays
  • Decent Essays

    Nt1310 Unit 5 Lab 3

    • 441 Words
    • 2 Pages

    Jonathan Desmond DCN Lab 5 Kali Kali is a live Linux distribution which can be put onto a USB and loaded directly onto a computer. Kali, having being bundled with a variety of testing tools such as Wireshark and Metasploit Framework, is utilized to assess the security of a target machine. The creator of Kali, Mati Aharoni first thought of the idea during a consultation which banned the use of external hardware as well as the stipulation that client computers could only be used if the data remained untouched. He then thought to use a live Linux distribution to assess the client’s security flaws.…

    • 441 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Pt1420 Unit 4 Lab Report

    • 1693 Words
    • 7 Pages

    * For the first one this is what I would do... okay so we have the original equation for the first one & based off that this is what I would do... I would discover f ( 2 ) by inserting x equals 2. f…

    • 1693 Words
    • 7 Pages
    Improved Essays
  • Improved Essays

    Nt1310 Unit 6 Lab

    • 1594 Words
    • 7 Pages

    My group had been given a specific task to investigate according to the lab manual1. We were employed by the Environmental Protection Agency as chemists. Our task is to identify an unknown compound that was found in a nearby landfill. In this laboratory, the unknown compound was given to us by our TA. The main goal of this experiment was to correctly identify the unknown compound.…

    • 1594 Words
    • 7 Pages
    Improved Essays
  • Improved Essays

    Nt1310 Unit 1 Case Study

    • 693 Words
    • 3 Pages

    1. The advantage of using a very large memory cell size is that the computer can store larger values in its memory cells. The disadvantage is that there would be fewer cells available. 2. This question asks how many bits are needed in the MAR with the following numbers a. 1 million bytes = 20 bits b. 10 million bytes = 24 bits c. 100 million bytes = 27 bits d. 1 billion bytes = 30 bits 3.…

    • 693 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    Nt1330 Unit 1 Lab 2

    • 458 Words
    • 2 Pages

    On January 29th, we conducted lab 2 which involved learning the basic tools of Dartfish and how to publish Dartfish videos to our own mediabook. The first step in the lab involved going to dartfish.tv and looking at the “3302 Class Resources folder and downloading the video trim file. I then opened the Dartfish software and as a class we reviewed some of the various resources in the software like the different screen options such as split screen or mosaic mode and different tools such as analyzing angle and distance of the video. I learned how to transfer the downloaded video from the computer library to the tray. It’s important to note that you can delete videos from your tray and it will still be on the computer’s library.…

    • 458 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Nt1310 Unit 1 Lab 1

    • 439 Words
    • 2 Pages

    Speed, availability, and reliability are vital for a successful network infrastructure in terms of productivity and user experience. When first configuring this lab, I had to make the decision of whether or not to use one server to run all of the services or if the load should be distributed amongst multiple machines. I decided to go with the later, having a separate server hosting the wiki, another providing monitor services, and yet another acting as the DHCP, DNS and AD controller. While the last three were not required in the scope of this lab, I wanted to set up my initial network in a scalable manner, and this was the best solution for future growth. Distributing the services across multiple machines helps to reduce the processing that each box is required to do in order to fulfill requests.…

    • 439 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    Nt1310 Unit 4 Lab 4

    • 367 Words
    • 2 Pages

    The first objective of Lab 4 is to use structure activity relationships to predict the properties of an acid and the potency of hallucinogenic compounds. The overall goal of the laboratory is to examine quantitative structure activity relationships (QSAR) in a system that is either chemical or biochemical. The lab is divided into two parts; predicting the acidity of an organic acid, and predicting the hallucinogenicity of derivatives of mescaline. The materials of this lab for both part 1 and part 2 are small training sets, which are groups of similar chemicals with known biological activity, a computer to graph the data that is recorded in the tables, the internet resource MiLogP to generate LogP data, and computational programs that will…

    • 367 Words
    • 2 Pages
    Improved Essays
  • Superior Essays

    Pt1420 Unit 5 Lab Report

    • 1875 Words
    • 8 Pages

    Lab #5: Introduction to Metasploit on Kali Linux Team: CRYPTERS 1 d. Why is it usually a bad idea to operate in the Linux environment as root? If you are unfamiliar with the concept of the root user, do a quick google search. It is always a good practice on any operating system to run your applications on a user level and leave the administrative tasks to the root user, and only on a per-need basis. Applications are meant to be run by users with non-administrative privileges.(Power December 4, 2010)…

    • 1875 Words
    • 8 Pages
    Superior Essays
  • Decent Essays

    1. Why is it a good idea to keep personal information confidential? I think it is important because when you keep it confidential you won’t get your identity stolen. 2. Summarize the components of a strong password?…

    • 74 Words
    • 1 Pages
    Decent Essays
  • Improved Essays

    Nt1310 Unit 7

    • 507 Words
    • 3 Pages

    Famanga Ngobeh Prof. Saunders Review Question Lab September 23, 2015 1. Move copies data from one memory location or register to another. The term “move” is a misnomer because data values in the source location aren’t removed. They’re tested, and copies of these values are placed in the destination location. Therefore, a move operator is really a copy operator.…

    • 507 Words
    • 3 Pages
    Improved Essays
  • Decent Essays

    · Memory: This is any computer component that has the ability to storing information or data temporary or permanently, e.g. Read And Write Memory (RAM) and Not Volatile Read And Write Memory (NVRAM). · CPU: This is the brain of the computer and is the central process unit, and it received command/instruction from the computer software and sends the instruction to the right hardware to execute the instruction, and also received the feedback from the hardware and forwards it to the software. · Storage: This is the part of the computer where information or data have been kept temporary or permanently.…

    • 363 Words
    • 2 Pages
    Decent Essays
  • Improved Essays

    Nt1310 Unit 9 Lab Report

    • 812 Words
    • 4 Pages

    1. (8pts) From these data, graph your mean arterial pressure (MAP; see formula) and heart rate (y axes) vs. workload (in METS) on the x-axis (include resting results). Using this information, answer the following questions. Show ALL work. MAP…

    • 812 Words
    • 4 Pages
    Improved Essays