From: vasya vasyaev <vasya197@yahoo.com>
To: Andrew Morton <akpm@digeo.com>
Cc: "Nakajima, Jun" <jun.nakajima@intel.com>, linux-kernel@vger.kernel.org
Subject: Re: Machine's high load when HIGHMEM is enabled
Date: Tue, 19 Nov 2002 01:29:12 -0800 (PST) [thread overview]
Message-ID: <20021119092912.39541.qmail@web20510.mail.yahoo.com> (raw)
In-Reply-To: <3DC94885.AD5B8A3B@digeo.com>
Hi again,
Let me try to explain what is this all about...
Box has 1 GB of RAM, it's running oracle database.
After some disk activity disk cache has 400 Mb, so 600
Mb is free
Oracle is tuned for using of 800 Mb of RAM for SGA (as
shared memory segment), so Oracle needs 800 Mb of RAM
to be free before it's start, right ?
So when oracle starts it can't allocate this 800 Mb
for SGA and fails to start...
Where is a problem - in kernel which can't reduce disk
cache to allow allocating of shared memory segment or
in oracle ?
BTW, free doesn't show that shared memory is in use
when oracle is started and requested shared memory
segment is allocated (and ipcs shows it).
We need to control disk cache to reduce it as much as
possible because it's not needed for oracle, much
better is to allow oracle to control the RAM
for it's use.
As to compare, on solaris we mount ufs with
"forcedirectio" mount option, which tells not to use
disk cache.
--- Andrew Morton <akpm@digeo.com> wrote:
> >
> > How can I control amount of memory used for disk
> cache
> > in recent kernels (2.4.18, 19)?
> > ("Cached:" field in `cat /proc/meminfo`)
> > I have to be sure that free memory is not used for
> > caching of disk operations (or how many of it is
> used
> > for caching)
>
> You have to use it for something else :)
>
> Sorry, Linux will only leave a few megabytes of
> memory unused,
> for emergency and interrupt-time allocations.
>
> Why is this a problem?
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
next prev parent reply other threads:[~2002-11-19 9:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-05 21:38 Machine's high load when HIGHMEM is enabled Nakajima, Jun
2002-11-06 10:14 ` vasya vasyaev
2002-11-06 16:51 ` Andrew Morton
2002-11-06 17:10 ` Dave Jones
2002-11-19 9:29 ` vasya vasyaev [this message]
2002-11-19 9:40 ` Andrew Morton
2002-11-20 1:03 ` Gerrit Huizenga
2002-11-19 15:35 ` Martin J. Bligh
-- strict thread matches above, loose matches on Subject: below --
2002-11-04 19:49 Nakajima, Jun
2002-11-05 9:08 ` vasya vasyaev
2002-11-05 21:10 ` vasya vasyaev
2002-11-03 14:17 vasya vasyaev
2002-11-03 14:32 ` Brian Gerst
2002-11-03 15:00 ` Jens Axboe
2002-11-04 0:43 ` Denis Vlasenko
2002-11-04 18:54 ` vasya vasyaev
2002-11-04 19:27 ` Andrew Morton
2002-11-05 10:36 ` vasya vasyaev
2002-11-03 15:28 ` Martin J. Bligh
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=20021119092912.39541.qmail@web20510.mail.yahoo.com \
--to=vasya197@yahoo.com \
--cc=akpm@digeo.com \
--cc=jun.nakajima@intel.com \
--cc=linux-kernel@vger.kernel.org \
/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