Skip to contentSkip to conversation

2.6.36-rc2 : slabtop report 10170292 size-32 objects...

DISCUSSION Paul Rolland 3 participants 5 messages Sep 1, 2010 – Sep 25, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

I was surprised to see my machine using so much swap when I couldn't find where all the memory was gone, and I checked quickly what slabtop had to say, and found that one :

OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
10172288 10171996 99% 0.03K 90824 112 363296K size-32

That makes is 10M active "size-32" entries ? but what is that ? What is using the "size-32" ? And it this normal to see that on a laptop with 4G RAM which is only running X, KDE, Compiz+emerald, +/-10 xterms and a firefox which is closed as soon as it is no more used.

Before you ask :
[root@tux proc]# zgrep SLAB /proc/config.gz
CONFIG_SLAB=y
CONFIG_SLABINFO=y
# CONFIG_DEBUG_SLAB is not set
[root@tux proc]# uptime
11:34:50 up 6 days, 20:30, 13 users, load average: 1.42, 1.35, 1.23

so that may limit the actions or informations I can collect, but any details you want, please feel free to ask.

Regards,
Paul

#1 lore raw
Quoted 20 lines · Paul Rolland

I was surprised to see my machine using so much swap when I couldn't find where all the memory was gone, and I checked quickly what slabtop had to say, and found that one :

 OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME 10172288 10171996  99%    0.03K  90824      112    363296K size-32

That makes is 10M active "size-32" entries ? but what is that ? What is using the "size-32" ? And it this normal to see that on a laptop with 4G RAM which is only running X, KDE, Compiz+emerald, +/-10 xterms and a firefox which is closed as soon as it is no more used.

Before you ask :
[root@tux proc]# zgrep SLAB /proc/config.gz
CONFIG_SLAB=y
CONFIG_SLABINFO=y
# CONFIG_DEBUG_SLAB is not set
[root@tux proc]# uptime
 11:34:50 up 6 days, 20:30, 13 users,  load average: 1.42, 1.35, 1.23

Quoted 2 lines

so that may limit the actions or informations I can collect, but any details you want, please feel free to ask.

Might be related to this:

http://kerneltrap.org/mailarchive/linux-kernel/2010/8/25/4611329

#2 lore raw

Hi Pekka,

Quoted 5 lines · On Wed, 1 Sep 2010 12:41:59 +0300 Pekka Enberg <[email protected]> wrote:
Quoted 4 lines · Paul Rolland

I was surprised to see my machine using so much swap when I couldn't find where all the memory was gone, and I checked quickly what slabtop had to say, and found that one :

Quoted 7 lines
Quoted 3 lines

 OBJS ACTIVE  USE OBJ SIZE  SLABS OBJ/SLAB CACHE SIZE NAME 10172288 10171996  99%    0.03K  90824      112    363296K size-32

Might be related to this:

http://kerneltrap.org/mailarchive/linux-kernel/2010/8/25/4611329

Yes, considering that lspci also confirms my machine has some common points with Matt's one :

[root@tux Archives]# lspci
...
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

and

[root@tux Archives]# dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
[drm] set up 31M of stolen space
fbcon: inteldrmfb (fb0) is primary device
fb0: inteldrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0 [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU idle, missed IRQ. [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU idle, missed IRQ. [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU idle, missed IRQ. [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 51 [drm:drm_edid_block_valid] *ERROR* Raw EDID:
[drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU idle, missed IRQ. [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU idle, missed IRQ. [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU idle, missed IRQ. [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU idle, missed IRQ.

Paul

#3 lore raw
Quoted 14 lines · Paul Rolland

Hi Pekka,

Quoted 9 lines · On Wed, 1 Sep 2010 12:41:59 +0300 Pekka Enberg <[email protected]> wrote:
Quoted 7 lines · Paul Rolland

I was surprised to see my machine using so much swap when I couldn't find where all the memory was gone, and I checked quickly what slabtop had to say, and found that one :

OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
10172288 10171996 99% 0.03K 90824 112 363296K size-32

Quoted 6 lines
Quoted 3 lines

Might be related to this:

http://kerneltrap.org/mailarchive/linux-kernel/2010/8/25/4611329

Yes, considering that lspci also confirms my machine has some common points with Matt's one :

For the record, I'm using a conventional 2D window manager so the leak is somewhere in that path.

Signature · 1 line
Mathematics is the supreme nostalgia of our time.
#4 lore raw

Hello,

Quoted 5 lines · On Wed, 08 Sep 2010 11:59:27 -0500 Matt Mackall <[email protected]> wrote:
Quoted 4 lines · Paul Rolland

Hi Pekka,

Quoted 2 lines

Might be related to this:

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

http://kerneltrap.org/mailarchive/linux-kernel/2010/8/25/4611329

Yes, considering that lspci also confirms my machine has some common points with Matt's one :

For the record, I'm using a conventional 2D window manager so the leak is somewhere in that path.

For the record too, I'm currently running 2.6.36-rc5, and the problem's still there...

Paul