2006-09-19 21:47:26

by Dalibor Straka

[permalink] [raw]
Subject: Possible bug in ACPI

Hello,

I am often running out of memory. It looks like an ACPI code is guilty:
dast@lili:~$ grep -i acpi /proc/slabinfo
Acpi-Operand 3076 3127 64 59 1 : tunables 120 60 8 : slabdata 53 53 0
Acpi-ParseExt 16 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
Acpi-Parse 76 92 40 92 1 : tunables 120 60 8 : slabdata 1 1 0
Acpi-State 1644960 1644960 80 48 1 : tunables 120 60 8 : slabdata 34270 34270 0
Acpi-Namespace 1177 1232 32 112 1 : tunables 120 60 8 : slabdata 11 11 0
dast@lili:~$ free
Mem: 899280 892472 6808 0 82212 77936
-/+ buffers/cache: 732324 166956
Swap: 2634620 243052 2404568
dast@lili:~$ uname -a
Linux lili 2.6.18-rc7 #1 SMP Sun Sep 17 15:01:00 CEST 2006 x86_64


Actualy the Acpi-State's memory is increasing slowly in minutes:
Acpi-State 16176 16176 80 48 1 : tunables 120 60 8 : slabdata 337 337 0
Acpi-State 18816 18816 80 48 1 : tunables 120 60 8 : slabdata 392 392 0
Acpi-State 19200 19200 80 48 1 : tunables 120 60 8 : slabdata 400 400 0
Acpi-State 20160 20160 80 48 1 : tunables 120 60 8 : slabdata 420 420 0

I am not familiar with kernel sources, but i can do c pretty well.
BTW: Bios says i have 1024MB, but kernel sees 899MB :-?. The system is
pure HP nx6325. It happens with all the recent kernels .18-rc* .17.* and
debian's distribution 2.6.17-1-amd64-k8-smp.

Please Cc: to me, I read lkml only when I have a good mood.
-- Dalibor Straka


2006-09-19 22:03:24

by Jiri Slaby

[permalink] [raw]
Subject: Re: Possible bug in ACPI

Dalibor Straka wrote:
> BTW: Bios says i have 1024MB, but kernel sees 899MB :-?. The system is

And is highmem enabled?

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E

2006-09-19 22:22:51

by Dalibor Straka

[permalink] [raw]
Subject: Re: Possible bug in ACPI

On Wed, Sep 20, 2006 at 12:03:19AM +0200, Jiri Slaby wrote:
> Dalibor Straka wrote:
> >BTW: Bios says i have 1024MB, but kernel sees 899MB :-?. The system is
>
> And is highmem enabled?
>
Is it needed with Turion 64? I am missing the "High memory support"
option in Processor type and features -> ...
My .config goes as an attachement.

Thanks for your reply,
-- Dalibor Straka


Attachments:
(No filename) (380.00 B)
.config (63.01 kB)
Download all attachments

2006-09-19 23:33:49

by Andrew Morton

[permalink] [raw]
Subject: Re: Possible bug in ACPI


cc added.

On Tue, 19 Sep 2006 23:47:24 +0200
Dalibor Straka <[email protected]> wrote:

> Hello,
>
> I am often running out of memory. It looks like an ACPI code is guilty:
> dast@lili:~$ grep -i acpi /proc/slabinfo
> Acpi-Operand 3076 3127 64 59 1 : tunables 120 60 8 : slabdata 53 53 0
> Acpi-ParseExt 16 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
> Acpi-Parse 76 92 40 92 1 : tunables 120 60 8 : slabdata 1 1 0
> Acpi-State 1644960 1644960 80 48 1 : tunables 120 60 8 : slabdata 34270 34270 0
> Acpi-Namespace 1177 1232 32 112 1 : tunables 120 60 8 : slabdata 11 11 0
> dast@lili:~$ free
> Mem: 899280 892472 6808 0 82212 77936
> -/+ buffers/cache: 732324 166956
> Swap: 2634620 243052 2404568
> dast@lili:~$ uname -a
> Linux lili 2.6.18-rc7 #1 SMP Sun Sep 17 15:01:00 CEST 2006 x86_64
>
>
> Actualy the Acpi-State's memory is increasing slowly in minutes:
> Acpi-State 16176 16176 80 48 1 : tunables 120 60 8 : slabdata 337 337 0
> Acpi-State 18816 18816 80 48 1 : tunables 120 60 8 : slabdata 392 392 0
> Acpi-State 19200 19200 80 48 1 : tunables 120 60 8 : slabdata 400 400 0
> Acpi-State 20160 20160 80 48 1 : tunables 120 60 8 : slabdata 420 420 0

Yes, that is a memory leak.

> I am not familiar with kernel sources, but i can do c pretty well.
> BTW: Bios says i have 1024MB, but kernel sees 899MB :-?. The system is
> pure HP nx6325. It happens with all the recent kernels .18-rc* .17.* and
> debian's distribution 2.6.17-1-amd64-k8-smp.
>
> Please Cc: to me, I read lkml only when I have a good mood.

2006-09-20 07:07:29

by Jarek Poplawski

[permalink] [raw]
Subject: Re: Possible bug in ACPI

On 19-09-2006 23:47, Dalibor Straka wrote:
...
> Please Cc: to me, I read lkml only when I have a good mood.
> -- Dalibor Straka

How can you have a good mood if you don't read lkml?

Jarek P.

2006-09-20 09:28:19

by Tomasz Torcz

[permalink] [raw]
Subject: Re: Possible bug in ACPI

On Tue, Sep 19, 2006 at 11:47:24PM +0200, Dalibor Straka wrote:
> BTW: Bios says i have 1024MB, but kernel sees 899MB :-?. The system is
> pure HP nx6325.

Your graphic card, ATI Radeon Xpress 1150, uses up to 128MB of system
RAM as video memory.

--
Tomasz Torcz Only gods can safely risk perfection,
[email protected] it's a dangerous thing for a man. -- Alia


Attachments:
(No filename) (395.00 B)
(No filename) (229.00 B)
Download all attachments