SonJuHyung / paper-works

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paper work updates

  1. page block's used percentage tracking kernel thread
  • in-use pages percentage in page block.
  • debug option
    • echo 1 > /proc/son/debug
  • can be on/off by procfs
    • echo 1 > /proc/son/scan_pbstate_enable
  • log
    • son/son_proc.c son_scan.c
    • fs/proc/internal.h
  1. reference counting kernel thread
  • per-page reference counting.
  • debug option
    • echo 1 > /proc/son/debug
  • can be on/off by procfs
    • echo 1 > /proc/son/scan_refcount_enable
  • log
    • son/son_proc.c son_scan.c
    • include/linux/mm_types.h mmzone.h page_idle.h
    • include/son/son.h
    • kernel/fork.c
    • mm/memory.c page_alloc.c
  1. obtained free paage block during compaction.
  • obtained page block during sysfs memory compaction.
  • output in ftrace ring buffer
  • log
    • mm/internal.h migrate.c compaction.c
  1. page block utilization information.
  • log page block utilization in radix tree node.
  • isolate page block which contains unmovable pages from compaction target.
  • linked list per page block utilization(BLUE, GREEN, YELLOW, RED)
  • log
    • include/linux/mm_types.h mmzone.h
    • include/son/son.h
    • son/son_scan.c
    • mm/memory.c
    • mm/page_alloc.c
  1. page block utilization monitoring by proc.
  • monitor page block utilizatino by color type in user space.
  • used seq_file interface similar to unusable free space index interface in sysfs.
  • can be seen by procfs
    • cat /proc/son/pbstat_info_show
    • cat /proc/son/pbstat_info_show_raw (to plot graph)
  • log
    • include/son/son.h
    • son/son_proc.c
  1. TODO
  • make kcompactd to act before DC.
  • make kcompactd compaction algorithm to use page block utilize information.
  • make threshold vale similar to WMARK value.

About


Languages

Language:C 95.7%Language:Assembly 1.7%Language:C++ 1.4%Language:Objective-C 0.6%Language:Makefile 0.3%Language:Perl 0.1%Language:Shell 0.1%Language:Python 0.1%Language:Yacc 0.0%Language:Lex 0.0%Language:Roff 0.0%Language:Awk 0.0%Language:R 0.0%Language:GDB 0.0%Language:UnrealScript 0.0%Language:Gherkin 0.0%Language:M4 0.0%Language:XS 0.0%Language:Perl 6 0.0%Language:Clojure 0.0%Language:sed 0.0%