无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 22510|回复: 48
打印 上一主题 下一主题

如果内存足够大,uefi直接用primocache的读写分离来搞ramos系统是最好的!

  [复制链接]
1#
发表于 2019-5-14 19:11:43 | 显示全部楼层
应该是这个

http://www.romexsoftware.com/bbs ... 29&p=5756#p5756


  1.   -r, -ratio <r1>[,<r2>]      - Specifies that how much percentage of the cache
  2.                                 space will be dedicated to writing cache.
  3.                                 <r1> is the ratio value for the level-1 cache,
  4.                                 and <r2> is the value for the level-2 cache.
  5.                                 Possible values are numbers from 0 to 100, or
  6.                                 255 which means the whole cache space is shared
  7.                                 by reading and writing.
  8.                                 The default values are 255 (shared) for level-1
  9.                                 cache and 0 (read-only) for level-2 cache.
  10.                                 Example: -r 80,60 means that 80 of L1 cache
  11.                                 will be used for writing and 20 for reading,
  12.                                 while 60 of L2 cache will be used for writing
  13.                                 and 40 for reading.
复制代码

  1.   -x, -voladv <spec>          - By default, all volumes within a cache task
  2.                                 follow the task's cache settings. This option
  3.                                 can specify individual settings and turn off
  4.                                 some unwanted functions for each volume.
  5.                                 <spec> states a volume and its settings. It
  6.                                 has the following format, where "v" represents
  7.                                 the volume index and each "x" represents a
  8.                                 setting value which is a decimal number.
  9.                                     v-xxxx
  10.                                 The settings represented by "x", from left to
  11.                                 right, are Strategy, L2 Cache, Defer-Write and
  12.                                 Prefetch. The following table lists their
  13.                                 possible values.
  14.                                     Strategy:
  15.                                         0   Default
  16.                                         2   Read-Only
  17.                                         3   Write-Only
  18.                                     L2 Cache/Defer-Write/Prefetch:
  19.                                         0   Default
  20.                                         2   Disabled
  21.                                 (Default - Follows the cache task setting)
  22.                                 For example, "-x 4-3220" specifies individual  
  23.                                 settings for the volume #4 as below: Write-Only
  24.                                 strategy, L2 Cache disabled, Defer-Write
  25.                                 disabled, while Prefetch is not specified,
  26.                                 using the cache task setting.
  27.                                 Trailing zeros in the "xxxx" format can be
  28.                                 ignored. So above example equals to "-x 4-322".
  29.                                 Two or more <spec> are separated by ",". For
  30.                                 example, "-x 4-3220,1-0222" sets the settings
  31.                                 for the volume #4 and #1.
复制代码


点评

好久没看到了,最近uefi下的Ramos有没有新的突破?  详情 回复 发表于 2019-5-14 20:50
回复

使用道具 举报

2#
发表于 2019-5-14 19:17:30 | 显示全部楼层
本帖最后由 y7y007 于 2019-5-14 19:23 编辑
  1. Example: -r 80,60 means that 80 of L1 cache
  2.                                 will be used for writing and 20 for reading,
  3.                                 while 60 of L2 cache will be used for writing
  4.                                 and 40 for reading.
复制代码


说得很清楚了吧
-r 80,60
L1 80%用来缓写,20%用来缓读
L2 60%用来缓写,40%用来缓读

如果不缓L2的话,去掉【,数字】就可以了。



点评

谢谢指教!!!  详情 回复 发表于 2019-5-15 08:52
对对对,就是这个没错  详情 回复 发表于 2019-5-14 20:53
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-9-7 15:13

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表