红联Linux门户
Linux帮助

我的RHCE学习难题

发布时间:2007-05-13 20:18:05来源:红联作者:lazyhaha
近来在学习RHCE,有些疑问,想向大家请教!
文章评论

共有 11 条评论

  1. asan2009 于 2010-01-30 11:23:17发表:

    2倍

  2. zhujian0805 于 2007-09-09 17:56:33发表:

    你看的书是很旧的吧

  3. wenhuawh 于 2007-05-14 15:32:06发表:

    一般虚拟内存都是物理内存的2倍,所以按照它题里说的recommended

    但是也可以不设置,或者少设置,或者多设置,都可以,但是推荐是2倍。

  4. lazyhaha 于 2007-05-13 22:51:53发表:

    其实测试题的说法还是很有道理的,不过我认为RedHat Linux 9.0 x86-installation guide的说法更加权威一些。

    不过牵扯到考试,头疼的就是要猜出题人认为的最合适答案:0)1

  5. redliquid 于 2007-05-13 21:47:58发表:

    一般虚拟内存都是物理内存的2倍,所以按照它题里说的recommended

    但是也可以不设置,或者少设置,或者多设置,都可以,但是推荐是2倍。

  6. lazyhaha 于 2007-05-13 20:21:50发表:

    测试题:
    chapter 3 - installation

    4. A Windows administrator is puzzled by the amount of swap space configured and wants to know what is recommended for Linux.

    A. The same as RAM memory.
    B. 40-90MB.
    C. The same as the server uses.
    D. Two to three times the RAM.
    E. There is no recommended amount of swap space.

    书上答案是:

    D. It is recommended you have two to three times the amount of RAM, but there is no absolute here. The total amount of memory available to all programs is the sum of RAM and swap. Get as much RAM as you can. If you need more RAM but cannot afford it, your system will use swap space. However,this comes with a major hit on performance due to the slow speed of disks. If you do use swap space regularly, then you need more RAM for the system. Technically speaking, all the other answers may be right, but D is the rule of thumb most commonly used.

    问题是:

    [size=4]RedHat Linux 9.0 x86-installation guide安装指南关于swap的说法是(39页):[/size]

    A swap partition (at least 32MB) -- swap partitions are used to support virtual memory. In other words, data is written to a swap partition when there is not enough RAM to store the data your system is processing. The size of your swap partition should be equal to twice your computer's RAM, or 32MB, whichever amount is larger.

    For example, if you have 1GB of RAM or less, your swap partition should be at least equal to the amount of RAM on your system, up to two times the RAM. For more than 1GB of RAM, 2GB of swap is recommended. Creating a large swap space partition will be especially helpful if you plan to upgrade your RAM at a later time.

    而根据一般的说法是:内存等于或小于256M为内存大小的两倍,大于256M则同内存大小相同。

    不知应该如何分析这道题?
    ***************No 001***************

    [ 本帖最后由 lazyhaha 于 2007-5-14 20:21 编辑 ]