Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: UCY

University of Cyprus
Dept. of Computer Science

ΕΠΛ 605: Προχωρημένη Αρχιτεκτονική Υπολογιστών

Χειμερινό 2018


Directory
EPL605 | Course Contract | Lectures & Readings | Homework | Tutorials | Labs   | Resources | What's New?


 

Θέματα Εργαστήριων

 

Week

Date

Περιγραφή

Εργασίες / ΑΝΑΓΝΩΣΜΑΤΑ

Διαφάνειες

1

6/09/2018

 

 

 

2

13/09/2018

Εισαγωγή στο UNIX και άλλα εργαλεία

Βιβλίο: Computer Architecture, 5th Edition: A Quantitative Approach

Ιστορία των UNIX/GNU/LINUX Λειτουργικών Συστημάτων

Bash and Perl Scripts.

Δικαιώματα Αρχείων.

Unix Commands: time, grep, sort, head, unique, chmod, make, gcc flags, gdb.

Editors: cat, vi, etc.

For More on the Linux Commands and useful links:

http://www.oreillynet.com/linux/cmd/

https://www.gnu.org/

https://gcc.gnu.org/onlinedocs/

https://sourceware.org/gdb/download/onlinedocs/gdb/index.html

https://www.gnu.org/software/make/manual/

https://www.gnu.org/software/bash/manual/bash.pdf

http://www.tldp.org/LDP/abs/abs-guide.pdf

http://www.tldp.org/HOWTO/pdf/Bash-Prog-Intro-HOWTO.pdf

https://www.gnu.org/software/grep/manual/

http://www.gnuplot.info/

https://godbolt.org/

 

Εργαστήριo 1

3

20/09/2018

PIN Tool και Object dump

Εισαγωγή στα εργαλεία και πειραματισμός με βασικά PINTOOLS

Εργαστήριο 2

https://software.intel.com/en-us/articles/pintool

 

4

27/09/2018

Hardware Counters and the perf Linux Tool

Χρήση του Εργαλείου perf (Linux profiling with performance counters)

Examples using 4 different version of the Matrix Multiplication Algorithm. The Effect of gcc optimizations (gcc –O0 to 4) on the system performance. Also we will go through basic Linux monitoring utilities such as top, mpstat, ps.

 

 gnuplot

Εργαστήριο 3

Lab3Files.zip

https://perf.wiki.kernel.org/index.php/Tutorial

GCC optimization Flags (https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html)

https://sourceware.org/binutils/docs/binutils/objdump.html

https://sourceware.org/gdb/current/onlinedocs/gdb/index.html#SEC_Contents

http://www.gnuplot.info/docs_4.6/gnuplot.pdf

http://www.brendangregg.com/Slides/Velocity2015_LinuxPerfTools.pdf

 

Labs CPU:

http://ark.intel.com/products/80815/Intel-Core-i5-4590-Processor-6M-Cache-up-to-3_70-GHz

https://software.intel.com/sites/default/files/managed/39/c5/325462-sdm-vol-1-2abcd-3abcd.pdf

 

 

5

4/10/2018

Λύσεις Θεωρητικών ασκήσεων (HW2) και εισαγωγή στο correlation analysis

Εργαστήριο 4

https://www.youtube.com/watch?v=DywVjSgkAR4

https://en.wikipedia.org/wiki/Correlation_coefficient

 

6

11/10/2018

Sim-Alpha Simulator

Εισαγωγή στον Sim-Alpha simulator.

Εργαστήριο 5

 

7

25/10/2018

Cache Characterization

Characterization of Cache memory using variation on Sattolo's algorithm to incrementally generate a random cyclic permutation that increases in size each time.

 

cat /proc/meminfo

cat /proc/vm

cat /sys/devices/system/cpu/cpu[01]/cache/index[0123]/*

ls -l /sys/devices/system/cpu/cpu[01]/cache/index[0123]/*

 

g++ lat.cc

taskset -c 0 ./a.out 500000

http://linuxcommand.org/man_pages/taskset1.html

(CPU affinity. CPU affinity is a scheduler property that "bonds" a process to a given set of CPUs on the system.)

 

RDTSC and RDTSCP assembly instructions.

Intel CPUs have a timestamp counter to keep track of every cycle that occurs on the CPU. Starting with the Intel Pentium® processor, the devices have included a per-core timestamp register that stores the value of the timestamp counter and that can be accessed by the RDTSC and RDTSCP assembly instructions.

Cache Characterization.

 

http://blog.stuffedcow.net/2013/01/ivb-cache-replacement/

 

http://ark.intel.com/products/80815/Intel-Core-i5-4590-Processor-6M-Cache-up-to-3_70-GHz

https://www.spec.org/cpu2006/results/res2014q3/cpu2006-20140725-30611.html

https://www.spec.org/cpu2006/results/res2014q3/cpu2006-20140725-30613.html

http://www.intel.com/content/dam/www/public/us/en/documents/datasheets/4th-gen-core-family-desktop-vol-1-datasheet.pdf

 

https://en.wikipedia.org/wiki/Time_Stamp_Counter

http://www.intel.com/content/dam/www/public/us/en/documents/white-papers/ia-32-ia-64-benchmark-code-execution-paper.pdf

 

 

11

27/03/2017

PARSEC 3.0

Princeton Application Repository for Shared-Memory Computers

The Princeton Application Repository for Shared-Memory Computers (PARSEC) is a benchmark suite composed of multithreaded programs.

Tools for Voltage frequency tuning.

 

Εργαστήριο 7 - PARSEC

Εργαστήριο 7 - Voltage Frequency Tuning

http://parsec.cs.princeton.edu/

http://parsec.cs.princeton.edu/download/tutorial/3.0/parsec-tutorial.pdf

http://parsec.cs.princeton.edu/doc/parsec-report.pdf

 

11

27/03/2017

UniServer Project

Presentation

We will go through:

X-Gene server chips architecture, voltage-noise characterization, high-bandwidth voltage measurements, sensing voltage noise through Electromagnetic emanations, dI/dt viruses, VMIN Characterization

 

Εργαστήριο 8 - UniServer

 

   


 

[EPL605]


 

 

 

 

Panagiota Nikolaou, © 2018