请教:为什么oracle在AIX有空闲内存的情况下使用SWAP? root@qddb2:/#topas MEMORY PAGING Real,MB 127743 Faults 37970 % Comp 68 Steals 5955 % Noncomp 4 PgspIn 0 % Client 4 PgspOut 0 PageIn 8509 PAGING SPACE PageOut 7913 Size,MB 20480 Sios 16391 % Used 42 % Free 58 root@qddb2:/#svmon -G size inuse free pin virtual mmode memory 32702448 23846870 8855578 7957381 24453829 Ded pg space 5242880 2181434 work pers clnt other pin 6977338 0 37211 942832 in use 22205531 0 1641339 PageSize PoolSize inuse pgsp pin virtual s 4 KB - 4035318 2181434 1524677 4642277 m 64 KB - 1238222 0 402044 1238222 root@qddb2:/#prtconf -m Memory Size: 127744 MB root@qddb2:/#vmo -a ame_cpus_per_pool = n/a ame_maxfree_mem = n/a ame_min_ucpool_size = n/a ame_minfree_mem = n/a ams_loan_policy = n/a enhanced_affinity_affin_time = 1 enhanced_affinity_vmpool_limit = 10 esid_allocator = 0 force_relalias_lite = 0 kernel_heap_psize = 65536 lgpg_regions = 0 lgpg_size = 0 low_ps_handling = 1 maxfree = 1088 maxperm = 3174703 maxperm为10% maxpin = 26350535 maxpin% = 80 memory_frames = 32702448 memplace_data = 0 memplace_mapped_file = 0 memplace_shm_anonymous = 0 memplace_shm_named = 0 memplace_stack = 0 memplace_text = 0 memplace_unmapped_file = 0 minfree = 960 minperm = 1587349 minperm% = 5 nokilluid = 0 npskill = 40960 npswarn = 163840 num_locks_per_semid = 1 numpsblks = 5242880 pinnable_frames = 24744326 relalias_percentage = 0 scrub = 0 v_pinshm = 0 vmm_default_pspa = 0 vmm_klock_mode = 1 wlm_memlimit_nonpg = 1 root@qddb2:/#vmstat 1 6 System configuration: lcpu=64 mem=127743MB kthr memory page faults cpu ----- ----------- ------------------------ ------------ ----------- r b avm fre re pi po fr sr cy in sy cs us sy id wa 5 4 24423874 8885766 0 0 2 5902 7860 0 13797 68834 68705 7 14 72 7 8 0 24427136 8882536 0 0 0 7418 8602 0 14937 75115 74611 8 15 70 7 6 1 24426568 8882896 0 0 0 6708 7294 0 14068 88620 66698 8 16 69 7 6 2 24429043 8880526 0 0 3 7446 10297 0 15939 71412 90144 7 13 73 7 5 2 24427132 8882575 0 0 0 12943 15599 0 18729 75637 109878 7 14 72 8 6 2 24427634 8882074 0 0 2 9351 13053 0 18752 82426 94630 13 13 67 7 root@qddb2:/#lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum hd6 hdisk1 rootvg 20480MB 42 yes yes lv 0 maxperm% =10 maxpin% = 80 通过svmon可以看出有 8855578(4k)物理内存空闲,为什么 topas中PAGING SPACE的Used为42 % ,还有大量的PageIn和PageOut呢? 请大神指教。 |