STORAGE / INTERNET Spring 2010 What is Booting?


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Capacity= # of cylinders * # of heads * # of sectors * 512 bytes .91 of HDD capacity (manufacturer)
  • STORAGE / INTERNET Spring 2010 What is Booting?

    1. 1. STORAGE / INTERNET Spring 2010
    2. 2. What is Booting? <ul><ul><ul><li>Cold boot Turning on computer that has been powered off </li></ul></ul></ul><ul><ul><ul><li>Warm boot Restarting computer that is powered on </li></ul></ul></ul>Warm boot from Windows desktop Warm boot from system unit <ul><ul><li>Process of starting or restarting a computer </li></ul></ul>Image: © Shelly Cashman Vermaat 2004
    3. 3. Types of Memory <ul><li>RAM ( temporary/volatile ) </li></ul><ul><ul><li>Random Access Memory (Primary Storage) </li></ul></ul><ul><ul><li>Storage for programs and data </li></ul></ul><ul><ul><li>“ Workspace” for the CPU </li></ul></ul><ul><li>ROM ( permanent/non-volatile ) </li></ul><ul><ul><li>Read Only Memory – does not change </li></ul></ul><ul><ul><li>Startup instructions for computer (“Boot”) </li></ul></ul><ul><ul><li>Or – more specialized applications like games for small computers </li></ul></ul>
    4. 4. Secondary Storage (or Storage) <ul><li>The place where software and data are kept while not in use. </li></ul><ul><li>Common types: </li></ul><ul><ul><li>Magnetic (hard drive) </li></ul></ul><ul><ul><li>Optical (CD, DVD) </li></ul></ul><ul><ul><li>Integrated Circuit (Flash memory USB sticks, Solid state drives, MP3 player) </li></ul></ul>
    5. 5. Storage - Hard Disks Step 1. Circuit board controls movement of head actuator and a small motor. Step 2. Small motor spins platters while computer is running. Step 3. When software requests a disk access, read/write heads determine current or new location of data. Step 4. Head actuator positions read/write head arms over correct location on platters to read or write data. Image: © Shelly Cashman Vermaat 2004
    6. 6. Hard Disks clearance read/write head platter hair dust smoke <ul><ul><ul><li>A smoke particle, dust particle, or human hair could render drive unusable </li></ul></ul></ul><ul><ul><ul><li>Clearance between head and platter is approximately two-millionths of an inch </li></ul></ul></ul>Image: © Shelly Cashman Vermaat 2004
    7. 7. Hard Disk Capacity Image: © Shelly Cashman Vermaat 2004 <ul><li>Hard Drive Capacity Explained </li></ul><ul><li>If 1 GB = 1,073,741,824 (2^30), then </li></ul><ul><li>46,102,659,072 bytes / 1,073,741,824 = 42.9 GB </li></ul>
    8. 8. Disks <ul><li>What are tracks and sectors ? </li></ul><ul><ul><ul><li>Formatting prepares disk for use and marks bad sectors as unusable </li></ul></ul></ul>Image: © Shelly Cashman Vermaat 2004 Track is narrow recording band that forms full circle on disk <ul><ul><li>Sector stores up to 512 bytes of data </li></ul></ul>
    9. 9. Disk Defragmenter <ul><ul><li>Reorganizes files and unused space on hard disk so programs run faster </li></ul></ul>Image: © Shelly Cashman Vermaat 2004 file before defragmenting fragmented disk file after defragmenting
    10. 10. Hard Drives <ul><li>RPM- Revolutions Per Minute </li></ul><ul><ul><li>Examples: 7200 RPM, 5400 RPM, 4200 RPM </li></ul></ul><ul><ul><ul><li>10,000 RPM </li></ul></ul></ul><ul><li>Desktop hard drives usually faster RPM than laptop </li></ul>
    11. 11. Solid State Hard Drive <ul><li>Data storage device that uses solid-state memory to store data </li></ul><ul><li>Emulates a hard disk drive </li></ul><ul><li>No moving parts, therefore less fragile and quieter </li></ul><ul><li>Solid State Drive - Wikipedia Link </li></ul><ul><li>Laptops </li></ul><ul><li>More $$$ </li></ul>
    12. 12. Other Storage Devices? <ul><li>CD / DVD </li></ul><ul><ul><li>Optical drives </li></ul></ul><ul><ul><ul><li>Laser light burns pits onto surface </li></ul></ul></ul><ul><ul><ul><li>Change in height) land to pit, pit to land) =1, land=0 </li></ul></ul></ul><ul><ul><ul><li>Single track that spirals into the center </li></ul></ul></ul><ul><ul><li>CD - 650 MB to 1 GB </li></ul></ul><ul><ul><li>DVD - 4.7 GB to 17 GB </li></ul></ul><ul><li>Flash Drives </li></ul><ul><ul><li>Flash Memory Data Storage Device </li></ul></ul><ul><ul><li>64 MB to 64 GB </li></ul></ul><ul><ul><li>Connect thru USB port </li></ul></ul>Image from Image from
    13. 13. Flash Memory <ul><li>Erasable, programmable ROM </li></ul><ul><li>EEPROM </li></ul><ul><li>Used for storage devices: </li></ul><ul><ul><li>Digital cameras </li></ul></ul><ul><ul><li>Home video game consoles </li></ul></ul><ul><li>Memory Stick, SmartMedia, CompactFlash </li></ul><ul><li>BIOS Chip </li></ul><ul><li> link </li></ul>
    14. 14. Processing… <ul><li>Fastest  Faster  Fast </li></ul>
    15. 15. Applications <ul><li>Today’s applications are LARGE in size </li></ul><ul><li>Not practical to place all of an application in memory while processing </li></ul><ul><ul><li>Multitasking </li></ul></ul><ul><li>So – what is the solution??? </li></ul>
    16. 16. Virtual Memory <ul><li>Virtual Memory – using a portion of free hard drive space as memory. </li></ul><ul><li>Large enough to hold programs and data for all currently running applications </li></ul><ul><li>Use main memory as cache for files </li></ul><ul><ul><li>Just as cache memory, itself, is temporary storage for CPU. </li></ul></ul><ul><li>Pages – blocks of hard drive space used for programs and data </li></ul>
    17. 17. Virtual Memory <ul><li>Virtual memory contains entire program and data for an application as it runs </li></ul><ul><li>RAM contains sections of the program and data recently used </li></ul><ul><li>Cache contains the most recent materials used in processing by the CPU </li></ul><ul><li>Programs and data moved on an ‘as-needed’ basis </li></ul>
    18. 18. Application Execution Progression… <ul><li>Hard Drive </li></ul><ul><li> </li></ul><ul><li>Virtual Memory on hard drive </li></ul><ul><li> </li></ul><ul><li>RAM </li></ul><ul><li> </li></ul><ul><li>Cache </li></ul><ul><li> </li></ul><ul><li>CPU/registers </li></ul>
    19. 19. Virtual Memory Step 1. The operating system transfers the least recently used data and program instructions to disk because memory is needed for other functions. Step 2. The operating system transfers data and program instructions from disk to memory when they are needed. <ul><ul><li>Portion of free hard drive space that is used as RAM </li></ul></ul>Image: © Shelly Cashman Vermaat 2004
    20. 20. How Much Memory?? <ul><li>Depends … </li></ul><ul><li>Enough to run desired programs and plan for the future </li></ul><ul><li>Applications increase in size with each new version that is released! </li></ul><ul><li>I would recommend at least : </li></ul><ul><li>2 GB – 4 GB RAM to start </li></ul><ul><li>- more if you can afford it! </li></ul>
    21. 21. Thrashing <ul><li>Constant movement of materials between disk and main memory </li></ul><ul><li>Why?? Memory too small </li></ul><ul><li>Solution: Increase RAM </li></ul>
    22. 22. Terms – Storage <ul><li>Boot (Warm/Cold) </li></ul><ul><li>Disk Defragmentation </li></ul><ul><li>Flash Memory </li></ul><ul><li>Hard Disk </li></ul><ul><li>Page </li></ul><ul><li>Permanent Storage (secondary) </li></ul><ul><li>Platter </li></ul><ul><li>RAM (temporary) </li></ul><ul><li>Read/Write Head </li></ul><ul><li>ROM </li></ul><ul><li>RPM </li></ul><ul><li>Sector </li></ul><ul><li>Storage devices </li></ul><ul><ul><li>Hard Drive, Solid State Drive, CD, DVD, Flash, etc. </li></ul></ul><ul><li>Track </li></ul><ul><li>Thrashing </li></ul><ul><li>Virtual memory </li></ul>
    23. 23. HOW DOES THE INTERNET WORK? Spring 2010
    24. 24. What is the Internet? <ul><li>The Internet involves millions of computers, connected in complex ways to a maze of local and regional networks </li></ul><ul><li>Network of Networks </li></ul><ul><li>Capital “I” in Internet </li></ul>
    25. 25. Origins of the Internet <ul><li>1969 </li></ul><ul><li>Department of Defense established experimental network connecting 4 research computers </li></ul><ul><li>Called ARPANET </li></ul><ul><li>1980s National Science Foundation involved </li></ul><ul><ul><li>Only scientific, research and academic institutions (no commercial traffic) </li></ul></ul>
    26. 26. Other Developments… <ul><li>1989 - E-mail connectivity thru CompuServe and MCI Mail (restrictions lifted) </li></ul><ul><li>1991 – move towards private sector </li></ul><ul><ul><li>Network Access Points (NAPs) </li></ul></ul><ul><ul><li>Now called Internet Exchange Points (IXPs) </li></ul></ul><ul><li>Internet Service Providers (ISPs) </li></ul><ul><ul><li>Companies that connect users to Internet </li></ul></ul><ul><ul><ul><li>Verizon, AT&T, Comcast, AOL, NetZero, etc. </li></ul></ul></ul><ul><li>Communication coordinated through national and international organizations (standards) </li></ul>
    27. 27. Connect to Internet <ul><li>Ways to connect </li></ul><ul><ul><li>Dial-up </li></ul></ul><ul><ul><li>Broadband </li></ul></ul><ul><ul><ul><li>DSL (Digital Subscriber Service) </li></ul></ul></ul><ul><ul><ul><li>Cable Modem </li></ul></ul></ul><ul><ul><ul><li>Fiber-Optic Internet (Verizon) </li></ul></ul></ul><ul><ul><ul><li>Satellite (via a dish) </li></ul></ul></ul><ul><li>ISP – Internet Service Provider </li></ul><ul><ul><li>Find one at </li></ul></ul><ul><ul><li>Individual users enter ISP through a POP (point of presence) </li></ul></ul><ul><ul><ul><li>Access Point to Internet </li></ul></ul></ul><ul><ul><ul><li>Physical location that houses servers, routers, switches, etc. </li></ul></ul></ul><ul><ul><ul><li>Bank of modems </li></ul></ul></ul><ul><ul><li>ISPs maintain multiple POPs for geographic area they serve </li></ul></ul>
    28. 28. Who Owns the Internet? <ul><li>No one company or country can be considered as owner of Internet </li></ul><ul><ul><li>Ownership shared among various entities </li></ul></ul><ul><li>Coordination: </li></ul><ul><ul><li>Internet Society (ISOC) </li></ul></ul><ul><ul><li>Internet Engineering Task Force (IETF) </li></ul></ul><ul><ul><li>Internet Architecture Board (IAB) </li></ul></ul><ul><ul><li>World Wide Web Consortium (W3C) </li></ul></ul><ul><li>In the US – </li></ul><ul><ul><li>ICANN – Internet names and port numbers </li></ul></ul>
    29. 29. ICANN
    30. 30. Difference Between Internet and Web? <ul><li>World Wide Web is just one of the services deployed on the Internet </li></ul><ul><ul><li>Subnetwork </li></ul></ul><ul><ul><li>Linked documents, use of HTML </li></ul></ul><ul><ul><li>Early 1990s – First browser (graphics with text) </li></ul></ul><ul><ul><ul><li>Mosaic -> Netscape </li></ul></ul></ul><ul><li>Other services deployed on the Internet include: </li></ul><ul><ul><li>E-mail, FTP, IM, P2P, Telnet, etc. </li></ul></ul>
    31. 31. What is Internet2?
    32. 32. Internet Address
    33. 33. Find a Web Page?
    34. 34. IP Address
    35. 35. Computers <ul><li>Static IP address </li></ul><ul><ul><li>Specified manually and entered into network tables </li></ul></ul><ul><ul><li>Permanent address </li></ul></ul><ul><ul><li>Mostly for file servers </li></ul></ul><ul><li>Dynamic IP address </li></ul><ul><ul><li>Dynamic Host Configuration Protocol (DHCP) </li></ul></ul><ul><ul><li>Ask network for an IP address when you turn it on (from a pool of available addresses) </li></ul></ul><ul><ul><ul><li>IP address changes each time computer is used </li></ul></ul></ul><ul><ul><ul><li>Mostly for Clients (users) </li></ul></ul></ul><ul><ul><ul><ul><li>My IP address at home 71.181.178.??? </li></ul></ul></ul></ul>
    36. 36. Web Browsers <ul><li>Internet Explorer, Mozilla FireFox, Netscape Navigator, Opera, Apple Safari </li></ul><ul><li>System of communicating Web documents </li></ul><ul><ul><li>Hypertext Transfer Protocol (HTTP) </li></ul></ul><ul><ul><ul><li>Protocol used to transfer Web pages </li></ul></ul></ul><ul><li>Formatting instructions called: </li></ul><ul><ul><li>HTML (Hypertext Markup Language ) </li></ul></ul>
    37. 37. HTML Tags <ul><li><html> </html> Begin/End of document </li></ul><ul><li><b> </b> Bold </li></ul><ul><li><p> </p> Paragraph </li></ul><ul><li><title> </title> Title – top of window </li></ul><ul><li><table> </table> Use in tabular form </li></ul><ul><li><ol> </ol> Ordered List </li></ul><ul><li><br> Break (new line) </li></ul><ul><li><img src=“mypicture.gif”> Image </li></ul>
    38. 38. JavaScript – for Interactivity <ul><li>Allows for local processing (on your machine) instead of on server ( server-side processing ) </li></ul><ul><li>Browser handles some processing chores before transmitting to server </li></ul><ul><li>Client-Side Processing </li></ul><ul><ul><li>Buttons, Check boxes, drop-down lists </li></ul></ul><ul><ul><li>Error-checking </li></ul></ul><ul><li>Advantage </li></ul><ul><ul><li>Faster response to user interaction </li></ul></ul><ul><li>Disadvantage </li></ul><ul><ul><li>Opens user to possible risks (exploit weakness in browser) </li></ul></ul>
    39. 39. JavaScript Example <html> <head> <script type=&quot;text/javascript&quot;> function show_confirm() { var r=confirm(&quot;Press a button&quot;); if (r==true) { document.write(&quot;You pressed OK!&quot;); } else { document.write(&quot;You pressed Cancel!&quot;); } } </script> </head> <body> <input type=&quot;button&quot; onclick=&quot;show_confirm()&quot; value=&quot;Show a confirm box&quot; /> </body> </html>
    40. 40. Terms – Internet <ul><ul><li>ABILENE (Internet2) </li></ul></ul><ul><ul><li>ARPANET (Dept of Defense) </li></ul></ul><ul><ul><li>Cable-modem </li></ul></ul><ul><ul><li>Client-side processing </li></ul></ul><ul><ul><li>Dial-up </li></ul></ul><ul><ul><li>DSL </li></ul></ul><ul><ul><li>Domain name </li></ul></ul><ul><ul><li>DHCP </li></ul></ul><ul><ul><li>Domain Name Server </li></ul></ul><ul><ul><li>Dynamic IP address </li></ul></ul><ul><ul><li>Fiber-Optic </li></ul></ul><ul><ul><li>HTML </li></ul></ul><ul><ul><li>HTTP </li></ul></ul><ul><ul><li>ICANN (2009) </li></ul></ul><ul><ul><li>ISP </li></ul></ul><ul><ul><li>IP Number / IP Address </li></ul></ul><ul><ul><li>Internet2 </li></ul></ul><ul><ul><li>JavaScript </li></ul></ul><ul><ul><li>MAC address </li></ul></ul><ul><ul><li>MAGPI </li></ul></ul><ul><ul><li>Mosaic / Netscape </li></ul></ul><ul><ul><li>National Science Foundation </li></ul></ul><ul><ul><li>POP </li></ul></ul><ul><ul><li>Satellite </li></ul></ul><ul><ul><li>Server-side processing </li></ul></ul><ul><ul><li>Static IP address </li></ul></ul><ul><ul><li>Top-level domain </li></ul></ul><ul><ul><li>WEB BROWSER </li></ul></ul><ul><ul><li>World Wide Web Consortium </li></ul></ul>