380 likes | 549 Views
Welcome to. —21000201— Operating Systems Time : Tues. 09:45—11:20 Thur. 09:45—11:20 Place : 3A405 Fall 2014. Today’s agenda. A brief overview of the course What is an operating system ? And-what is it not ? Administrative aspects How does this class operate ?
E N D
Welcome to —21000201— Operating Systems Time: Tues. 09:45—11:20 Thur. 09:45—11:20 Place: 3A405 Fall 2014 USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Today’s agenda • A brief overview of the course • What is an operating system? • And-what is it not ? • Administrative aspects • How does this class operate? • Interactive is important! • Ask questions! USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Quiz 0: 10 minutes • 测试目的:背景调查 • 只要交卷就得满分 • 测试内容: • 姓名、学号、院系专业、年级(大三或其它) (1) 计算机的硬件组成一般包含哪些部分? (2) P ≠ NP 是什么意思? (3) 信安专业的学生:为什么选择信安专业? 非信安专业的学生:为什么选修这门课? USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
This summer @ Alibaba • 阿里杭州西溪总部 • 技术保障部 (Ali Infrastructure Service, AIS) USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Ali’s 11.11 sales miracle 阿里技术保障部 Ali Infrastructure Service • 高可用性 • 强一致性 • 大规模 • 低成本 USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Ali’s 11.11 sales miracle Scale-out Scale-up • 2013年双11成交总额350亿元 • 2013年中国零售总额600亿元/天 • 峰值交易量15320笔/秒 USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Wiping-off IOE • I=IBM小型机 • O=Oracle数据库 • E=EMC存储设备 USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Ali’s technologies • Ali AIS的大事 • 去IOE • 登月计划 • 集团云化 • 走出杭州 • Ali的技术积累 • Server: AliRack • Operating System: YUNOS • Security: 阿里云盾 • Database: OceanBase • Data Processing: OPDS USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Homework 1 • System thinking: phoneblocks • https://www.youtube.com/watch?v=oDAw7vW7H0c • http://staff.ustc.edu.cn/~chizhang/OS/ • Questions: • What is the basic idea of phoneblocks? Why is it useful? • What is your opinion? USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Science vs. Engineering The computer industry is the only industry that is more fashion-driven than women’s fashion. ---Oracle CEO Larry Ellison USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Keep updated USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Learn from the Internet • 582 learning professionals worldwide were asked to provide their top 10 tools used for learning in 2012 / 2009 • ‘Learning tool’ is defined as any tool that you could use to create or deliver learning content/solutions for others, or a tool you use for your own personal learning • The 2012 survey compiled data from 582 learning professionals worldwide (55% working in education & 45% in non-educational organizations USTC; 21000201-OPERATING SYSTEMS
OS在信安专业课程设置中的位置 MATH ICT CS USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Prerequisites • No prerequisites other than a working knowledge of computer architecture 如果你能理解左边图的 内容,那么就表明你已 经具备学习本课程所需 的计算机体系结构方面 的知识了 USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
OS • Single user/single tasking USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
OS • Single user/multi-tasking USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
OS • Multi-user/multi-tasking USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
What you’d achieve from this course • Learn the fundamentals of operating systems • Coverage broad on most topics, deep on a few • Most important, have fun !!! Virtual Machine Interface Application Operating System Hardware Physical Machine Interface USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
What you will not learn from this course • A lot • … • Why? • There are lots of things I don’t know • The field is enormous • There are numerous inessential details • Technologies evolve super-rapidly • Fundamental design ideas are here to stay USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Course materials • Using Google and USTC’s library ! • Textbook: • William Stallings, “Operating Systems: Internals and Design Principles”, 6th Edition 中译本《操作系统 精髓与设计原理》 • Online supplements http://williamstallings.com/OS/OS6e.html • Question: need 7th edition? No • Online materials (including lecture notes): • http://staff.ustc.edu.cn/~chizhang/OS/ • Other reference books & materials: see website 广闻博见 多读多听 USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Course materials • Recommended Reading: • Operating Systems: Three Easy Pieces • http://pages.cs.wisc.edu/~remzi/OSTEP/ • Operating Systems: Principles and Practice • http://ospp.cs.washington.edu/ • Xv6, a simple Unix-like teaching operating system • http://pdos.csail.mit.edu/6.828/2012/xv6.html • 浪潮之巅,吴军,人民邮电出版社,2013年7月第二版 USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Dr. Qian’s story @ Caltech • Iris Chang, Thread of the Silkworm, Basic Books , 2008 • 中译本:蚕丝:钱学森传,中信出版社,2011 USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Teaching philosophy • 李尚志(中科大前数学系系主任)说: • 丁石孙教授讲的《交换代数》课给我留下特别深刻的印象。他讲课从来不一步一步讲证明的细节,而着重讲整体思路和想法,细节让我们自己课后去补充出来。他说:讲细节谁都听不懂、跟不上。如果你上来讲一个中学的平面几何证明题,你预先经过反复思考已经熟悉了,我预先没有思想准备,听的时候就肯定跟不上你的每一步。 • 他这种讲课方式对我现在的讲课影响也很大。我发现,凡是科研搞得好、讲课也讲得好的老师,讲课风格可能各不相同,但一个共同点都是强调主体思路,分得清哪是主干哪是枝叶。因为他们搞科研的时候就是先大体上构思了总体框架、然后再添枝加叶加以实现和完善的。 • 课堂讲授的内容与教材里的内容是互补的,尽量不是重复的!因此,课后一定要阅读指定的材料。 USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Teaching philosophy And have fun !!! ─Anonymous USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Learn more, study less • Scott Young分享了他在一年内通过观看在线教程的讲座自学完成MIT计算机科学本科课程全部4年33门课的经验 USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Learn more, study less • Scott Young’s TED Talk: How to get the finest education online? • http://tedxtalks.ted.com/video/TEDxEastsidePrep-Scott-Young-Ca ※※※※※ Finishing reading the textbook in 2 weeks! USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Learning by doing ※※※※※※※※ I will design several interesting projects for you! USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Four golden lessons • …start doing research, and pick up what I needed to know as I went along…no one knows everything, and you don’t have to. • …go for the messes—that’s where the action is. • …forgive yourself for wasting time…If you want to be creative, then you will have to get used to spending most of your time not being creative. • …learn something about the history of science, or at a minimum the history of your own branch of science. —Steven Weinberg, Nobel Prize Winner USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Learning by teaching ※※※※※※※※※ You are welcome to teach instead of me in this classroom! USTC; 21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Grading policy • Several writing assignments: 10% • 5 quizzes: 20% • Project or presentation: 30% • Final exam: 40% • I reserve the right to assign grades based on the overall performance • 课堂不点名,quiz时间会提前通知 USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Work Load • Heavy ! Start early !! • Approx. 100 pages of (light) reading per week • Several homework assignments • 1 project or presentation • to be done in groups of size ≤5 • find your partners now • 5 quizzes (closed book) • 1 final exam (closed book, one A4 cheat sheet, and calculator) USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
How to make it interesting? How to do well? • Participate: discuss, answer and ask questions • “the only stupid question is the question you don’t ask” • Give suggestions: I’ll take them seriously • Do the assigned readings and surf the web to read related things • Start early on homework assignments and projects • Make use of the TA (and occasionally me too) USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Class Schedule • Part 0: OS Introduction (1.0 weeks) • Part 1: Process Management (4.5 weeks) • Part 2: Memory Management (2.5 weeks) • Part 3: I/O Management (2.0 weeks) • Part 4: File Management (1.0 weeks) • Part 5: OS Security (2.0 weeks) • Course Review (1 weeks) • 一共15周课时,预留1周的课时作为机动 USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Our TA • Mr. 牛玉坤 • Email: xiaoniupb@163.com • Office: 西区科技实验楼西楼1702 • Office hours: Fri 19:00-21:00 • 请学习委员课后把 联系方式留给我 • 请大家在教务系统中 更新自己的联系方式 USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
When/where/how to talk to me? Algorithm 1 (to be made distributive) 1: talk to TA 2: else email me at chizhang@ustc.edu.cn 3: else use my office hours 19:00-21:00 Fri, 科技实验楼1713 4: else sneak in whenever the door is opened 5: goto 1 USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Who am I? • Dr. 张驰 • Associate Professor in EEIS Dept. • Ph.D. from University of Florida in 2011 • Thesis: Performance & Security of Wireless Networks • Winner of • Microsoft StarTrack Award, 2013 • IEEE Asia-Pacific Outstanding Young Researcher Award, 2012 • UFL Gator Engineer Award for Creativity, 2011 • My Research Lab • System Group • Wireless Group • Security Group • Theory Group USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
Last words • You will learn as much from me as I will learn from you • Welcome, again !!! USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG
After the class… • Reading: • 教材第一章:硬件知识回顾 pp.1-45 (7th Edition) • 教材第二章:操作系统概述 pp.46-104 (7th Edition) • Homework 1 • Topics: Phoneblocks • Due date: 9/4 (this Thursday) USTC-21000201-OPERATING SYSTEMS; FALL 2014; INSTRUCTOR: CHI ZHANG