发明名称 Method for increasing free memory amount of main memory and computer therefore
摘要 For increasing a free memory amount, a computer is provided with a main memory and a virtual memory area. Working sets having a predetermined size in a main memory are allocated to virtual address spaces. The area from which working sets are removed is a free memory area, and a cache area is set to a part of the area. During booting, a predetermined process not affecting the booting is suspended. The size of the working set of the suspended process is decreased by swapping out the memory page into the virtual memory area. As a result, the size of the free memory area increases, and along therewith, the OS increases the size of a cache area, thus enabling more boot files to be read ahead and reducing the boot time.
申请公布号 US9021243(B2) 申请公布日期 2015.04.28
申请号 US201213564521 申请日期 2012.08.01
申请人 Lenovo (Singapore) Pte. Ltd. 发明人 Itoh Hiroshi
分类号 G06F9/00;G06F9/44;G06F12/08 主分类号 G06F9/00
代理机构 Kunzler Law Group 代理人 Kunzler Law Group
主权项 1. A method for reducing boot time comprising the steps of: starting, by use of a processor, a boot of a computer with an operating system capable of reading ahead a boot file into a cache area set in a free memory area of a main memory and changing a size of the cache area according to a size of the free memory area; generating processes for loading the boot file into the main memory; allocating working sets having a predetermined size to the generated processes by the operating system; suspending a predetermined process selected out of the processes for loading the boot file; swapping out a memory page of the suspended predetermined process to decrease a size of a working set for the process, wherein the decreased working set size is a minimum working set size set by default to each process by the operating system; and increasing the size of the cache area according to the decreased working set size.
地址 Tech Park SG