Re: OOM killer in 2.6.31-rc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 08 July 2009, Wu Fengguang wrote:
>On Wed, Jul 08, 2009 at 01:15:15PM +0800, Wu Fengguang wrote:

>> I guess you can only use 3G ram because there is a big memory hole.
>> Your HighMem zone spanned 951810 pages, 813013 of which is present.
>> So it's not quite accurate for the OOM message "951810 pages HighMem"
>> to report the spanned pages.
>>
>> Your Normal zone has 221994 present pages, while the OOM message shows
>> "slab:206505", which indicates that the OOM is caused by too much
>> slab pages(they cannot be allocated from HighMem zone).
>>
>> I guess your near 800MB slab cache is somehow under scanned.
>
>Gene, can you run .31 with this patch? When OOM happens, it will tell
>us whether the majority slab pages are reclaimable. Another way to
>find things out is to run `slabtop` when your system is moderately loaded.

Yes, as of 9:55am this patch is running, and I have a session of slabtop (and 
although it is old, it is a new one to me, so I'm not sure what a normal 
report should look like) running.

This is also without the HIGH_MEM64G, so I only have about 3.5G of ram 
showing.

There is one line early in the dmesg that needs clarified:

[    0.000000] TOM2: 0000000120000000 aka 4608M

that is more memory than is in the machine unless its somehow counting the DDR 
ram on the video card, and IIRC that is only 256megs in any event.  Swap is 
not mounted by that point, much later.

Also from this dmesg:
[    0.000000] On node 0 totalpages: 917103
[    0.000000] free_area_init_node: node 0, pgdat c13f5400, node_mem_map 
c14bf200
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 3951 pages, LIFO batch:0
[    0.000000]   Normal zone: 1744 pages used for memmap
[    0.000000]   Normal zone: 221486 pages, LIFO batch:31
[    0.000000]   HighMem zone: 5390 pages used for memmap
[    0.000000]   HighMem zone: 684500 pages, LIFO batch:31
==================
is this correct?

>From slabtop right now:
=================
Active / Total Objects (% used)    : 321146 / 349617 (91.9%)
Active / Total Slabs (% used)      : 22464 / 22483 (99.9%)
Active / Total Caches (% used)     : 101 / 163 (62.0%)
Active / Total Size (% used)       : 81250.57K / 85788.52K (94.7%)
Minimum / Average / Maximum Object : 0.01K / 0.24K / 4096.00K
=================
Humm, that is running in an x terminal, I'll start one on tty2 also.
I might have a better chance of seeing it after x dies.

FWIW, 2.6.30.1, also built w/o that 64G flag, and with the newest bios, also 
ran all night, which surprised me.  I half expected to wake up to a dead 
machine.  I have every time I installed that bios before...

Now we wait...  Thanks, Fengguang

[...]

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The NRA is offering FREE Associate memberships to anyone who wants them.
<https://www.nrahq.org/nrabonus/accept-membership.asp>

"I'd love to go out with you, but the last time I went out, I never came 
back."

--
To unsubscribe from this list: send the line "unsubscribe kernel-testers" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux