linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chase Venters <chase.venters@clientec.com>
To: "scientica (GMail)" <scientica@gmail.com>
Cc: Con Kolivas <kernel@kolivas.org>,
	ck@vds.kolivas.org, linux-kernel@vger.kernel.org,
	linux-scsi@vger.kernel.org
Subject: Re: scsi cmd slab leak? (Was Re: [ck] Anyone been having OOM killer problems lately?)
Date: Thu, 19 Jan 2006 12:22:08 -0600	[thread overview]
Message-ID: <200601191222.30441.chase.venters@clientec.com> (raw)
In-Reply-To: <43CFD6D6.2040700@gmail.com>

On Thursday 19 January 2006 12:13, scientica (GMail) wrote:
> Just out of curiosity, what's the slab? and what is the expected size
> of it? I just checked mine and it seems to eat some 304596 kB
> (2.6.14-ck4, soon 68d uptime). The only problems I've had recently is
> firefox crashing more than it should (but it could simply be me having
> a billion or so windows and tabs open, and it's the
> mozilla-firefox-bin-1.5-r2 from portage which is masked ~amd64, so
> it's probably just buggy - it dies with a segfault after beeing stuck
> at 100% CPU for a while, cant see any OOM-messages anywhere), other
> than that I've been able to both emerge stuff (nice'd though),
> download stuff and burn backups DVD's with out problems -
> simultaneously - and the system was still responsive :)

The slab layer in the kernel is an algorithm that attempts to reserve a sane 
amount of memory for a given highly-used data structure in the kernel. By 
using the slab layer to keep memory reserved and ready, performance-critical 
sections of the kernel code (say, code that receives a packet) doesn't have 
to stop and succeed an allocation before continuing.

Cheers,
Chase

      reply	other threads:[~2006-01-19 18:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200601181951.16708.chase.venters@clientec.com>
     [not found] ` <200601190113.32153.chase.venters@clientec.com>
     [not found]   ` <200601191849.45002.kernel@kolivas.org>
2006-01-19  9:15     ` scsi cmd slab leak? (Was Re: [ck] Anyone been having OOM killer problems lately?) Chase Venters
2006-01-19  9:18       ` Con Kolivas
2006-01-19  9:34         ` Chase Venters
2006-01-19 18:13           ` scientica (GMail)
2006-01-19 18:22             ` Chase Venters [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601191222.30441.chase.venters@clientec.com \
    --to=chase.venters@clientec.com \
    --cc=ck@vds.kolivas.org \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=scientica@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).