22

week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 2: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 3: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 4: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 5: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 6: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 7: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 8: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 9: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 10: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 11: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 12: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction

System cycles as a percentage of total cycles

Page 13: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction

• Memory penalty for system instructions• Mach > Ultrix

• The number of instructions executed in virtual memory system• Mach > Ultrix

• Relative instruction cost• Mach < Ultrix

• Overhead of Mach’s IPC is responsible for a small portion of overall system overhead

Page 14: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 15: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction

• System MCPI: Ultrix < Mach

• User MCPI: Ultrix ≈ Mach

system instruction locality

Page 16: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction

• It can be measured by cache and TLB miss rate

competition between the user and system

Page 17: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction

• High MCPI -> cache is full• Difficult to be improved by the increment of

associativity

• The associativity is more helpful to Ultrix than Mach• Mach’s MCPI is higher than Ultrix

system self-interference

Page 18: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction

• Block operations incur a larger overhead for programs running on Mach than on Ultrix

block operation

Block operation type In kernel In UNIX Server

Mach Part of VM and IPC system Part of file system

Ultrix VM and file system None

Page 19: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction

• System write buffer stalls per instruction are generally higher for Mach than for Ultrix

streaming writes

Page 20: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction

page mapping strategy

Page 21: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction
Page 22: week9a - AndroBenchcsl.skku.edu/uploads/ECE5658S17/week9a.pdf · 2017. 5. 1. · workload SC d egrep yaCC gec c o press espresso lisp eqn tott fpppp doduc liv t 0m cat v Instruction