HP-UX

1 page의 크기를 알고 싶습니다.

 
김태경
조언자

1 page의 크기를 알고 싶습니다.

아래 내용중 1page의 크기를 알고 싶습니다.

그리고 1 page의 크기도 변경하거나 확인 할 수 있는 방법좀 알려주심 감사 하겠습니다.



crashconf

CLASS PAGES INCLUDED IN DUMP DESCRIPTION

-------- ---------- ---------------- -------------------------------------

UNUSED 1105088 no, by default unused pages

USERPG 1356448 no, by default user process pages

BCACHE 1028226 no, by default buffer cache pages

KCODE 2524 no, by default kernel code pages

USTACK 15324 yes, by default user process stacks

FSDATA 19326 yes, by default file system metadata

KDDATA 477430 yes, by default kernel dynamic data

KSDATA 185842 yes, by default kernel static data



Total pages on system: 4190208

Total pages included in dump: 697922



DEVICE OFFSET(kB) SIZE (kB) LOGICAL VOL. NAME

------------ ---------- ---------- ------------ -------------------------

31:0x016000 314208 8388608 64:0x000002 /dev/vg00/lvol2

----------

8388608



1 응답 1
Joseph
초등학생

1 page의 크기를 알고 싶습니다.

#kmtune | grep page

하시면 page관련 커널값을 보게 됩니다..

그중에서 vps_pagesize값이 page size가 되며 단위는 Kbyte입니다.

이 커널값을 변경할 수 있겠죠..



Good day^^



* ITRC문서중..



vps_pagesize



Specify the default user-page size (in Kbytes) that is used by the

kernel if the user application does not use the chatr command to

specify a page size.

Acceptable Values:



Minimum: 4

Maximum: 65536

Default: 4



Specify integer value. For more information, see Specifying Parameter

Values.

Description

This parameter is provided as a means to minimize lost cycle time

caused by TLB (translation look-aside buffer) misses on systems using

newer PA-RISC devices such as the PA-8000 that have smaller TLBs and no

hardware TLB walker.



If a user application does not use the chatr command to specify a page

size for program text and data segments, the kernel selects a page size

that, based on system configuration and object size, appears to be

suitable. This is called transparent selection. The selected size is

then compared to the page-size value defined by vps_pagesize that is

configured at system-boot time. If the the value is smaller than

vps_pagesize, vps_pagesize is used.



For more information about how these parameters are used and how they

affect system operation when user applications specify page sizes,

refer to the whitepaper document available as a PostScript file in

/usr/share/doc/var_pages.ps.