zoukankan      html  css  js  c++  java
  • word size

    Computer Systems A Programmer's Perspective Second Edition

    Running throughout the system is a collection of electrical conduits called
    buses that carry bytes of information back and forth between the components. Buses
    are typically designed to transfer fixed-sized chunks of bytes known as words. The
    number of bytes in a word (the word size) is a fundamental system parameter that
    varies across systems. Most machines today have word sizes of either 4 bytes (32
    bits) or 8 bytes (64 bits). For the sake of our discussion here, we will assume a word
    size of 4 bytes, and we will assume that buses transfer only one word at a time.
     
    Every computer has a word size, indicating the nominal size of integer and pointer
    data. Since a virtual address is encoded by such a word, the most important system
    parameter determined by the word size is the maximum size of the virtual address
    space. That is, for a machine with a w-bit word size, the virtual addresses can range
    from 0 to 2w−1, giving the program access to at most 2w bytes.
    Most personal computers today have a 32-bit word size. This limits the virtual
    address space to 4 gigabytes (written 4 GB), that is, just over 4×109 bytes.
    Although this is ample space for most applications, we have reached the point where
    many large-scale scientific and database applications require larger amounts of
    storage. Consequently, high-end machines with 64-bit word sizes are becoming in-
    creasingly common as storage costs decrease. As hardware costs drop over time,
    even desktop and laptop machines will switch to 64-bit word sizes, and so we will
    consider the general case of aw-bit word size, as well as the special cases of w=32
    and w=64.
  • 相关阅读:
    个人心情闲扯贴~~
    近阶段学习感悟--大一下半学期
    HDU 1003 Max Sum 解题报告
    开始我的新园地--献给我的那些学长们
    软件公司职位简称
    Sql Server参数化查询之where in和like实现详解 [转]
    21个值得收藏的Javascript技巧
    [转]js刷新父窗体
    Oracle10g 连接 sqlserver 在server2008r2 中连接 iis7 .net4.0
    Oracle10g 连接 sqlserver hsodbc dblink 方式 非透明网关
  • 原文地址:https://www.cnblogs.com/rsapaper/p/6127844.html
Copyright © 2011-2022 走看看