Google lmctfy 3.1 - Example memory.stale_page_age error
2014-01-27 09:49
393 查看
UPDATE:
It is a defect in ver0.3.0, and it is proved to be fixed in ver0.3.1.
As I assumed, that is noted here "Some kernels do not support setting stale page age, ignore in those cases."
Now let's review this error.
Command exited with error message: 5: Failed to open file "/sys/fs/cgroup/memory/memory_only/memory.stale_page_age" for hierarchy 7
After checking around the source, I found lmctfy will create a mirror directory for memory_only as memory in cgroup.
The error will appear as memory.stale_page_age which is used by CreateOnlySetup function does not exist.
It is assumed that maybe configuration for this feature is not well enabled in my kernel.
https://groups.google.com/forum/#!msg/fa.linux.kernel/ogBDV1FI2jc/hzo1UU4u_g4J
+config KSTALED
+ depends on CGROUP_MEM_RES_CTLR
+ bool "Per-cgroup idle page tracking"
+ help
+ This feature allows the kernel to report the amount of user pages
+ in a cgroup that have not been touched in a given time.
+ This information may be used to size the cgroups and/or for
+ job placement within a compute cluster.
+ See Documentation/cgroups/memory.txt for a more complete description.
--
https://lkml.org/lkml/2011/9/16/366
"
" https://lkml.org/lkml/2011/9/16/366
版权声明:欢迎交流 ,转载请注明作者及出处。自由转载-非商用-非衍生-保持署名|Creative
Commons BY-NC-ND 3.0
It is a defect in ver0.3.0, and it is proved to be fixed in ver0.3.1.
As I assumed, that is noted here "Some kernels do not support setting stale page age, ignore in those cases."
Now let's review this error.
Command exited with error message: 5: Failed to open file "/sys/fs/cgroup/memory/memory_only/memory.stale_page_age" for hierarchy 7
After checking around the source, I found lmctfy will create a mirror directory for memory_only as memory in cgroup.
The error will appear as memory.stale_page_age which is used by CreateOnlySetup function does not exist.
It is assumed that maybe configuration for this feature is not well enabled in my kernel.
https://groups.google.com/forum/#!msg/fa.linux.kernel/ogBDV1FI2jc/hzo1UU4u_g4J
+config KSTALED
+ depends on CGROUP_MEM_RES_CTLR
+ bool "Per-cgroup idle page tracking"
+ help
+ This feature allows the kernel to report the amount of user pages
+ in a cgroup that have not been touched in a given time.
+ This information may be used to size the cgroups and/or for
+ job placement within a compute cluster.
+ See Documentation/cgroups/memory.txt for a more complete description.
--
https://lkml.org/lkml/2011/9/16/366
"
+The desired idle period must first be selected on a per-cgroup basis +by writing an integer to the memory.stale_page_age file. The integer +is the interval we want pages to be idle for, expressed in scan cycles. +For example to check for pages that have been idle for 5 consecutive +scan cycles (equivalent to the idle_5_clean statistic), one would +write 5 to the memory.stale_page_age file. The default value for the +memory.stale_page_age file is 0, which disables the incremental idle +page tracking feature.
" https://lkml.org/lkml/2011/9/16/366
版权声明:欢迎交流 ,转载请注明作者及出处。自由转载-非商用-非衍生-保持署名|Creative
Commons BY-NC-ND 3.0
相关文章推荐
- Google lmctfy 3.2 - Example allocate memory in container
- Google lmctfy 3.0 - Example
- Google PageRank的计算源代码
- [导入]Google page可以注册了。
- Give hugepage memory for guests in KVM virtualization
- 使用Google Page Speed优化Web前端性能
- Android性能优化Google课程翻译一:Memory
- Google lmctfy 1.0 - Introduction
- 【CUDA】初步了解PageLocked host memory的mapped memory功能使用
- DM642使用ccs3.1时GEL的问题:GEL: Error calling OnPreFileLoaded(): memory map prevented write to target memory at 0x01800054
- JavaScript 图书翻页效果 - 20Things_PageFlip_Example
- salesforce apex + vf page + Google Chart II
- Spring3.1 web exception handling example(Updated)
- 发文庆祝,Google PageRank 升到2了,Alexa排名进入47万
- google login page
- Resident and Virtual memory on Linux: A short example
- Google PageRank专利和李彦宏超链分析专利的区别
- [原创]网站性能优化利器之一"google page speed"
- Google PageRank的计算源代码
- google搜索显示Your page is not mobile-friendly.