Posts

Showing posts from March, 2020

Course Project Stage 1 part 2: building and timing

So after many hours of reading, help from current and past classmates, as well as help from professor, I am finally able to test xz utils on each of the machines I was given access to. Build and Install - Take the newest source code by either downloading the archive (https://tukaani.org/xz/xz-5.3.1alpha.tar.xz) or through git clone ( git clone https://git.tukaani.org/xz.git) . Both can be found in their website  https://tukaani.org/xz/ . - From within the source code folder, execute "./autogen.sh" - Outside of the source code, create another folder for the program. - From within the source code foler, use "./configure --prefix=( location for the program )" to configure the desire location for the program - Use "make install" to execute the installation Execute and Test - Since the machines should already have another "xz" installed, I would want to make sure if I am using the correct one. The machine installed version is older (5.2.4) t

Course Project Stage 1: deciding which software

Introduction I have finally entering the final stages of SPO600. At this point we (students) are to decide on a software to study upon as the final project of this course. To my understanding, this project consist of three stages: -Fine an open source software (ie. codec) and benchmark its performance on both Aarch64 and x86_64 -Identify the area of poor performance on the software and methods for improvement on both Aarch64 and x86_64 -Dive into the identified area and identify what approaches we have for improvement. Demonstrate on both Aarch64 and x86_64 Deciding on the software After many days of reading..... to be honest I still haven't fully grasp on the detailed procedures of what I have to do. I believe I lack the knowledge to execute all the task required. Since I don't feel confidence in my ability to completing the project, I believe its best to pick a software which I believe I understands. In this case, I decided on one of the file compression software.

Lab 6 continue

With the help of more than two of my classmates, results of lab 6 was produced After examining the given code, and Professor's hint and suggestion. We were able to measure the time taken to manipulate the samples on each code, by timing the full code then subtract by the timing of the code without the code of manipulating the sample. (Full code) - (Code without sample manipulating) = (code of manipulation) The following information are time required for the code of manipulation (Archie) (Archie) 2 aarchie.cdot.systems aarchie.cdot.systems vol 1 vol 1 real 7.01 real 7.402 user 7.547 user 7.611 sys -0.6 sys -0.222 vol 2 vol 2 real 12.547 real 12.614 user 12.925 user 12.964 sys -0.418 sys -0.388 vol 3 vol 3 real 4.343 real 4.266 user 4.164 user 3.943 sys

Lab 6 Introduction

Considering Lab 4 and 5 are similar to lab 3, which takes a fair amount of time to complete, I should complete lab 6 first and maybe during the following week, I can attempt to complete Lab 4 and 5. Lab 6 Algorithm Selection Lab In this lab we are given 3 c codes that does the same thing but in different methods to manipulate the codes with its samples: - Basic algorithm: Casting the samples to floating point and back again - Lookup table: Pre-calculated table - Fixed-point algorithm: Bit shifting math We are to build the codes with the given "Makefile" inside each machine (Arach64 and x86-64). Record each program with "time" command and find a way to measure performance ONLY with each of them. The point of this lab is to see each method would be the optimize way for this type of code.

Lab 3 solution

With the help of many classmates and professor, I have finally came up with the full solution to lab 3. My solution turn out to be very long even after converting it into sudo code, I wanted to shorten it or think of another solution, but since I spend too much time on it I must shift my focus on other labs. My method is function based, I wrap each section of the code in function form and call them for each situations The following are sudo codes with the attempt to short the solution Initialize settings: Set display to zero zero set 0 (LSD) to storage set 0 (MSD) to storage Loop-input: check $ff (which is user input) for +/- input compare for + input Jmp to + subroutine compare for – input Jmp to – subroutine clear $ff Infinite loop: Loop-input Check/draw: Cmp MSD with each of the 10 digites and draw based on each compared Cmp LSD with each of the 10 digites and draw based on each compared Return from subroutine ++: Cm

Return from MIA

Ok, it has been more than half a month since my list post. Why I waited so long? Well, it is completely my fault. For the past month my focus was completely on another class in the same semester as this one. I wasn't doing well in that course, so I was trying to shift my balance toward that course and end up with a poor time management result. BUT!! I have shift my attention back to this course and hopefully with the little time left in this course can I catch up with my other classmate without hitting too much penalties. Last post I mentioned that I seeked help from my professor and I was successful in filling some of my knowledge gaps. For the past few days I use my knowledge trying to fully understand some of the code examples provided for students to understand 6502 coding. Currently still in progress. I have scheduled another extra help time slot with professor in a few day, hopefully I can finish my self study of the code example and bring only questions that need